-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathportfolio.css
More file actions
376 lines (348 loc) · 6.97 KB
/
portfolio.css
File metadata and controls
376 lines (348 loc) · 6.97 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
background-color: #000;
color: #fff;
overflow-x: hidden;
scroll-behavior: smooth;
}
a {
color: #bb86fc;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Stars */
.stars {
position: fixed;
width: 100%;
height: 100%;
z-index: -1;
}
.stars::before {
content: '';
position: absolute;
width: 200%;
height: 200%;
box-shadow:
30px 40px white, 100px 150px white, 200px 250px white,
400px 450px white, 500px 600px white, 650px 700px white;
animation: moveStars 60s linear infinite;
opacity: 0.3;
}
@keyframes moveStars {
0% { transform: translateY(0); }
100% { transform: translateY(-100px); }
}
/* Hero */
.hero {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
padding: 20px;
}
.hero h1 {
font-size: 3.2rem;
}
.summary {
font-size: 1.1rem;
margin: 20px auto 30px;
max-width: 600px;
color: #ccc;
}
.highlight {
color: #bb86fc;
}
.nav-buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
}
/* Button */
.btn {
background: #bb86fc;
color: #000;
padding: 12px 25px;
border-radius: 30px;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(187, 134, 252, 0.3);
}
.btn:hover {
background: #fff;
color: #000;
transform: scale(1.05);
}
/* Section */
.section {
max-width: 1000px;
margin: 100px auto;
padding: 40px 20px;
background: #111;
border-radius: 12px;
box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}
.section h2 {
text-align: center;
margin-bottom: 30px;
font-size: 2rem;
color: #bb86fc;
}
.project-card, .skills-grid, .back-link {
margin-bottom: 20px;
}
.project-card {
background: #1a1a1a;
padding: 25px;
border-radius: 12px;
transition: transform 0.3s ease;
}
.project-card:hover {
transform: translateY(-5px);
}
.project-card p {
color: #ccc;
margin: 10px 0 15px;
}
.btn.live {
background: transparent;
border: 2px solid #bb86fc;
color: #bb86fc;
}
.btn.live:hover {
background: #bb86fc;
color: #000;
}
/* Email Button */
.email-btn {
background: #ffffff;
color: #000;
border: none;
margin: 20px auto;
display: inline-block;
padding: 12px 30px;
font-weight: bold;
border-radius: 30px;
transition: all 0.3s ease;
}
.email-btn:hover {
background: #bb86fc;
color: #000;
transform: scale(1.05);
}
.skill-card {
background: #222;
padding: 15px;
text-align: center;
border-radius: 10px;
font-weight: bold;
color: #fff;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.skill-card:hover {
background: #bb86fc;
color: #000;
transform: translateY(-5px) scale(1.05);
box-shadow: 0 8px 20px rgba(187, 134, 252, 0.4);
}
/* Email Button */
.email-btn {
background: #ffffff;
color: #000;
border: none;
margin: 25px auto;
padding: 14px 30px;
font-weight: bold;
font-size: 1rem;
border-radius: 30px;
display: inline-block;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}
.email-btn:hover {
background: #bb86fc;
color: #000;
transform: scale(1.05);
box-shadow: 0 6px 18px rgba(187, 134, 252, 0.4);
}
/* Location Styling */
.location {
text-align: center;
font-size: 1rem;
color: #ccc;
margin-top: 20px;
}
/* Back Link */
.back-link {
text-align: center;
margin-top: 40px;
}
.back-link a {
color: #bb86fc;
text-decoration: none;
font-weight: bold;
}
.back-link a:hover {
text-decoration: underline;
}
/* Contact Section Container */
.contact-section {
max-width: 500px;
margin: 60px auto 100px;
background: #121212;
padding: 40px 30px;
border-radius: 15px;
box-shadow: 0 8px 25px rgba(187, 134, 252, 0.25);
text-align: center;
color: #ddd;
animation: fadeInUp 0.8s ease forwards;
}
/* Fade-in Animation */
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* Section Heading */
.contact-section h2 {
font-size: 2.4rem;
color: #bb86fc;
margin-bottom: 15px;
}
/* Paragraph */
.contact-section p {
font-size: 1.15rem;
margin-bottom: 25px;
color: #ccc;
line-height: 1.5;
}
/* Email Button */
.email-btn {
background: #bb86fc;
color: #121212;
padding: 14px 36px;
font-size: 1.1rem;
font-weight: 600;
border-radius: 35px;
display: inline-block;
box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
transition: background-color 0.3s ease, transform 0.3s ease;
cursor: pointer;
text-decoration: none;
}
.email-btn:hover {
background: #d39cff;
transform: scale(1.05);
box-shadow: 0 10px 30px rgba(211, 156, 255, 0.7);
}
/* Location Text */
.location {
margin-top: 30px;
font-size: 1rem;
color: #999;
}
/* Back Link */
.back-link {
margin-top: 40px;
}
.back-link a {
color: #bb86fc;
font-weight: 600;
text-decoration: none;
font-size: 1rem;
transition: color 0.3s ease;
}
.back-link a:hover {
color: #d39cff;
text-decoration: underline;
}
.section h3 {
color: #bb86fc;
margin-top: 30px;
margin-bottom: 15px;
text-align: center;
font-size: 1.2rem;
border-bottom: 1px solid rgba(187, 134, 252, 0.2);
padding-bottom: 5px;
}
/* Ensure skills-grid uses grid for a responsive layout */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
margin-bottom: 30px;
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* Style for the About Me Paragraph */
.about-summary {
font-size: 1.1rem;
line-height: 1.6;
color: #ccc;
max-width: 800px;
margin: 20px auto;
padding: 10px;
/* Add a subtle hover effect */
transition: transform 0.3s ease, color 0.3s ease;
/* Add an on-load animation */
animation: fadeInUp 1s ease forwards;
}
/* Interaction: Make it pop slightly on hover */
.about-summary:hover {
color: #fff; /* Make text brighter on hover */
transform: translateY(-2px); /* Lift the text slightly */
}
/* Style the highlights (the bolded text like Python, JavaScript) */
.about-summary strong {
color: #bb86fc; /* Your theme color */
transition: color 0.3s ease;
}
.about-summary:hover strong {
color: #fff; /* Make highlights white on hover */
}
.type-effect {
/* Setup for animation */
overflow: hidden; /* Ensures text doesn't wrap off screen during animation */
border-right: .15em solid #bb86fc; /* The blinking cursor */
white-space: nowrap;
width: 0; /* Starts with 0 width */
animation:
typing 3.5s steps(40, end) forwards,
blink-caret .75s step-end infinite;
}
/* The typing animation effect */
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
/* The typewriter cursor effect */
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #bb86fc; }
}
.about-summary:hover {
text-shadow: 0 0 8px #bb86fc;
/* ... other subtle effects ... */
}