-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
341 lines (340 loc) · 6.09 KB
/
style.css
File metadata and controls
341 lines (340 loc) · 6.09 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
*{ font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
margin:0;
padding: 0;
}
body{ background-color:rgb(0,0,33) ;
color: white;
}
nav{ display: flex;
justify-content: space-around;
align-items: center;
height:80px ;
background-color:rgb(8, 8, 64)
;
}
nav ul{
display: flex;
justify-content: center;
}
nav ul li {
list-style: none;
margin:0 23px;
}
nav ul li a {
text-decoration: none;
color: aliceblue;
}
nav ul li a:hover {
color: rgb(172, 172, 237);
font-size:1.1rem ;
}
.left{ font-size: 1.5rem;
}
.firstsection{
display: flex;
justify-content:space-around ;
align-items: center;
margin:130px 0 ;
}
.firstsection div{
width: 30%;
}
.leftsection{
font-size: 2.5rem;
margin: 90px 0;;
}
.buttons {
margin-top: 20px;
display: flex;
/* makes children side by side */
gap: 15px; /* space between buttons */
}
.btn {
padding: 10px 20px;
border: 2px solid #9c97f1;
background: transparent;
color: white;
border-radius: 6px;
font-size: 16px;
cursor: pointer;
text-decoration: none;
transition: all 0.3s ease;
}
.btn:hover {
background: #9c97f1;
color: black;
}
.rightsection img{
width:80%;
margin:50px 0;
}
.purple{
color:blueviolet;
}
#element{
color:blueviolet;
}
main hr{
border: 0;
background: #9c97f1;
height: 1.2px;
margin:40px 84px;
}
footer{
background-color: #0e0e1a;
}
footer {
color: #fff;
padding: 40px 20px;
text-align: center;
}
footer a {
color: #ffcc00; /* highlight links */
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
.footer-rights {
margin-top: 20px;
font-size: 14px;
color: #ccc;
}
.about {
max-width: 80vw;
margin: 60px auto;
font-size: 1.1rem;
line-height: 1.6; /* better spacing between lines */
}
.about h2 {
font-size: 2rem;
margin-bottom: 25px;
color: #9c97f1;
text-align: center;
}
.about-container {
display: flex;
align-items: flex-start; /* align items at top */
gap: 50px;
flex-wrap: wrap;
}
.about-text {
flex: 1;
}
.about-text p {
margin-bottom: 20px; /* spacing below intro paragraph */
}
.about-info ul, .skills ul {
list-style: none;
padding: 0;
margin: 15px 0;
}
.about-info li, .skills li {
margin-bottom: 10px; /* spacing between list items */
}
.about-info li b {
color: #9c97f1; /* highlight labels like Name, Email */
margin-right: 8px;
}
.skills h3 {
margin: 20px 0 12px;
color: #9c97f1;
font-size: 1.3rem;
}
.services {
max-width: 80vw;
margin: 60px auto;
text-align: center;
}
.services h2 {
font-size: 2rem;
margin-bottom: 40px;
color: #9c97f1; }
.services-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
}
.service-box {
background: #111132;
border: 1px solid #9c97f1;
border-radius: 10px;
padding: 20px;
width: 250px;
transition: transform 0.3s, box-shadow 0.3s;
}
.service-box img {
width: 60px;
margin-bottom: 15px;
}
.service-box h3 {
margin-bottom: 10px;
color: #9c97f1;
}
.service-box p {
font-size: 0.9rem;
color: #ccc;
}
.service-box:hover {
transform: translateY(-10px);
box-shadow: 0 4px 20px rgba(156, 151, 241, 0.3);
}
.projects {
padding: 60px 20px;
text-align: center;
}
.projects h2 {
font-size: 2rem;
margin-bottom: 40px;
color: #9c97f1;
}
.projects-container
{
display: flex;
justify-content: center;
gap: 30px; flex-wrap: wrap; }
.project-card {
background: #1e1e3f;
padding: 20px;
border-radius: 10px;
border: 2px solid #9c97f1;
width: 300px;
text-align: center;
transition: transform 0.3s ease, background 0.3s ease;
}
.project-card:hover {
transform: translateY(-10px);
background: #2a2a50;
}
.project-card img {
width: 80px;
margin-bottom: 15px;
}
.project-card h3 {
margin-bottom: 10px;
color: #fff;
}
.project-card p {
font-size: 0.9rem;
color: #ccc;
margin-bottom: 15px;
}
.project-card .btn
{
padding: 8px 16px;
border: 2px solid #9c97f1;
background: transparent;
color: #fff;
border-radius: 6px;
cursor: pointer;
text-decoration: none;
transition: all 0.3s ease;
}
.project-card .btn:hover {
background: #9c97f1;
color: #000;
}
#contact {
padding: 60px 20px;
text-align: center;
background-color: #111;
color: white;
}
#contact h2 {
font-size: 2rem;
color: #9c97f1;
margin-bottom: 15px;
}
#contact p {
font-size: 18px;
margin: 8px 0;
}
.contact-details a {
color: #9c97f1;
text-decoration: none;
transition: 0.3s;
}
.contact-details a:hover {
color: white;
} /* Learning Journey Section */
#learning {
padding: 60px 20px;
background: #f9f9f9;
}
.learning-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 25px;
max-width: 1000px;
margin: 0 auto;
}
#learning{
background-color: rgb(0,0,33);
text-align: center;
color:#9c97f1
}
.learning-card {
background-color: #242249 ;
border: 2px solid #9c97f1;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
padding: 25px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.learning-card:hover {
transform: translateY(-8px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.learning-card h3 {
color: #00bcd4;
font-size: 1.3rem;
margin-bottom: 10px;
}
.learning-card p {
color:white;
font-size: 1rem;
line-height: 1.5;
}
* Reveal Animation */
.learning-card,
.project-card,
.service-box,
.about-container,
.leftsection,
.rightsection
{ opacity: 0;
transform: translateY(50px);
transition: opacity 0.8s ease,
transform 0.8s ease;
}
.visible {
opacity: 1;
transform: translateY(0);
}
/* Scroll to Top Button */
.scroll-top {
position: fixed;
bottom: 30px;
right: 30px;
background: #00bcd4;
color: white;
border: none;
border-radius: 50%;
width: 45px;
height: 45px;
font-size: 22px;
cursor: pointer;
display: none;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
transition: transform 0.3s ease, background 0.3s ease;
}
.scroll-top:hover {
transform: scale(1.1);
background: #0097a7;
}
img{
border-radius: 100px;
border: 3px solid #00ffff;
box-shadow: 0 0 20px #00ffff;
}