-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
116 lines (102 loc) · 9.12 KB
/
styles.css
File metadata and controls
116 lines (102 loc) · 9.12 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
:root {
--bg: #040816;
--text: #e8eefb;
--muted: #a7b6cf;
--brand: #95c5ff;
--brand-2: #b9a6ff;
--card: rgba(18, 26, 49, 0.68);
--border: rgba(165, 183, 224, 0.24);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.65; background: radial-gradient(circle at 85% 2%, #1f3b62 0%, transparent 30%), radial-gradient(circle at 0% 30%, #261f54 0%, transparent 26%), var(--bg); overflow-x: hidden; }
#starfield { position: fixed; inset: 0; z-index: -3; }
.moon-haze { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(circle at 72% 16%, rgba(214,233,255,.11), transparent 35%); }
.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: 5.5rem 0; position: relative; }
h1, h2, h3 { line-height: 1.18; }
h2 { font-size: clamp(1.9rem, 3vw, 2.35rem); margin-bottom: 1rem; }
.muted { color: var(--muted); margin-bottom: 2rem; }
.header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: rgba(5, 10, 25, .45); border-bottom: 1px solid transparent; }
.header.scrolled { border-color: var(--border); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; }
.logo { color: var(--text); font-weight: 700; text-decoration: none; font-size: 1.2rem; }
.logo span { color: var(--brand); }
.nav-menu { display: flex; gap: 1.1rem; }
.nav-link { color: #c0cde6; text-decoration: none; font-weight: 500; transition: .2s; }
.nav-link:hover { color: #fff; text-shadow: 0 0 10px rgba(149,197,255,.35); }
.nav-toggle { display: none; border: 0; color: var(--text); background: transparent; font-size: 1.4rem; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.eyebrow { color: var(--brand); margin-bottom: .8rem; font-weight: 600; letter-spacing: .6px; }
h1 { font-size: clamp(2rem, 5vw, 3.45rem); max-width: 17ch; margin-bottom: 1rem; }
h1 span { background: linear-gradient(90deg, #d6ecff, var(--brand), var(--brand-2)); -webkit-background-clip: text; color: transparent; }
.hero-text { color: var(--muted); max-width: 58ch; margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tech-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.tech-pills span { border: 1px solid var(--border); background: rgba(146,176,231,.08); border-radius: 999px; padding: .28rem .7rem; font-size: .84rem; }
.btn { text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: .72rem 1.1rem; color: var(--text); transition: .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 18px rgba(0,0,0,.25); }
.btn-primary { background: linear-gradient(120deg, #4f8fff, #8a74ff); border: 0; }
.btn-secondary { background: rgba(116, 143, 189, .1); }
.hero-visual { position: relative; height: 390px; perspective: 1000px; transform-style: preserve-3d; }
.moon-core { width: 235px; height: 235px; border-radius: 50%; position: absolute; inset: 0; margin: auto; background: radial-gradient(circle at 30% 30%, #f2f7ff, #d8e5ff 50%, #a5c0e8 80%); box-shadow: 0 0 0 3px rgba(214,236,255,.18), 0 35px 80px rgba(127, 164, 236, .34); animation: moonFloat 8s ease-in-out infinite; }
.moon-ring { width: 300px; height: 300px; border-radius: 50%; border: 1px dashed rgba(185, 210, 255, .5); position: absolute; inset: 0; margin: auto; animation: spin 20s linear infinite; }
.moon-glow { width: 360px; height: 360px; position: absolute; inset: 0; margin: auto; border-radius: 50%; filter: blur(30px); background: radial-gradient(circle, rgba(155,188,255,.30), rgba(155,188,255,0) 70%); }
.moon-crater { position: absolute; border-radius: 50%; background: rgba(116, 145, 195, .32); z-index: 3; }
.crater-1 { width: 42px; height: 42px; left: 40%; top: 34%; }
.crater-2 { width: 26px; height: 26px; left: 55%; top: 53%; }
.crater-3 { width: 19px; height: 19px; left: 30%; top: 52%; }
.floating-icon { position: absolute; z-index: 5; font-size: 1.35rem; border: 1px solid var(--border); background: rgba(166, 191, 241, .12); width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(47,72,116,.25); }
.icon-a { left: 18%; top: 17%; animation: orbitA 8s ease-in-out infinite; }
.icon-b { right: 16%; top: 25%; animation: orbitB 9s ease-in-out infinite; }
.icon-c { left: 20%; bottom: 21%; animation: orbitB 10s ease-in-out infinite; }
.icon-d { right: 22%; bottom: 16%; animation: orbitA 11s ease-in-out infinite; }
.hero-card { position: absolute; right: 12%; bottom: 10%; background: var(--card); border: 1px solid var(--border); padding: .7rem .9rem; border-radius: 12px; transform: translateZ(28px); }
.two-columns { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; align-items: center; }
.profile { width: 100%; border-radius: 18px; border: 1px solid var(--border); object-fit: cover; box-shadow: 0 16px 38px rgba(18,31,58,.45); }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.4rem; }
.glow-panel { box-shadow: 0 0 0 1px rgba(170,192,237,.12), 0 18px 40px rgba(13,24,48,.35); }
.panel p + p { margin-top: .9rem; color: #d1dcf1; }
.timeline-vertical { position: relative; margin-top: 2rem; padding-left: 2.2rem; display: grid; gap: 1.2rem; }
.timeline-vertical::before { content: ''; position: absolute; left: .9rem; top: .2rem; bottom: .2rem; width: 2px; background: linear-gradient(to bottom, rgba(149,197,255,.85), rgba(185,166,255,.2)); box-shadow: 0 0 14px rgba(149,197,255,.5); }
.timeline-item { position: relative; }
.timeline-dot { position: absolute; left: -1.7rem; top: 1.35rem; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #f3f8ff, #90b9eb); box-shadow: 0 0 0 3px rgba(149,197,255,.15), 0 0 22px rgba(149,197,255,.7); }
.timeline-year { display: inline-block; margin-bottom: .45rem; font-size: .82rem; color: #cfe5ff; border: 1px solid var(--border); border-radius: 999px; padding: .2rem .6rem; }
.skills-grid, .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.skill-panel { transition: transform .28s ease, border-color .28s ease; }
.skill-panel:hover { transform: translateY(-5px); border-color: rgba(184, 211, 255, .55); }
.project-toolbar { display: grid; gap: .8rem; margin-bottom: 1rem; }
.project-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn { border: 1px solid var(--border); color: var(--text); background: rgba(116, 143, 189, .1); border-radius: 999px; padding: .35rem .8rem; cursor: pointer; }
.filter-btn.active, .filter-btn:hover { background: linear-gradient(120deg, #4f8fff, #8a74ff); border-color: transparent; }
.project-search { border: 1px solid var(--border); border-radius: 12px; background: rgba(116, 143, 189, .1); color: var(--text); padding: .7rem .9rem; outline: none; }
.project-search::placeholder { color: #b8c5df; }
.projects-grid { margin-top: .4rem; }
.project-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .28s ease, border-color .28s ease; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(190, 213, 255, .55); }
.project-card img { width: 100%; height: 170px; object-fit: cover; }
.project-content { padding: 1rem; }
.project-content h3 { margin-bottom: .4rem; }
.project-content p { color: var(--muted); margin-bottom: .8rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.project-tag { border: 1px solid var(--border); border-radius: 999px; padding: .2rem .6rem; font-size: .8rem; color: #cfe5ff; }
.contact-panel { text-align: center; }
.contact-links { display: flex; justify-content: center; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; }
.back-to-top { position: fixed; right: 1rem; bottom: 1rem; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--border); background: rgba(66, 102, 171, .4); color: white; cursor: pointer; display: none; z-index: 50; }
.back-to-top.show { display: block; }
.footer { padding: 2rem 1rem; text-align: center; color: var(--muted); border-top: 1px solid var(--border); }
.reveal { opacity: 0; transform: translateY(18px); transition: .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes moonFloat { 0%,100%{ transform: translateY(0) scale(1);} 50% { transform: translateY(-12px) scale(1.02);} }
@keyframes spin { to { transform: rotate(360deg);} }
@keyframes orbitA { 0%,100% { transform: translateY(0) translateX(0);} 50% { transform: translateY(-9px) translateX(6px);} }
@keyframes orbitB { 0%,100% { transform: translateY(0) translateX(0);} 50% { transform: translateY(10px) translateX(-8px);} }
@media (max-width: 860px) {
.hero-grid, .two-columns { grid-template-columns: 1fr; }
.hero-visual { order: -1; height: 320px; }
.timeline-vertical { padding-left: 1.7rem; }
.timeline-dot { left: -1.2rem; }
.nav-menu { position: absolute; top: 74px; right: 4%; display: none; flex-direction: column; background: #0b1224; border: 1px solid var(--border); border-radius: 12px; padding: .8rem; }
.nav-menu.active { display: flex; }
.nav-toggle { display: block; }
}