-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
305 lines (271 loc) · 8.86 KB
/
Copy pathstyle.css
File metadata and controls
305 lines (271 loc) · 8.86 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
:root{
--bg: #0f1220;
--card: #12162a;
--muted: #a8b3cf;
--text: #e7ecff;
--brand: #7c5cff;
--brand-2: #15d1ff;
--accent-1:#ff6b6b;
--accent-2:#ffd166;
--accent-3:#06d6a0;
--accent-4:#4dabf7;
--accent-5:#b085f5;
--line: rgba(255,255,255,.08);
--glass: rgba(255,255,255,.06);
--shadow: 0 10px 30px rgba(0,0,0,.35);
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
display:flex;
min-height:100vh;
background: radial-gradient(1200px 600px at 70% -20%, rgba(124,92,255,.25), transparent 60%) ,
radial-gradient(1000px 600px at 120% 20%, rgba(21,209,255,.15), transparent 60%),
var(--bg);
color:var(--text);
font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}
/* Sidebar */
.sidebar{
position:sticky; top:0; height:100vh; width:250px;
padding:28px 22px;
border-right:1px solid var(--line);
background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
backdrop-filter: blur(10px);
}
.logo{
font-size:22px; letter-spacing:.5px; color:#fff;
background: linear-gradient(90deg,var(--brand),var(--brand-2));
-webkit-background-clip:text; background-clip:text; color:transparent;
margin-bottom:20px;
}
.nav{ display:flex; flex-direction:column; gap:6px; margin-top:8px; }
.nav-link{
color:var(--muted); text-decoration:none; padding:10px 12px; border-radius:10px;
display:flex; align-items:center; gap:10px;
transition: background .25s, color .25s, transform .2s;
}
.nav-link:hover{ color:#fff; background:var(--glass); transform: translateX(2px); }
.nav-link.active{ color:#fff; background:linear-gradient(90deg, rgba(124,92,255,.25), rgba(21,209,255,.2)); }
.sidebar-footer{ position:absolute; bottom:18px; left:22px; right:22px; display:flex; justify-content:flex-start; }
#themeToggle{
width:42px; height:42px; border-radius:10px; border:1px solid var(--line);
background:var(--glass); color:#ffd166; cursor:pointer;
}
/* Main */
.main{ flex:1; padding-left:24px; }
.section{ min-height:100vh; padding:64px 24px; display:grid; place-items:center; position:relative; }
.section-title{ font-size:28px; margin-bottom:18px; }
/* Home / Hero */
.home{
display:grid; grid-template-columns: 1.2fr .8fr; gap:20px; align-items:center;
}
.hero{ max-width:720px; padding:28px; border:1px solid var(--line); border-radius:20px; background:var(--glass); box-shadow:var(--shadow); }
.hero-title{ font-size:44px; line-height:1.15; margin-bottom:8px; }
.hero-title span{ color:#fff; text-shadow:0 8px 26px rgba(124,92,255,.4); }
.hero-sub{ color:var(--muted); margin-bottom:18px; }
.cta-row{ display:flex; gap:12px; }
.btn{
border:1px solid var(--line); padding:10px 16px; border-radius:12px; text-decoration:none;
color:#fff; display:inline-flex; align-items:center; gap:8px; cursor:pointer;
transition: transform .15s ease, background .25s ease, border-color .25s ease;
background:var(--glass);
}
.btn:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,.25); }
.btn.primary{ background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-color: transparent; }
.btn.ghost{ background:transparent; }
/* Shapes layer */
.shape-layer{ position:relative; width:100%; height:420px; }
.blob, .geo{ position:absolute; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
.blob{ width:200px; height:200px; border-radius:40% 60% 60% 40% / 40% 40% 60% 60%; opacity:.85; }
.b1{ right:40px; top:10px; background: linear-gradient(135deg, var(--accent-5), var(--brand)); animation: float 6s ease-in-out infinite; }
.b2{ right:180px; top:180px; background: linear-gradient(135deg, var(--accent-3), var(--brand-2)); animation: float 7s ease-in-out infinite; }
.b3{ right: -20px; top:220px; width:160px; height:160px; background: linear-gradient(135deg, var(--accent-2), var(--accent-1)); animation: float 8s ease-in-out infinite; }
.geo{ opacity:.8; }
.g1{ left: -10px; top: 40px; width: 70px; height: 70px; transform: rotate(45deg); background: #111a; border:1px solid var(--line); border-radius:12px; }
.g2{ left: 60px; top: 140px; width: 90px; height: 90px; border-radius:50%; background: #111a; border:1px solid var(--line); }
.g3{ left: 140px; top: 240px; width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 90px solid #111a; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
@keyframes float{
0%,100%{ transform: translateY(0); }
50%{ transform: translateY(-16px); }
}
/* About */
/* About Section */
.about {
padding: 80px 20px;
text-align: center;
}
.about h2 {
font-size: 2rem;
margin-bottom: 20px;
}
/* Box Styling */
.about-box {
max-width: 800px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.05); /* translucent dark card */
border-radius: 15px;
padding: 30px;
box-shadow: 0 4px 15px rgba(0,0,0,0.4);
backdrop-filter: blur(6px); /* frosted glass effect */
}
.about-box p {
font-size: 1.1rem;
line-height: 1.6;
color: #ddd;
}
/* Skills */
/* Skills Section */
#skills {
padding: 80px 20px;
text-align: center;
background: #0d0f1a;
}
#skills h2 {
font-size: 2.5rem;
margin-bottom: 50px;
color: #fff;
}
.skills-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 25px;
}
.skill-card {
width: 160px;
height: 120px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
backdrop-filter: blur(12px);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
color: #fff;
font-weight: 500;
cursor: pointer;
}
.skill-card i {
font-size: 2rem;
margin-bottom: 10px;
color: #61dafb;
}
.skill-card:hover {
transform: translateY(-8px) scale(1.05);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
border: 1px solid #61dafb;
}
/* Projects */
.projects{ align-content:start; }
.cards{
width:100%; max-width:1080px; display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:20px;
}
.card{
background: var(--card); border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:var(--shadow);
transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
will-change: transform;
}
.card:hover{ transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.card-media{
height:160px; background:#0c0f1b; border-bottom:1px solid var(--line);
}
.placeholder{
background: repeating-linear-gradient(45deg, #12162a 0 10px, #0d1122 10px 20px);
}
.card-body{ padding:16px; }
.card-body h4{ margin-bottom:8px; }
.card-body p{ color:var(--muted); margin-bottom:12px; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.chips span{
font-size:12px; padding:6px 10px; border-radius:999px; background:var(--glass); border:1px solid var(--line);
}
.card-actions{ display:flex; gap:10px; }
.btn.small{ padding:8px 12px; border-radius:10px; font-size:14px; }
.btn.outline{ background:transparent; border-color: rgba(255,255,255,.25); }
/* Contact + Footer */
/* Contact Section */
#contact {
padding: 60px 10%;
text-align: center;
}
.section-title {
font-size: 2rem;
margin-bottom: 40px;
color: white;
}
.contact-container {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 50px;
flex-wrap: wrap;
}
.contact-info {
flex: 1;
text-align: left;
color: white;
}
.contact-info p {
margin: 10px 0;
font-size: 1rem;
}
.social-links a {
color: #aaa;
text-decoration: none;
margin-right: 10px;
transition: color 0.3s;
}
.social-links a:hover {
color: white;
}
.contact-form {
flex: 1;
background: transparent;
padding: 20px;
border-radius: 10px;
border: 1px solid #333;
}
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 12px;
margin: 10px 0;
background: transparent;
border: 1px solid #444;
color: white;
border-radius: 6px;
}
.contact-form textarea {
height: 120px;
resize: none;
}
.contact-form button {
width: 100%;
padding: 12px;
background: white;
color: black;
border: none;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
}
.contact-form button:hover {
background: #ddd;
}
/* Responsive */
@media (max-width: 900px){
.sidebar{ width: 88px; padding:18px; }
.logo{ font-size:18px; text-align:center; }
.nav-link{ padding:10px; border-radius:12px; justify-content:center; }
.nav-link span{ display:none; }
.main{ padding-left:0; }
.home{ grid-template-columns: 1fr; }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
*{ animation: none !important; transition: none !important; }
}