-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
1255 lines (1072 loc) · 29.2 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* Custom Scrollbar for WebKit Browsers (Chrome, Safari) */
::-webkit-scrollbar {
width: 8px;
/* Width of the vertical scrollbar */
height: 6px;
/* Height of the horizontal scrollbar */
}
::-webkit-scrollbar-track {
background: #121212;
/* Dark background of the scrollbar track */
}
::-webkit-scrollbar-thumb {
background: #f39c12;
/* Orange color for the scrollbar thumb */
border-radius: 10px;
/* Rounded corners for the scrollbar thumb */
}
::-webkit-scrollbar-thumb:hover {
background: #e67e22;
/* Darker orange on hover */
}
/* Custom Scrollbar for Firefox */
html {
scrollbar-color: #f39c12 #121212;
/* Thumb color and track color */
scrollbar-width: thin;
/* Thin scrollbar width */
}
/* Custom Scrollbar for Edge and Internet Explorer */
body {
scrollbar-color: #f39c12 #121212;
/* Thumb color and track color */
scrollbar-width: thin;
/* Thin scrollbar width */
}
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body and HTML */
html,
body {
height: 100%;
overflow-x: hidden;
/* Prevent horizontal overflow */
}
/* Body */
body {
font-family: 'Arial', sans-serif;
background-color: #121212;
/* Dark background */
color: #e0e0e0;
/* Light text color for contrast */
line-height: 1.6;
}
.social-icons {
position: fixed;
right: 20px; /* Adjust as needed */
top: 50%; /* Center vertically */
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: 30px; /* Space between icons */
}
.social-icons img {
width: 40px; /* Adjust size as needed */
height: auto; /* Maintain aspect ratio */
transition: transform 0.3s; /* Smooth hover effect */
border-radius: 10px;
}
.social-icons img:hover {
transform: scale(1.2); /* Scale up on hover */
}
/* Navbar styling */
nav {
background: #1e1e1e;
padding: 0.5rem 0; /* Adjust height */
text-align: center;
position: sticky;
top: 0;
width: 100%;
z-index: 1000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
display: flex;
justify-content: space-between;
align-items: center;
}
/* Navbar styling */
nav {
background: #1e1e1e;
padding: 0.5rem 0;
text-align: center;
position: sticky;
top: 0;
width: 100%;
z-index: 1000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center; /* Center content */
align-items: center;
}
/* Wrapper to hold logo and nav-links together */
.nav-center {
display: flex;
justify-content: center;
align-items: center;
}
/* Logo styling inside the center */
.logo {
margin-right: 30px; /* Add spacing between logo and nav-links */
}
.logo img {
width: 50px;
height: auto;
}
/* Flexbox layout for navbar links */
.nav-links {
list-style: none;
padding: 0;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
}
.nav-links li {
margin: 0 20px;
}
/* Nav links styling */
.nav-links li a {
color: #e0e0e0;
text-decoration: none;
font-weight: bold;
transition: color 0.3s;
font-size: 1rem;
}
.nav-links li a:hover {
color: #f39c12;
}
/* Hamburger menu */
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
}
.hamburger .bar {
width: 28px;
height: 2px;
background-color: #fff;
margin: 4px 0;
transition: all 0.3s ease;
}
/* Hero Section */
.hero {
height: 100vh;
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero-bg.jpg') no-repeat center center/cover;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.hero-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.hero-image {
width: 100%;
max-width: 300px;
/* Set a maximum width */
height: 300px;
/* Set a fixed height to match width for a circular shape */
border-radius: 50%;
/* Make the image circular */
object-fit: cover;
/* Ensure the image covers the circle area */
display: block;
}
.hero h1 {
font-size: 2.5rem;
margin-top: 1rem;
color: #f39c12;
/* Amber text */
}
.hero p {
font-size: 1.3rem;
margin-bottom: 2rem;
color: #e0e0e0;
/* Light text color */
}
.hero .btn {
padding: 10px 30px;
background: #3ea7ee; /* Bright blue button */
color: #fff;
border: none;
cursor: pointer;
text-decoration: none;
font-size: 1rem;
font-weight: bold;
border-radius: 8px;
box-shadow: 4px 4px 8px rgba(180, 180, 180, 0.5); /* Adding shadow */
}
.hero .btn:hover {
background: #007acc;
/* Darker blue for hover effect */
}
/* Button styles */
.btn {
display: inline-block;
padding: 10px 20px;
margin: 10px 5px;
background-color: #32cd32; /* Custom green shade */
color: white;
text-decoration: none;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s;
}
/* Section Styling */
section {
padding: 4rem 1rem;
text-align: center;
}
section h2 {
margin-bottom: 2rem;
font-size: 2.5rem;
color: #3ea7ee;
/* Bright blue heading */
}
section p {
margin-bottom: 2rem;
}
/* About Section */
#about {
display: flex;
flex-direction: column;
align-items: center;
height: auto; /* Allow height to adjust based on content */
background-color: #1c1f26; /* Dark background for contrast */
padding: 3rem 2rem; /* Increased padding for spacing */
}
/* About Me Heading Outside the Box */
#about h3 {
text-align: center;
font-size: 2.5rem; /* Slightly larger heading */
color: #3ea7ee; /* Amber color for heading */
margin: 1rem 0 2rem 0; /* Space around heading */
}
/* About Content Wrapper */
.about-content {
display: flex;
flex-direction: row; /* Row for larger screens */
align-items: center;
justify-content: space-between; /* Spacing between text and image */
max-width: 1200px;
width: 100%;
background-color: #2a2d36; /* Slightly lighter dark background */
border-radius: 15px;
padding: 3rem; /* Increased padding for more spacing inside the box */
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}
/* About Text */
.about-text {
max-width: 600px;
margin-right: 2rem; /* Space between text and image */
color: #e0e0e0; /* Light text for dark theme */
text-align: justify;
}
/* Paragraph Styling */
.about-text p {
font-size: 1.2rem;
line-height: 1.6; /* Better readability */
margin-bottom: 1.5rem; /* Add space between paragraphs */
}
/* Profile Image */
.about-image .profile-image {
width: 250px;
height: 250px;
border-radius: 50%;
object-fit: cover;
border: 4px solid #f39c12;
margin-right: 70px; /* Adjust the value as needed */
}
/* Education Section */
.education-grid {
display: flex;
flex-wrap: wrap;
gap: 2rem;
justify-content: center;
margin-top: 2rem;
}
.education-box {
background-color: #1c1f26;
/* Dark background */
color: #f0f0f0;
padding: 2rem;
width: 320px;
border-radius: 12px;
text-align: center;
position: relative;
box-shadow: 0 4px 12px rgba(97, 97, 97, 0.5);
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
.education-box:hover {
transform: translateY(-12px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}
.education-logo {
width: 80px;
height: auto;
margin-bottom: 1rem;
}
.education-box h4 {
font-size: 18px;
color: #3ea7ee;
/* Bright blue heading */
margin-bottom: 1rem;
}
.education-box .name {
font-size: 20px;
font-weight: bold;
margin-bottom: 1.5rem;
}
.education-box:hover .hover-info {
opacity: 1;
transform: translateY(0);
}
.hover-info {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.85);
display: flex;
flex-direction: column;
justify-content: center;
align-items: left;
border-radius: 12px;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.4s ease, transform 0.4s ease;
}
.hover-info .my-edu {
font-size: 1.1rem;
font-weight: bold;
color: #f39c12;
/* Amber text for hover content */
margin-bottom: 0.2rem;
}
/* Spacing between hover text and actual data */
.hover-info p+p {
margin-left: 5px;
font-weight: 550;
display: inline-block;
}
/* Skills Section */
.skills-grid {
gap: 25px;
display: grid;
grid-template-columns: repeat(3, 1fr); /* 3 columns of equal width */
grid-template-rows: repeat(2, auto); /* 2 rows of auto height */
justify-items: center; /* Center items in each grid cell */
align-items: center; /* Vertically center items in each grid cell */
}
.skill {
margin: 0;
perspective: 1000px; /* Creates 3D space for the flip */
display: flex; /* Ensure flexbox is used for centering */
justify-content: center; /* Center the flip card */
align-items: center; /* Center the flip card */
}
.flip-card {
width: 300px;
height: 350px;
cursor: pointer;
}
.language-list {
list-style-type: '- ';
/* Dashes as bullet points */
padding: 0;
/* Removes padding */
text-align: left;
/* Centers the list items */
}
.language-item {
font-size: 16px;
/* Adjust font size as needed */
margin: 5px 0;
/* Adds some space between items */
}
.flip-card {
width: 300px;
height: 350px;
cursor: pointer;
}
.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 1s;
transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}
.flip-card-front h3 {
color: #3ea7ee;
}
.flip-card-front,
.flip-card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
border: 2px solid #f39c12;
/* Amber border */
border-radius: 10px;
}
.flip-card-front {
background-color: #1c1c1c;
/* Dark background */
color: white;
}
.flip-card-back {
transform: rotateY(180deg);
color: white;
padding: 20px;
}
.language {
display: flex;
align-items: center;
/* Align logos and bars vertically */
justify-content: space-between;
width: 100%;
margin-bottom: 1rem;
}
.language-logo {
width: 40px;
/* Adjust size as needed */
height: auto;
margin-right: 1rem;
}
.bar-container {
flex-grow: 1;
/* Make bar container take up remaining space */
background-color: #ddd;
border-radius: 10px;
margin-left: 1rem;
/* Spacing between logo and bar */
height: 20px;
/* Ensure the height matches the bar */
}
.bar {
height: 100%;
/* Make the bar fill the container height */
background-color: #db8700;
border-radius: 10px;
text-align: right;
padding-right: 10px;
color: #ffffff;
font-weight: bolder;
line-height: 20px;
/* Vertical alignment of text */
}
/* Projects Section */
#projects {
padding: 60px 0;
background-color: #1c1917; /* Dark background */
color: #e0e0e0; /* Light text color */
text-align: center;
}
#projects h2 {
font-size: 2.5rem;
color: #3ea7ee; /* Accent color for the section heading */
margin-bottom: 40px;
}
.project-cards {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 50px;
}
.card {
background-color: #2a2622; /* Slightly lighter dark background for the card */
border-radius: 10px;
padding: 20px;
width: 300px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}
.project-image {
width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 15px;
}
.card h3 {
font-size: 1.3rem;
color: #f39c12; /* Accent color for project titles */
margin-bottom: 10px;
}
.card p {
color: #e0e0e0;
font-size: 0.9rem;
margin-bottom: 15px;
text-align: justify;
}
.card-buttons {
display: flex;
justify-content: space-between;
}
.button {
text-decoration: none;
padding: 8px 14px;
border-radius: 5px;
}
.demo-button {
background: linear-gradient(45deg, #3ea7ee, #008be7); /* Gradient background */
color: #ffffff; /* White text color */
font-weight: bold;
font-size: 14px;
padding: 10px 20px;
border: none;
display: inline-block;
line-height: 1.5em;
vertical-align: middle;
border-radius: 8px;
box-sizing: border-box;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover transition */
}
.demo-button:hover {
background: linear-gradient(45deg, #008be7, #005bb5); /* Darker gradient on hover */
transform: scale(1.1); /* Slightly larger scaling on hover */
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
}
.github-button {
background-color: #000000; /* Custom green shade */
color: #ffffff;
}
.github-button:hover {
transform: scale(1.1); /* Optional: slightly increase size on hover */
transition: transform 0.3s ease;
}
.github-button i {
font-size: 1.5rem; /* Adjust size as needed */
}
.github-button i:hover {
transform: scale(1.2); /* Optional: slightly increase size on hover */
transition: transform 0.3s ease;
}
/* My Designs Section */
#designs {
text-align: center;
margin: 40px 0;
}
#designs h2 {
font-size: 2.5rem;
color: #3ea7ee;
margin-bottom: 40px;
}
/* Gallery layout */
.design-gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 40px; /* Add some more spacing */
}
.design-item {
width: 380px; /* Slightly larger width for better viewing */
height: 440px; /* Fixed height for all boxes */
padding: 20px;
border: 1px solid #ddd;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border-radius: 10px;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-between; /* Evenly space content */
align-items: center;
}
.design-item:hover {
transform: scale(1.04); /* Enhance hover effect */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.design-item img {
width: 100%;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
transition: transform 0.3s ease;
flex-shrink: 0; /* Prevent image from shrinking */
}
.design-title {
font-size: 1.2rem;
color: #3ea7ee;
margin: 15px 0 5px;
font-weight: bold;
}
.description {
font-size: 0.95rem;
color: #666;
margin-bottom: 15px;
padding: 0 10px;
flex-grow: 1; /* Ensure description expands to fill remaining space */
}
.figma-link {
display: block;
margin-bottom: 15px;
text-align: center;
}
.figma-button {
background-color: #f39c12;
border: none;
padding: 10px 20px;
font-size: 1rem;
color: #fff;
font-weight: bold;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.figma-button:hover {
background-color: #e67e22;
}
/* Styling the poster section */
.poster-gallery {
display: flex;
justify-content: center; /* Align posters in the center */
flex-wrap: wrap; /* Allow wrapping to fit different screen sizes */
gap: 30px; /* Space between posters */
margin-top: 30px; /* Space above the posters section */
padding: 0 20px; /* Add padding for better spacing on smaller screens */
}
.poster {
width: 350px; /* Size of each poster */
height: auto; /* Maintain aspect ratio */ /* Smooth corners for a modern look */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
cursor: pointer;
}
.poster:hover {
transform: scale(1.05); /* Slight scaling on hover */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}
#designs h3 {
font-size: 1.8rem; /* Subheading size */
color: #3ea7ee;
margin-top: 50px; /* Color to match the design palette */
margin-bottom: 40px; /* Space between heading and posters */
font-weight: bold; /* Make the subheading more prominent */
}
/* Styling the logo section */
.poster-gallery {
display: flex;
justify-content: center; /* Align logos in the center */
flex-wrap: wrap; /* Allow logos to wrap on smaller screens */
gap: 20px; /* Space between logos */
margin-top: 20px; /* Space above the logos section */
padding: 0 15px; /* Padding for responsiveness on smaller screens */
}
.my-logo {
width: 200px; /* Set the width for small, round logos */
height: 200px; /* Ensure height matches width for a perfect circle */
border-radius: 50%; /* Make the logos round */
object-fit: cover; /* Ensure the logo maintains its aspect ratio inside the circle */
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow effect */
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
cursor: pointer;
margin: 0 40px;
}
.my-logo:hover {
transform: scale(1.1); /* Slightly enlarge on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow effect on hover */
}
/* Lightbox styles */
.lightbox {
display: none;
position: fixed;
z-index: 999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8); /* Dark background */
justify-content: center;
align-items: center;
overflow: hidden; /* Ensure the lightbox doesn’t overflow the screen */
}
.lightbox-content {
max-width: 50%; /* Set the max size of the image to 50% of screen width */
max-height: 80%; /* Make sure it doesn't exceed 80% of screen height */
border-radius: 8px;
object-fit: contain; /* Ensure the image scales down proportionally */
}
.lightbox .close {
position: absolute;
top: 50px;
right: 30px;
color: white;
font-size: 40px;
font-weight: bold;
cursor: pointer;
}
.lightbox .close:hover {
color: #ccc;
}
/* Ensure images have a pointer cursor to indicate they are clickable */
.poster, .my-logo {
cursor: pointer;
}
/* Add a transition effect for smoother opening */
.lightbox-content {
transition: transform 0.2s ease-in-out;
}
/* Contact Section */
form {
max-width: 600px;
margin: 0 auto;
}
form input,
form textarea {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #444;
border-radius: 5px;
background-color: #1e1e1e;
/* Dark input background */
color: #e0e0e0;
/* Light text color */
box-sizing: border-box;
/* Ensure padding and border are included in width */
}
form textarea {
resize: vertical;
/* Allow vertical resizing only */
}
form .butn {
background: #c07600;
color: #fff;
padding: 10px 20px;
border: none;
cursor: pointer;
font-weight: bold;
border-radius: 8px;
}
form .butn:hover {
background: #f39c12;
}
/* Footer */
footer {
text-align: center;
padding: 20px;
background-color: #1c1c1c;
color: #fff;
}
footer h3 {
font-size: 1.1rem; /* Adjust font size */
color: #3ea7ee; /* Text color */
margin-bottom: 10px; /* Space below the heading */
text-align: center; /* Center align the text */
letter-spacing: 1px; /* Increase letter spacing */
font-weight: bold; /* Make text bold */
}
footer .text{
margin-bottom: 0;
}
.contact-info {
color: #ffffff; /* White text for readability */
padding: 10px; /* Increased padding for a spacious feel */
display: flex; /* Flexbox for better alignment */
flex-direction: column; /* Stack items vertically */
align-items: center; /* Center items */
}
.contact-info p {
margin: 8px 0; /* Space between paragraphs */
font-size: 18px; /* Comfortable font size */
font-family: 'Arial', sans-serif; /* Clean font */
}
.contact-info a {
color: #e67e22; /* Custom green shade */
text-decoration: none; /* Remove underline */
transition: color 0.3s ease; /* Smooth color change on hover */
}
.contact-info a:hover {
color: #fff; /* Change color on hover */
text-shadow: 0 0 5px #e67e22; /* Glow effect on hover */
}
.contact-info i {
margin-right: 8px; /* Space between icon and text */
font-size: 20px; /* Increased icon size */
}
.social-links {
display: flex;
justify-content: center; /* Centers the icons horizontally */
gap: 25px; /* Adds consistent spacing between icons */
margin-bottom: 15px;
}
.social-links a {
color: #fff;
font-size: 2rem; /* Increased font size for larger icons */
position: relative;
transition: transform 0.3s ease; /* Smooth transition for scaling */
text-decoration: none;
}
/* Scale up the icon on hover */
.social-links a:hover {
transform: scale(1.2); /* Scale up the icon */
color: #3ea7ee; /* Default hover color */
}
/* Custom hover colors for each social platform */
.social-links a:nth-child(1):hover {
color: #1877f2; /* Facebook Blue */
}
.social-links a:nth-child(2):hover {
color: #e1306c; /* Instagram Red */
background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.social-links a:nth-child(3):hover {
color: #0a66c2; /* LinkedIn Blue */
}
.social-links a.github-icon {
display: inline-block; /* Allows padding and margins to be applied */
}
.social-links a.github-icon::before {
content: ''; /* Create a pseudo-element */
position: absolute;
top: 48%; /* Center it vertically */
left: 50%; /* Center it horizontally */
width: 30px; /* Set a fixed width */
height: 30px; /* Set a fixed height */
background-color: #000000; /* Black background */
border-radius: 50%; /* Make it a circle */
opacity: 0; /* Start transparent */
transition: opacity 0.3s ease; /* Smooth transition for opacity */
transform: translate(-50%, -50%); /* Move it to center */
z-index: 0; /* Behind the icon */
}
.social-links a.github-icon:hover::before {
opacity: 1; /* Show black circle on hover */
}
.social-links a.github-icon i {
color: #fff; /* White icon color */
position: relative; /* Position relative to layer above the circle */
z-index: 1; /* Ensure the icon is above the circle */
}
.social-links a:nth-child(5):hover {
color: #9e0084; /* Custom color for the Discord icon */
}
.social-links h3 {
text-align: center; /* Center the heading */
margin-bottom: 10px; /* Space below the heading */
font-size: 1.2rem; /* Adjust font size */