@@ -408,9 +408,17 @@ section {
408
408
z-index : 100 ;
409
409
}
410
410
411
+ .comp-section {
412
+ height : 100vh ;
413
+ display : grid;
414
+ color : var (--secondary );
415
+ justify-content : center;
416
+ align-items : center;
417
+ text-align : center;
418
+ }
419
+
411
420
.comp-section .compcontainer .logo img {
412
- width : 250px ;
413
- margin-bottom : -25px ;
421
+ width : clamp (200px , 20vw , 250px );
414
422
}
415
423
416
424
.comp-section .compcontainer h1 ,
@@ -422,7 +430,8 @@ section {
422
430
}
423
431
424
432
.comp-section .compcontainer h1 {
425
- font-size : 7rem ;
433
+ margin-top : -25px ;
434
+ font-size : clamp (4rem , 4vw , 7rem );
426
435
text-shadow : 2px 2px 3px black, 1px 1px 2px white;
427
436
animation : lights 5s 750ms linear infinite;
428
437
}
@@ -475,15 +484,15 @@ section {
475
484
}
476
485
477
486
.comp-section .compcontainer h3 {
478
- font-weight : 300 ;
479
- font-size : 2.8 rem ;
480
- margin : 0.5 % ;
487
+ font-weight : 600 ;
488
+ font-size : clamp ( 2 rem , 3 vw , 3 rem ) ;
489
+ margin : 10 px 10 px 20 px ;
481
490
text-shadow : 2px 2px 2px black, 0.5px 0.5px 1px white;
482
491
}
483
492
484
493
.paragraph {
485
- font-size : 2rem ;
486
- width : 70 % ;
494
+ font-size : clamp ( 1.5 rem , 2 vw , 2rem ) ;
495
+ width : 80 % ;
487
496
text-align : center;
488
497
margin : auto;
489
498
padding : 10px ;
@@ -497,7 +506,7 @@ section {
497
506
498
507
.comp-section .compcontainer .started {
499
508
height : auto;
500
- font-size : 25 px ;
509
+ font-size : clamp ( 1.5 rem , 4 vw , 2.5 rem ) ;
501
510
font-weight : 600 ;
502
511
margin-top : 20px ;
503
512
padding : 10px 45px ;
@@ -988,7 +997,7 @@ footer {
988
997
text-align : center;
989
998
}
990
999
991
- /* Media Queries */
1000
+ /* Media queries for responsiveness */
992
1001
993
1002
@media (max-width : 1200px ) {
994
1003
nav ul {
@@ -1018,23 +1027,6 @@ footer {
1018
1027
}
1019
1028
}
1020
1029
1021
- @media (max-width : 1030px ) {
1022
- .comp-section {
1023
- flex-direction : column;
1024
- text-align : center;
1025
- width : auto;
1026
- height : 90vh ;
1027
- }
1028
-
1029
- .started {
1030
- height : 7vh ;
1031
- font-size : 22px ;
1032
- font-weight : 500 ;
1033
- margin-top : 19px ;
1034
- padding : 8px 40px ;
1035
- }
1036
- }
1037
-
1038
1030
@media (min-width : 925px ) and (max-width : 970px ) {
1039
1031
.navbar .nav-link {
1040
1032
font-size : 16px ;
@@ -1059,28 +1051,6 @@ footer {
1059
1051
}
1060
1052
}
1061
1053
1062
- @media (max-width : 925px ) {
1063
- .comp-section {
1064
- flex-direction : column;
1065
- text-align : center;
1066
- width : auto;
1067
- height : fit-content;
1068
- }
1069
-
1070
- .compcontainer {
1071
- border : 1px transparent;
1072
- padding-bottom : 10px ;
1073
- }
1074
-
1075
- .started {
1076
- height : 6vh ;
1077
- font-size : 20px ;
1078
- font-weight : 400 ;
1079
- margin-top : 19px ;
1080
- padding : 6px 35px ;
1081
- }
1082
- }
1083
-
1084
1054
@media (min-width : 790px ) and (max-width : 855px ) {
1085
1055
nav {
1086
1056
padding : 0 ;
@@ -1122,30 +1092,10 @@ footer {
1122
1092
}
1123
1093
1124
1094
@media (max-width : 786px ) {
1125
- .comp-section {
1126
- flex-direction : column;
1127
- text-align : center;
1128
- width : auto;
1129
- height : fit-content;
1130
- }
1131
-
1132
- .compcontainer {
1133
- border : 1px transparent;
1134
- padding-bottom : 10px ;
1135
- }
1136
-
1137
1095
# mySearch {
1138
1096
height : 6rem ;
1139
1097
width : 50rem ;
1140
1098
}
1141
-
1142
- .started {
1143
- height : 6vh ;
1144
- font-size : 20px ;
1145
- font-weight : 300 ;
1146
- margin-top : 15vh ;
1147
- padding : 8px 30px ;
1148
- }
1149
1099
}
1150
1100
1151
1101
@media (max-width : 650px ) {
@@ -1156,15 +1106,6 @@ footer {
1156
1106
}
1157
1107
1158
1108
@media (max-width : 500px ) {
1159
- .comp-section {
1160
- height : fit-content;
1161
- }
1162
-
1163
- .compcontainer {
1164
- border : 1px transparent;
1165
- padding-bottom : 0px ;
1166
- }
1167
-
1168
1109
# mySearch {
1169
1110
height : 5rem ;
1170
1111
width : 30rem ;
@@ -1335,14 +1276,6 @@ footer {
1335
1276
padding : 2px ;
1336
1277
}
1337
1278
1338
- .started {
1339
- height : 5vh ;
1340
- font-size : 20px ;
1341
- font-weight : 100 ;
1342
- margin-top : 6vh ;
1343
- padding : 5px 30px ;
1344
- }
1345
-
1346
1279
.box {
1347
1280
width : 280px !important ;
1348
1281
margin : 15px !important ;
0 commit comments