-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path3d.css
More file actions
1807 lines (1601 loc) · 45.2 KB
/
3d.css
File metadata and controls
1807 lines (1601 loc) · 45.2 KB
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
/*
================================================================================
INDEX.CSS - PORTFOLIO STYLES
================================================================================
This file contains all the custom CSS for the portfolio.
Tailwind handles most of the layout and colors in index.html, but custom
animations, glowing elements, and specific glassmorphism effects are kept here.
*/
/* Google Fonts import for Roboto and Orbitron */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Roboto:wght@300;400;500;700;900&display=swap');
/* Font utility classes */
.font-orbitron {
font-family: 'Orbitron', sans-serif;
}
/*
--------------------------------------------------------------------------------
BLUR ORB — Atmospheric background glow blobs
Used by Education, Achievements, Contact sections for ambient depth.
--------------------------------------------------------------------------------
*/
.blur-orb {
position: absolute;
border-radius: 9999px;
filter: blur(80px);
pointer-events: none;
z-index: 0;
}
/*
--------------------------------------------------------------------------------
1. KEYFRAME ANIMATIONS
--------------------------------------------------------------------------------
These dictate how the scrolling skills banners move infinitely across the screen.
*/
/* Scrolls content LEFT — JS sets --scroll-amount to exactly one set's width */
@keyframes marquee {
0% { transform: translateX(0); }
100% { transform: translateX(var(--scroll-amount, -50%)); }
}
/* Scrolls content RIGHT — JS sets --scroll-amount, animation-direction: reverse does the flip */
@keyframes marquee-reverse {
0% { transform: translateX(var(--scroll-amount, -50%)); }
100% { transform: translateX(0); }
}
@keyframes pulse-glow {
0%, 100% {
box-shadow: 0 0 20px rgba(249, 115, 22, 0.2), inset 0 0 20px rgba(249, 115, 22, 0.2);
border-color: rgba(249, 115, 22, 0.8);
}
50% {
box-shadow: 0 0 60px rgba(249, 115, 22, 0.8), inset 0 0 60px rgba(249, 115, 22, 0.8);
border-color: rgba(253, 186, 116, 1);
}
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
/* Galaxy orbital ring keyframes - all CSS-only for performance safety */
@keyframes galaxy-cw {
from { transform: translate(-50%, -50%) rotate(0deg); }
to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes galaxy-ccw {
from { transform: translate(-50%, -50%) rotate(0deg); }
to { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes galaxy-cw-tilt {
from { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(0deg); }
to { transform: translate(-50%, -50%) rotateX(55deg) rotateZ(360deg); }
}
@keyframes galaxy-ccw-tilt {
from { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
to { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-360deg); }
}
@keyframes galaxy-shimmer {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
/* Orbital ring base class */
.galaxy-ring {
position: absolute;
top: 50%; left: 50%;
border-radius: 50%;
pointer-events: none;
}
/*
--------------------------------------------------------------------------------
2. CUSTOM CLASSES
--------------------------------------------------------------------------------
*/
/* Blinking cursor for typing animation */
.animate-blink {
animation: blink 1s step-end infinite;
color: #f97316; /* Orange to match the avatar ring */
margin-left: 2px;
}
/* RGB gradient text animation */
@keyframes textRgb {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.animate-text-rgb {
background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
background-size: 200% auto;
color: transparent;
-webkit-background-clip: text;
background-clip: text;
animation: textRgb 3s linear infinite;
}
/* Glow animation for the orange avatar ring */
.animate-pulse-glow {
animation: pulse-glow 3s infinite ease-in-out;
}
/*
================================================================================
CIRCULAR ORBIT SYSTEM
================================================================================
The container is relative, the javascript builds orbit-nodes which are animated around the center.
*/
#orbit-stage {
/* Perspective for slightly 3d feel */
perspective: 1000px;
}
/* Base class for the orbiting element */
.orbit-node-single {
position: absolute;
top: 50%;
left: 50%;
width: 80px;
height: 80px;
margin-top: -40px;
margin-left: -40px;
/* Z-index below the image layer */
z-index: 5;
/* Hardware acceleration */
will-change: transform, opacity;
}
.orbit-icon-img-single {
width: 100%;
height: 100%;
object-fit: contain;
position: absolute;
top: 0; left: 0;
}
/*
--------------------------------------------------------------------------------
6. MARQUEE / ICON SCROLL TRACK
--------------------------------------------------------------------------------
Row 1 scrolls LEFT. Row 2 scrolls RIGHT.
The .marquee-inner holds ALL items (first half + duplicate second half)
and animates the whole block as one unit — no glitches, no half-circle effect.
NO hover-pause — animation runs continuously at all times.
*/
/* The transparent window for our icons */
.marquee-track {
width: 100%;
padding: 2.5rem 0; /* large vertical padding ensures the giant auras don't clip against parent bounding boxes */
margin: -1.5rem 0; /* visually stagger the rows closer while preserving their aura bounds */
}
/* The moving inner belt containing all icon items */
.marquee-inner {
display: flex;
gap: 0; /* Gap is applied per-item via margin-right so the 50% midpoint is exact */
width: max-content;
}
/* Staggered continuous scroll speeds for a fluid cosmic drift effect */
.scroll-left-1 {
animation: marquee 50s linear infinite;
}
.scroll-right-1 {
animation: marquee-reverse 65s linear infinite;
}
.scroll-left-2 {
animation: marquee 45s linear infinite;
}
.scroll-right-2 {
animation: marquee-reverse 75s linear infinite;
}
/* Each individual icon pill with clear background and hover glow scaling */
.icon-item {
display: flex;
align-items: center;
justify-content: center;
padding: 0.5rem 1rem; /* breathing room */
background: transparent; /* removed white background */
flex-shrink: 0;
white-space: nowrap;
/* Use margin-right instead of gap so the 50% translate always meets perfectly */
margin-right: 8rem; /* increased spacing for glowing icons */
transition: transform 0.3s ease;
}
.icon-item:hover {
transform: translateY(-5px) scale(1.15);
}
@keyframes subtle-float {
0% { transform: translateY(-4px) scale(var(--icon-scale, 1)); }
100% { transform: translateY(4px) scale(var(--icon-scale, 1)); }
}
/* Increased icon size */
.icon-item img {
height: 4.5rem;
width: auto;
max-width: 4.5rem; /* Ensure square-ish bounding box */
object-fit: contain;
display: block;
margin: 0 1rem; /* Extra outer spacing for glow effects to not bleed */
opacity: var(--icon-opacity, 1);
transform: scale(var(--icon-scale, 1));
}
/* Forward scrolling animation for the skills row */
.animate-marquee {
display: flex;
width: max-content;
animation: marquee 40s linear infinite;
}
/* Backward scrolling animation for the skills row */
.animate-marquee-reverse {
display: flex;
width: max-content;
animation: marquee-reverse 40s linear infinite;
}
/*
--------------------------------------------------------------------------------
7. 3D WORKSTATION ANIMATION
--------------------------------------------------------------------------------
*/
@keyframes pc-float {
0%, 100% {
transform: translateY(0) rotateY(0deg);
}
50% {
transform: translateY(-20px) rotateY(-2deg);
}
}
.animate-pc-float {
animation: pc-float 8s ease-in-out infinite;
/* transition for smooth mouse parallax applied via JS */
transition: transform 0.2s ease-out;
}
/* General Body styling to ensure proper fonts and prevent horizontal scrolling */
body {
font-family: 'Roboto', sans-serif;
background-color: #02040a;
position: relative;
overflow-x: hidden;
}
/* Headings use Roboto bold for a clean, professional look */
h1, h2 {
font-family: 'Roboto', sans-serif;
}
/* h3 and smaller headings */
h3, .font-display {
font-family: 'Roboto', sans-serif;
}
/* All paragraph text */
p {
font-family: 'Roboto', sans-serif;
}
/* Creates the fading edges on the left and right sides of the scrolling skills banner */
.mask-fade {
/* Edit the percentages (15% and 85%) to change how wide the fade gradient is */
mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
/*
--------------------------------------------------------------------------------
3. BACKGROUND & GLOW EFFECTS
--------------------------------------------------------------------------------
*/
/* The outer container holding the nebula glow and stars behind everything */
.nebula-container {
position: fixed;
inset: 0;
z-index: -10;
/* Adjust the RGBA values to change the color of the background glows */
background: radial-gradient(circle at 20% 30%, rgba(30, 58, 138, 0.18) 0%, transparent 45%),
radial-gradient(circle at 80% 70%, rgba(67, 56, 202, 0.12) 0%, transparent 55%),
radial-gradient(circle at 50% 50%, rgba(8, 145, 178, 0.08) 0%, transparent 65%);
background-color: #02040a;
}
/* The complex dot-matrix starfield background */
.stars {
position: absolute;
width: 100%;
height: 100%;
/* Edit the colors, sizes (1px etc), and opacity to change the look of the stars */
background-image:
radial-gradient(1px 1px at 10% 10%, white, transparent),
radial-gradient(1.5px 1.5px at 20% 35%, rgba(255,255,255,0.8), transparent),
radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.6), transparent),
radial-gradient(2px 2px at 45% 15%, rgba(255,255,255,0.7), transparent),
radial-gradient(1px 1px at 60% 80%, rgba(255,255,255,0.5), transparent),
radial-gradient(1.5px 1.5px at 75% 25%, rgba(255,255,255,0.8), transparent),
radial-gradient(1px 1px at 85% 55%, rgba(255,255,255,0.4), transparent),
radial-gradient(2px 2px at 95% 90%, rgba(255,255,255,0.6), transparent),
radial-gradient(1px 1px at 5% 95%, rgba(255,255,255,0.7), transparent),
radial-gradient(1.5px 1.5px at 50% 5%, rgba(255,255,255,0.5), transparent);
background-size: 1000px 1000px;
opacity: 0.25;
}
/* Massive blurry blobs of color placed behind specific elements for atmosphere */
.blur-orb {
position: absolute;
border-radius: 50%;
/* Edit this value to make the orb more solid (e.g. 50px) or more blurry (e.g. 150px) */
filter: blur(100px);
z-index: -1;
opacity: 0.3;
}
/*
--------------------------------------------------------------------------------
4. GLASSMORPHISM CARDS
--------------------------------------------------------------------------------
These styles are applied automatically to the Project and Research cards.
*/
.glass-card {
/* 15% opacity dark blue base */
background: rgba(15, 23, 42, 0.15);
/* The core blurring effect that makes it look like frosted glass */
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(0, 200, 255, 0.2);
box-shadow: 0 0 15px rgba(0, 200, 255, 0.1);
}
/* Changes that occur when you hover over a card */
.glass-card:hover {
/* Becomes slightly less transparent */
background: rgba(15, 23, 42, 0.25);
/* Border changes to a subtle primary blue/cyan color */
border: 1px solid rgba(6, 182, 212, 0.2);
/* Slides the card upwards by 4 pixels */
transform: translateY(-4px);
}
.about-card {
--theme-rgb: 0, 200, 255; /* Default cyan fallback */
position: relative;
padding: 32px;
border-radius: 24px;
background: radial-gradient(circle at 20% 20%, rgba(var(--theme-rgb), 0.08), transparent 60%), rgba(10, 20, 40, 0.45);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border: 1px solid rgba(0, 200, 255, 0.2);
transition: all 0.3s ease;
box-shadow:
0 15px 35px rgba(0,0,0,0.6),
0 0 15px rgba(var(--theme-rgb), 0.05); /* Lowered base glow */
}
/* Moving light reflection feeling on the glass border */
.about-card::before, .edu-card::before, .achieve-card::before {
content: "";
position: absolute;
inset: -1px;
border-radius: 24px;
background: linear-gradient(120deg, transparent, rgba(var(--theme-rgb), 0.25), transparent);
opacity: 0;
transition: opacity 0.35s ease;
pointer-events: none;
z-index: 0;
}
/* Activate hover glow */
.about-card:hover::before, .edu-card:hover::before, .achieve-card:hover::before {
opacity: 1;
}
/* Floating Depth on Hover */
.about-card:hover {
transform: translateY(-4px); /* Much gentler hover */
box-shadow: 0 10px 20px rgba(0,0,0,0.4), 0 0 40px rgba(var(--theme-rgb), 0.1); /* Dramatically reduced hover glow */
}
/* Optional: Subtle Icon Glow */
.about-card svg, .about-card .material-symbols-outlined {
filter: drop-shadow(0 0 6px rgba(var(--theme-rgb), 0.6));
}
/*
--------------------------------------------------------------------------------
RGB ROTATING BORDER EFFECT (For all cards)
--------------------------------------------------------------------------------
*/
@property --bg-angle {
syntax: '<angle>';
inherits: false;
initial-value: 0deg;
}
@keyframes spin-rgb-border {
0% { --bg-angle: 0deg; }
100% { --bg-angle: 360deg; }
}
.about-card::after, .glass-card::after {
content: "";
position: absolute;
inset: -1px;
border-radius: inherit;
padding: 1.5px;
background: conic-gradient(
from var(--bg-angle),
#ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000
);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
z-index: -1;
pointer-events: none;
opacity: 0.45; /* +10% border visibility */
animation: spin-rgb-border 4s linear infinite;
}
.about-card:hover::after, .glass-card:hover::after {
opacity: 0.7;
animation: spin-rgb-border 2.5s linear infinite;
}
/*
--------------------------------------------------------------------------------
EDUCATION CARD GLOWING BORDER EFFECT (Navy Blue)
--------------------------------------------------------------------------------
*/
.edu-card::after {
content: "";
position: absolute;
inset: -1px;
border-radius: inherit;
padding: 1.5px;
background: conic-gradient(
from var(--bg-angle),
rgba(30, 58, 138, 0.1), /* Dim Navy */
rgba(30, 64, 175, 0.9), /* Solid Navy */
rgba(17, 24, 39, 0.6), /* Dark */
rgba(30, 64, 175, 0.9), /* Solid Navy */
rgba(30, 58, 138, 0.1) /* Dim Navy */
);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
z-index: -1;
pointer-events: none;
opacity: 0.9; /* +10% border visibility */
animation: spin-rgb-border 4s linear infinite;
}
.edu-card:hover::after {
opacity: 1;
animation: spin-rgb-border 2.5s linear infinite;
}
/*
--------------------------------------------------------------------------------
ACHIEVEMENT CARD GLOWING BORDER EFFECT (Dim Purple)
--------------------------------------------------------------------------------
*/
.achieve-card::after {
content: "";
position: absolute;
inset: -1px;
border-radius: inherit;
padding: 1.5px;
background: conic-gradient(
from var(--bg-angle),
rgba(124, 58, 237, 0.05), /* Very Dim Purple */
rgba(124, 58, 237, 0.5), /* Dim Purple */
rgba(76, 29, 149, 0.3), /* Deep Dark Purple */
rgba(124, 58, 237, 0.5), /* Dim Purple */
rgba(124, 58, 237, 0.05) /* Very Dim Purple */
);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
z-index: -1;
pointer-events: none;
opacity: 0.6;
animation: spin-rgb-border 5s linear infinite; /* Slightly slower */
}
.achieve-card:hover::after {
opacity: 0.85;
animation: spin-rgb-border 3s linear infinite;
}
/*
--------------------------------------------------------------------------------
SKILL CARD GLOWING BORDER EFFECT (Elite Cyan)
--------------------------------------------------------------------------------
*/
.skill-card {
position: relative;
/* Ensure z-index allows border behind content */
z-index: 1;
}
.skill-card::after {
content: "";
position: absolute;
inset: -1px;
border-radius: inherit;
padding: 1.5px;
background: conic-gradient(
from var(--bg-angle),
rgba(6, 182, 212, 0.1), /* Faded Cyan */
rgba(6, 182, 212, 0.8), /* Vibrant Cyan */
rgba(10, 20, 60, 0.5), /* Deep Blue */
rgba(6, 182, 212, 0.8), /* Vibrant Cyan */
rgba(6, 182, 212, 0.1) /* Faded Cyan */
);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
z-index: -1;
pointer-events: none;
opacity: 0.6;
animation: spin-rgb-border 4s linear infinite;
}
.skill-card:hover::after {
opacity: 1;
animation: spin-rgb-border 2s linear infinite;
}
/*
--------------------------------------------------------------------------------
GRID NETWORK CONNECTORS (Gap spanning animations)
--------------------------------------------------------------------------------
*/
.path-line-y {
position: absolute;
width: 3px;
height: 1.5rem; /* Matches gap-6 (24px) precisely */
background: rgba(var(--theme-rgb), 0.25);
z-index: 10;
overflow: hidden;
border-radius: 3px;
}
.path-line-x {
position: absolute;
height: 3px;
width: 1.5rem; /* Matches gap-6 (24px) precisely */
background: rgba(var(--theme-rgb), 0.25);
z-index: 10;
overflow: hidden;
border-radius: 3px;
}
.path-dot-y {
position: absolute;
top: -100%;
left: 0;
width: 100%;
height: 30%;
background: linear-gradient(to bottom, transparent, rgba(var(--theme-rgb), 0.8), #fff);
filter: drop-shadow(0 0 12px rgb(var(--theme-rgb))) drop-shadow(0 0 4px #fff);
animation: flow-y 3s infinite linear;
border-radius: 4px;
}
.path-dot-x {
position: absolute;
left: -100%;
top: 0;
height: 100%;
width: 30%;
background: linear-gradient(to right, transparent, rgba(var(--theme-rgb), 0.8), #fff);
filter: drop-shadow(0 0 12px rgb(var(--theme-rgb))) drop-shadow(0 0 4px #fff);
animation: flow-x 3s infinite linear;
border-radius: 4px;
}
@keyframes flow-y {
0% { transform: translateY(0); opacity: 0; }
15% { opacity: 1; }
85% { opacity: 1; }
100% { transform: translateY(200%); opacity: 0; }
}
@keyframes flow-x {
0% { transform: translateX(0); opacity: 0; }
15% { opacity: 1; }
85% { opacity: 1; }
100% { transform: translateX(200%); opacity: 0; }
}
/* Specific connector absolute positioning relative to their parent cards */
.connect-foundation-systems {
bottom: -1.5rem;
left: 4.5rem; /* Drops down from left side of Foundation */
}
.connect-foundation-algorithms {
right: -1.5rem;
top: 50%;
transform: translateY(-50%); /* Crosses right to Algorithms */
}
.connect-algorithms-ecosystems {
bottom: -1.5rem;
left: 4.5rem; /* Drops down to Tech Ecosystems */
}
.connect-systems-ecosystems {
right: -1.5rem;
top: 50%;
transform: translateY(-50%); /* Crosses right from Systems */
}
.connect-systems-research {
bottom: -1.5rem;
left: 4.5rem; /* Drops down from Systems to Research */
}
.connect-ecosystems-research {
bottom: -1.5rem;
right: 4.5rem; /* Drops down from right side of Tech Ecosystems */
}
.connect-research-vision {
bottom: -1.5rem;
left: 50%; /* Drops down from Research to Vision directly in middle */
transform: translateX(-50%);
}
/*
--------------------------------------------------------------------------------
SIDEBAR DIVIDERS
--------------------------------------------------------------------------------
*/
.highlights-divider {
height: 1px;
background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.4), transparent);
margin: 18px 0;
}
/*
--------------------------------------------------------------------------------
5. NAVIGATION LINKS
--------------------------------------------------------------------------------
These styles handle the RGB underline and upward pop effect when hovering
over the top navigation bar links.
*/
.nav-link {
position: relative;
font-size: 0.875rem; /* text-sm equivalent */
font-weight: 500;
color: #94a3b8; /* text-slate-400 */
transition: all 0.3s ease;
padding-bottom: 0.25rem;
display: inline-block;
}
.nav-link:hover {
color: white;
/* Pushes the text up slightly */
transform: translateY(-3px);
}
/* The hidden RGB underline */
.nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
/* RGB Gradient */
background: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ff0000);
background-size: 200% 100%;
/* Initially hidden by scaling it to 0 */
transform: scaleX(0);
transform-origin: right;
transition: transform 0.3s ease;
border-radius: 2px;
}
/* When hovering on the link, make the border appear and animate */
.nav-link:hover::after {
transform: scaleX(1);
transform-origin: left;
animation: rgbSlide 2s linear infinite;
}
/* Keyframes to smoothly move the RGB gradient across the underline */
@keyframes rgbSlide {
0% { background-position: 100% 0; }
100% { background-position: -100% 0; }
}
/*
--------------------------------------------------------------------------------
FADE UP ANIMATION ON SCROLL
--------------------------------------------------------------------------------
*/
.fade-up {
opacity: 0;
}
.fade-up.show {
animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeUpAnim {
0% {
opacity: 0;
transform: translateY(40px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/*
--------------------------------------------------------------------------------
SKILLS SECTION ENHANCEMENTS
--------------------------------------------------------------------------------
*/
.skills-section {
padding-bottom: 80px;
}
.title-glow {
text-shadow: 0 0 30px rgba(0, 200, 255, 0.8), 0 0 60px rgba(0, 200, 255, 0.4); /* Stronger glow to pop more */
}
.skill-advanced {
opacity: 1;
}
.skill-intermediate {
opacity: 0.8;
}
.skill-beginner {
opacity: 0.5;
}
/*
--------------------------------------------------------------------------------
SKILLS GRID — HOVER LIFT & BLUR SIBLINGS
When any card is hovered, siblings dim + blur; the hovered card lifts forward.
--------------------------------------------------------------------------------
*/
/* Base: all cards are positioned so z-index stacking works */
.skills-row .skill-card {
position: relative;
transition:
opacity 0.3s ease,
filter 0.3s ease,
transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
box-shadow 0.35s ease;
will-change: transform, box-shadow;
}
/* All Cards: dim + blur when a card in the *section* is hovered */
.skills-section:has(.skill-card:hover) .skill-card:not(:hover) {
opacity: 0.4;
filter: blur(2px) saturate(0.5);
transform: scale(0.97);
}
/* The hovered card — rises off the screen */
.skills-row .skill-card:hover {
transform: translateY(-28px) scale(1.03);
z-index: 30;
box-shadow:
0 2px 4px rgba(0, 0, 0, 0.4), /* paper shadow */
0 12px 24px rgba(0, 0, 0, 0.5), /* mid lift */
0 28px 52px rgba(0, 0, 0, 0.4), /* deep cast shadow */
0 48px 72px rgba(0, 0, 0, 0.25), /* far ambient */
0 0 50px rgba(6, 182, 212, 0.12); /* cyan accent glow */
}
/* ──────────────────────────────────────────────────────────── */
/* HERO MICRO-INTERACTIONS & ANIMATIONS */
/* ──────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/*
================================================================================
CONTACT ME SECTION CARDS
================================================================================
*/
/*
================================================================================
EDUCATION SECTION CARDS
================================================================================
*/
.education-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
@media (max-width: 768px) {
.education-grid {
grid-template-columns: 1fr;
}
}
.edu-card {
--theme-rgb: 0, 224, 255;
background: rgba(11, 16, 33, 0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-radius: 20px;
border: 1px solid rgba(0, 200, 255, 0.15);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--theme-rgb), 0.05); /* Lowered base glow */
padding: 24px;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
position: relative;
z-index: 1;
}
.edu-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 20px rgba(0,0,0,0.4), 0 0 40px rgba(var(--theme-rgb), 0.1); /* Dramatically reduced hover glow */
}
.edu-card.featured {
transform: scale(1.06);
border: 1px solid rgba(0, 200, 255, 0.35);
box-shadow: 0 0 35px rgba(0, 200, 255, 0.18), 0 0 15px rgba(var(--theme-rgb), 0.05); /* Lowered base glow */
}
.edu-card.featured:hover {
transform: translateY(-4px) scale(1.02); /* Adjusted to preserve pop effect, but much gentler */
box-shadow: 0 10px 20px rgba(0,0,0,0.4), 0 0 40px rgba(var(--theme-rgb), 0.1); /* Dramatically reduced hover glow */
}
.edu-card img {
width: 65px;
margin-bottom: 12px;
filter: brightness(1.3) contrast(1.1);
opacity: 0.95;
}
.edu-row {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.edu-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 6px;
color: #ffffff;
}
.edu-subtext {
font-size: 13px;
color: rgba(255, 255, 255, 0.6);
margin-bottom: 16px;
}
.edu-label {
font-size: 11px;
color: rgba(255, 255, 255, 0.5);
letter-spacing: 1px;
text-transform: uppercase;
}
.edu-value {
font-size: 14px;
color: #ffffff;
}
.edu-score {
display: inline-block;
margin-top: 4px;
font-size: 18px;
font-weight: 600;
color: #00e0ff;
}
.edu-divider {
height: 1px;
background: rgba(255, 255, 255, 0.08);
margin: 12px 0;
width: 100%;
}
.edu-progress-bar {
height: 6px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
margin-top: 8px;
width: 100%;
}
.edu-progress-fill {
height: 100%;
width: 0;
background: var(--fill-color, linear-gradient(90deg, #00e0ff, #00ffa3));
animation: fillSemBar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
animation-delay: var(--delay, 0s);
}
.edu-section-title {
font-size: 36px;
font-weight: 700;
text-shadow: 0 0 20px rgba(0, 200, 255, 0.25);
color: #ffffff;
margin-bottom: 8px;
}
.edu-subtitle {
font-size: 14px;
color: rgba(255, 255, 255, 0.6);
margin-bottom: 32px;
}
/*
================================================================================
SCORE VISUALIZATIONS
================================================================================
*/
.donut-ring {
animation: drawDonut 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
animation-delay: 0.5s;
}
@keyframes drawDonut {
from { stroke-dasharray: 0, 100; }
to { stroke-dasharray: var(--target), 100; }
}
.gauge-ring {
animation: drawGauge 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
animation-delay: 0.6s;
}
@keyframes drawGauge {