31
31
max-width : 1200px ;
32
32
margin : 0 auto;
33
33
width : 90% ;
34
- max-width : 1200px ;
35
- margin : 0 auto;
36
34
padding : 0 1rem ;
37
35
}
38
36
@@ -142,16 +140,17 @@ body {
142
140
}
143
141
144
142
.search-button {
145
- background-color : # 007bff ;
143
+ background-color : var ( --primary-color ) ;
146
144
color : white;
147
145
border : none;
148
146
padding : 10px ;
149
147
border-radius : 4px ;
150
148
cursor : pointer;
149
+ transition : background-color 0.3s ease;
151
150
}
152
151
153
152
.search-button : hover {
154
- background-color : # 0056b3 ; /* Darker shade for hover effect */
153
+ background-color : # 686969 ;
155
154
}
156
155
157
156
/* Theme Switcher Css */
@@ -179,7 +178,7 @@ body {
179
178
}
180
179
181
180
# theme-toggle : hover {
182
- background-color : var ( --secondary-color ) ;
181
+ background-color : # 686969 ;
183
182
}
184
183
185
184
# theme-toggle svg {
@@ -278,26 +277,78 @@ body {
278
277
/* Hero Section Css */
279
278
280
279
.hero {
281
- background-size : cover;
282
- background-position : center;
280
+ position : relative;
283
281
height : 100vh ;
284
282
display : flex;
285
- align-items : center;
286
283
justify-content : center;
284
+ align-items : center;
287
285
text-align : center;
288
- color : # fff ;
289
- position : relative;
290
- background : linear-gradient (135deg , rgba (74 , 144 , 226 , 0.8 ), rgba (231 , 76 , 60 , 0.8 ));
291
286
}
292
287
293
288
.hero-content {
294
- max-width : min ( 800 px , 90 % ) ;
295
- padding : 2 rem ;
296
- background-color : rgba ( 0 , 0 , 0 , 0.5 ) ;
289
+ max-width : 1000 px ;
290
+ width : 90 % ;
291
+ padding : 1 rem ;
297
292
border-radius : 10px ;
298
293
backdrop-filter : blur (10px );
299
294
}
300
295
296
+ .highlight-text {
297
+ font-size : clamp (6rem , 12vw , 10rem );
298
+ font-weight : 800 ;
299
+ color : transparent;
300
+ background-clip : text;
301
+ -webkit-background-clip : text;
302
+ background-size : cover;
303
+ background-repeat : no-repeat;
304
+ background-position : center;
305
+ margin : 0 auto;
306
+ white-space : nowrap;
307
+ overflow : visible;
308
+ text-align : center;
309
+ text-shadow : 3px 3px 6px rgba (0 , 0 , 0 , 0.3 );
310
+ line-height : 1.1 ;
311
+ animation : changeBackground 10s infinite;
312
+ position : relative;
313
+ z-index : 1 ;
314
+ padding : 0 ;
315
+ width : 100% ;
316
+ display : block;
317
+ }
318
+
319
+ @keyframes changeBackground {
320
+
321
+ 0% ,
322
+ 16.66% {
323
+ background-image : url ('assets/images/text-backgrounds/image1.png' );
324
+ }
325
+
326
+ 16 .67%,
327
+ 33.33% {
328
+ background-image : url ('assets/images/text-backgrounds/image2.png' );
329
+ }
330
+
331
+ 33 .34%,
332
+ 49.99% {
333
+ background-image : url ('assets/images/text-backgrounds/image3.png' );
334
+ }
335
+
336
+ 50% ,
337
+ 66.66% {
338
+ background-image : url ('assets/images/text-backgrounds/image4.png' );
339
+ }
340
+
341
+ 66 .67%,
342
+ 83.33% {
343
+ background-image : url ('assets/images/text-backgrounds/image5.png' );
344
+ }
345
+
346
+ 83.34%,
347
+ 100% {
348
+ background-image : url ('assets/images/text-backgrounds/image6.png' );
349
+ }
350
+ }
351
+
301
352
.hero h1 {
302
353
font-size : clamp (2rem , 5vw , 3.5rem );
303
354
margin-bottom : 1rem ;
@@ -306,25 +357,33 @@ body {
306
357
307
358
.hero p {
308
359
font-size : clamp (1rem , 3vw , 1.2rem );
309
- max-width : 600px ;
310
- margin : 0 auto 2rem ;
360
+ max-width : 800px ;
361
+ margin : 0 auto;
362
+ font-weight : 600 ;
363
+ text-shadow : none;
364
+ line-height : 1.3 ;
365
+ margin-top : 40px ;
366
+ margin-bottom : 40px ;
311
367
}
312
368
313
369
.explore-button {
314
370
display : inline-block;
315
- background-color : var (--secondary-color );
316
371
color : # fff ;
317
372
padding : 1rem 2.5rem ;
373
+ font-weight : 600 ;
374
+ color : # fff ;
375
+ background-color : var (--primary-color );
318
376
border-radius : 50px ;
319
377
text-decoration : none;
320
- font-weight : 600 ;
321
378
transition : all 0.3s ease;
322
379
text-transform : uppercase;
323
380
letter-spacing : 1px ;
381
+ box-shadow : 0 4px 6px rgba (0 , 0 , 0 , 0.1 );
382
+ margin-top : 20px ;
324
383
}
325
384
326
385
.explore-button : hover {
327
- background-color : # e67e22 ;
386
+ background-color : # 686969 ;
328
387
transform : translateY (-3px );
329
388
box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.2 );
330
389
}
@@ -363,7 +422,6 @@ body {
363
422
364
423
.events {
365
424
padding : 6rem 0 ;
366
- background-color : rgba (243 , 238 , 238 , 0.616 );
367
425
}
368
426
369
427
.section-title {
@@ -379,7 +437,7 @@ body {
379
437
display : block;
380
438
width : 50px ;
381
439
height : 3px ;
382
- background-color : var (--accent -color );
440
+ background-color : var (--primary -color );
383
441
margin : 1rem auto 0 ;
384
442
}
385
443
@@ -422,7 +480,7 @@ body {
422
480
}
423
481
424
482
.event-title {
425
- font-size : 1.2 rem ;
483
+ font-size : 1.3 rem ;
426
484
margin-bottom : 0.5rem ;
427
485
color : var (--primary-color );
428
486
}
@@ -447,7 +505,7 @@ body {
447
505
}
448
506
449
507
.event-description {
450
- font-size : 0.95 rem ;
508
+ font-size : 1 rem ;
451
509
margin-bottom : 1rem ;
452
510
}
453
511
@@ -492,7 +550,7 @@ footer {
492
550
/* Dark mode Css */
493
551
494
552
body .dark-mode {
495
- --background-color : # 181818 ;
553
+ --background-color : # 2c2c2c ;
496
554
--text-color : # f4f4f4 ;
497
555
--light-text-color : # bbbbbb ;
498
556
}
@@ -501,10 +559,6 @@ body.dark-mode .navbar {
501
559
background-color : rgba (24 , 24 , 24 , 0.9 );
502
560
}
503
561
504
- body .dark-mode .footer {
505
- background-color : # 181818 ;
506
- }
507
-
508
562
/* Dark mode toggle button Css */
509
563
510
564
# dark-mode-toggle {
@@ -522,20 +576,16 @@ body.dark-mode .footer {
522
576
}
523
577
524
578
# dark-mode-toggle : hover {
525
- background-color : var ( --secondary-color ) ;
579
+ background-color : # 686969 ;
526
580
}
527
581
528
582
# dark-mode-toggle i {
529
583
color : # fff ;
530
584
font-size : 20px ;
531
585
}
532
586
533
- .dark-mode .events {
534
- background-color : # 2a2a2a ;
535
- }
536
-
537
587
.dark-mode .navbar {
538
- background-color : # 2a2a2a !important ; /* Dark gray background */
588
+ background-color : # 000000 !important ;
539
589
transition : background-color 0.3s ease;
540
590
}
541
591
@@ -547,14 +597,8 @@ body.dark-mode .nav-links a:hover {
547
597
color : var (--primary-color );
548
598
}
549
599
550
- .event-description {
551
- font-size : 0.95rem ;
552
- margin-bottom : 1rem ;
553
- color : var (--text-color );
554
- }
555
-
556
600
body .dark-mode .event-card {
557
- background-color : # 333 ;
601
+ background-color : # 000000 ;
558
602
color : # f4f4f4 ;
559
603
}
560
604
@@ -619,6 +663,10 @@ body.dark-mode .event-date,
619
663
.theme-options .active {
620
664
transform : translateX (50% ) translateY (0 );
621
665
}
666
+
667
+ .highlight-text {
668
+ font-size : 11vw ;
669
+ }
622
670
}
623
671
624
672
@media (max-width : 480px ) {
0 commit comments