1212
1313body {
1414 font-family : "sans" ;
15+ margin : 0 ;
16+ padding : 0 ;
1517}
1618
1719/* Preloader */
18- # loading {
20+ # loading {
1921 position : fixed;
2022 width : 100% ;
2123 height : 100vh ;
2628
2729/* Dark Mode */
2830body .dark-mode {
29- background-color : # 111 ;
31+ background-color : black ;
3032 color : # eee ;
3133}
3234
@@ -57,7 +59,7 @@ body.light-mode input {
5759}
5860
5961body .light-mode {
60- background-color : # eee ;
62+ background-color : white ;
6163 color : # 111 ;
6264}
6365
156158 float : left;
157159}
158160
159- i {
161+ i {
160162 color : white;
161163 float : right;
162164 font-size : 30px ;
@@ -194,11 +196,17 @@ a:visited {
194196 transition : transform .3s ease-in-out 0s ;
195197}
196198
199+ .item {
200+ border-radius : 10px ;
201+
202+ }
203+
197204.item : hover {
198205 transform : scale3d (1.05 , 1.05 , 1 );
199206 /* border: 1px solid #ffffff; */
200207 filter : drop-shadow (10px );
201208 filter : contrast (110% );
209+ background-color : # 684756
202210}
203211
204212.item h4 {
@@ -207,9 +215,10 @@ a:visited {
207215}
208216
209217.main {
218+ padding : 20px ;
210219 width : 90vw ;
211220 display : grid;
212- grid-template-columns : repeat (auto-fit, minmax (320 px , 1fr ));
221+ grid-template-columns : repeat (auto-fit, minmax (400 px , 1fr ));
213222 grid-gap : 24px ;
214223 row-gap : 24px ;
215224 margin : auto;
@@ -275,21 +284,128 @@ footer a:visited {
275284}
276285
277286input {
278- border-radius : 3 rem ;
287+ border-radius : 25 px ;
279288 padding : 10px ;
280289 width : 15% ;
281290 position : absolute;
282291 top : 6.5% ;
283292 right : 7% ;
284293 background : transparent;
294+ border : 1px solid white
285295}
286296
287- @media (max-width : 1000px ) {
288- input {
289- position : relative;
297+ header {
298+ background-color : # 333 ;
299+ color : # fff ;
300+ padding : 20px ;
301+ text-align : center;
302+ }
303+
304+ @media (min-width : 600px ) {
305+ header {
306+ display : flex;
307+ justify-content : space-between;
290308 align-items : center;
291- margin-bottom : 3% ;
292- left : 35% ;
293- width : 25%
294309 }
295310}
311+
312+ @media (max-width : 599px ) {
313+ header {
314+ text-align : left;
315+ }
316+ }
317+
318+ @media (max-width : 510px ) {
319+ header {
320+ text-align : left;
321+ }
322+
323+ .item {
324+ width : 400px ;
325+ }
326+ }
327+
328+ @media (max-width : 470px ) {
329+ header {
330+ text-align : left;
331+ }
332+
333+ .item {
334+ width : 350px ;
335+
336+ }
337+ }
338+
339+ @media (max-width : 398px ) {
340+ header {
341+ text-align : left;
342+ }
343+
344+ .item {
345+ width : 300px ;
346+
347+ }
348+ }
349+
350+ @media (max-width : 346px ) {
351+ header {
352+ text-align : left;
353+ }
354+
355+ .item {
356+ width : 250px ;
357+
358+ }
359+ }
360+
361+ @media (max-width : 295px ) {
362+ header {
363+ text-align : left;
364+ }
365+
366+ .item {
367+ width : 200px ;
368+
369+ }
370+ }
371+
372+ @media (max-width : 238px ) {
373+ header {
374+ text-align : left;
375+ }
376+
377+ .item {
378+ width : 150px ;
379+
380+ }
381+ }
382+
383+ @media (max-width : 102 ) {
384+ .size {
385+ font-size : 20px ;
386+ }
387+ }
388+
389+ @media (min-width : 400px ) {
390+ h1 {
391+ font-size : 1.3rem ;
392+ }
393+ }
394+
395+ @media (min-width : 600px ) {
396+ h1 {
397+ font-size : 1.6rem ;
398+ }
399+ }
400+
401+ @media (min-width : 800px ) {
402+ h1 {
403+ font-size : 1.9rem ;
404+ }
405+ }
406+
407+ @media (min-width : 1000px ) {
408+ h1 {
409+ font-size : 2.2rem ;
410+ }
411+ }
0 commit comments