aravind9788 commited on
Commit
4e49fcb
·
verified ·
1 Parent(s): 3542373

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +295 -17
style.css CHANGED
@@ -1,28 +1,306 @@
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Reset & Base Styles */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
9
+
10
  body {
11
+ font-family: 'Poppins', sans-serif;
12
+ color: #8c64e9;
13
+ line-height: 1.7;
14
+ overflow-x: hidden;
15
+ letter-spacing: 0.5px;
16
+ min-height: 100vh;
17
+ background-attachment: fixed;
18
+ }
19
+
20
+ /* Background Styles */
21
+ .background-3d {
22
+ position: fixed;
23
+ top: 0;
24
+ left: 0;
25
+ width: 100%;
26
+ height: 100%;
27
+ z-index: -1;
28
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
29
+ overflow: hidden;
30
+ }
31
+
32
+ .background-3d::before {
33
+ content: '';
34
+ position: absolute;
35
+ width: 300%;
36
+ height: 300%;
37
+ top: -100%;
38
+ left: -100%;
39
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(59,130,246,0.05)" points="50,0 100,0 50,50 0,50"/><polygon fill="rgba(59,130,246,0.05)" points="50,50 100,50 50,100 0,100"/></svg>');
40
+ background-size: 50px 50px;
41
+ animation: bg-move 40s linear infinite;
42
+ transform: rotate(15deg);
43
  }
44
 
45
+ @keyframes bg-move {
46
+ 0% { transform: translate(0, 0) rotate(15deg); }
47
+ 100% { transform: translate(-50px, -50px) rotate(15deg); }
48
+ }
49
+
50
+ /* Sidebar Navigation */
51
+ .sidebar {
52
+ height: 100vh;
53
+ width: 250px;
54
+ position: fixed;
55
+ background: rgba(255, 255, 255, 0.9);
56
+ padding-top: 40px;
57
+ display: flex;
58
+ flex-direction: column;
59
+ box-shadow: 5px 0 15px rgba(0,0,0,0.1);
60
+ z-index: 10;
61
+ border-right: 1px solid rgba(0,0,0,0.05);
62
+ backdrop-filter: blur(5px);
63
+ }
64
+
65
+ .sidebar a {
66
+ padding: 18px 25px;
67
+ text-decoration: none;
68
+ color: #1F2937;
69
+ font-weight: 500;
70
+ font-size: 16px;
71
+ transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
72
+ position: relative;
73
+ margin: 5px 15px;
74
+ border-radius: 8px;
75
+ }
76
+
77
+ .sidebar a:hover {
78
+ background: rgba(59, 130, 246, 0.1);
79
+ transform: translateX(10px) scale(1.05);
80
+ color: #3B82F6;
81
+ box-shadow: 0 5px 15px rgba(0,0,0,0.05);
82
+ }
83
+
84
+ .sidebar a.active {
85
+ background: rgba(59, 130, 246, 0.1);
86
+ border-left: 3px solid #3B82F6;
87
+ }
88
+
89
+ .sidebar a::before {
90
+ content: '';
91
+ position: absolute;
92
+ left: 0;
93
+ top: 0;
94
+ height: 100%;
95
+ width: 3px;
96
+ background: #3B82F6;
97
+ transform: scaleY(0);
98
+ transition: transform 0.3s;
99
+ }
100
+
101
+ .sidebar a:hover::before,
102
+ .sidebar a.active::before {
103
+ transform: scaleY(1);
104
+ }
105
+
106
+ /* Main Content Area */
107
+ .main {
108
+ margin-left: 250px;
109
+ padding: 50px 40px;
110
+ position: relative;
111
+ z-index: 1;
112
+ background: rgba(255, 255, 255, 0.85);
113
+ min-height: 100vh;
114
+ backdrop-filter: blur(3px);
115
+ box-shadow: -5px 0 20px rgba(0,0,0,0.05);
116
+ }
117
+
118
+ /* Typography */
119
  h1 {
120
+ font-size: 36px;
121
+ color: #1F2937;
122
+ margin-bottom: 30px;
123
+ position: relative;
124
+ display: inline-block;
125
+ font-weight: 600;
126
+ letter-spacing: 0.5px;
127
+ }
128
+
129
+ h1::after {
130
+ content: '';
131
+ position: absolute;
132
+ bottom: -8px;
133
+ left: 0;
134
+ width: 60px;
135
+ height: 4px;
136
+ background: #3B82F6;
137
+ border-radius: 2px;
138
+ }
139
+
140
+ h2 {
141
+ font-size: 26px;
142
+ margin-top: 40px;
143
+ color: #3B82F6;
144
+ font-weight: 500;
145
+ letter-spacing: 0.3px;
146
  }
147
 
148
+ /* Profile Section */
149
+ .profile {
150
+ display: flex;
151
+ align-items: center;
152
+ gap: 30px;
153
+ margin-bottom: 40px;
154
  }
155
 
156
+ .profile-pic {
157
+ width: 160px;
158
+ height: 160px;
159
+ border-radius: 50%;
160
+ object-fit: cover;
161
+ border: 4px solid #3B82F6;
162
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
163
+ transition: transform 0.5s, box-shadow 0.5s;
164
  }
165
 
166
+ .profile-pic:hover {
167
+ transform: rotateY(15deg) scale(1.05);
168
+ box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.15);
169
  }
170
+
171
+ /* Project Cards */
172
+ .project-card {
173
+ background: rgba(255, 255, 255, 0.95);
174
+ border: 1px solid rgba(0,0,0,0.05);
175
+ margin-bottom: 35px;
176
+ padding: 25px;
177
+ border-radius: 12px;
178
+ box-shadow: 0 8px 20px rgba(0,0,0,0.05);
179
+ transition: all 0.4s ease;
180
+ transform-style: preserve-3d;
181
+ }
182
+
183
+ .project-card:hover {
184
+ transform: translateY(-10px) rotateX(5deg);
185
+ box-shadow: 0 15px 30px rgba(0,0,0,0.1);
186
+ border: 1px solid rgba(59, 130, 246, 0.3);
187
+ }
188
+
189
+ .project-card h2 {
190
+ color: #3B82F6;
191
+ margin-bottom: 15px;
192
+ font-size: 22px;
193
+ }
194
+
195
+ .project-card ul {
196
+ margin: 15px 0;
197
+ padding-left: 25px;
198
+ color: #4B5563;
199
+ }
200
+
201
+ .project-card .highlight {
202
+ font-style: italic;
203
+ color: #4B5563;
204
+ background: rgba(59, 130, 246, 0.05);
205
+ padding: 12px;
206
+ border-left: 4px solid #3B82F6;
207
+ margin-top: 15px;
208
+ border-radius: 6px;
209
+ }
210
+
211
+ /* Contact Info */
212
+ .contact-info {
213
+ background: rgba(255, 255, 255, 0.95);
214
+ padding: 20px;
215
+ border-left: 4px solid #3B82F6;
216
+ margin-bottom: 25px;
217
+ border-radius: 10px;
218
+ box-shadow: 0 5px 15px rgba(0,0,0,0.05);
219
+ }
220
+
221
+ /* About Page */
222
+ .about-photo {
223
+ display: flex;
224
+ justify-content: center;
225
+ margin-bottom: 30px;
226
+ }
227
+
228
+ /* Skills List */
229
+ .skills-list {
230
+ list-style-type: none;
231
+ padding-left: 0;
232
+ display: flex;
233
+ flex-wrap: wrap;
234
+ gap: 15px;
235
+ }
236
+
237
+ .skills-list li {
238
+ margin: 0;
239
+ padding: 10px 20px;
240
+ background: rgba(59, 130, 246, 0.1);
241
+ border-radius: 20px;
242
+ border: 1px solid rgba(59, 130, 246, 0.2);
243
+ transition: all 0.3s;
244
+ color: #1F2937;
245
+ }
246
+
247
+ .skills-list li:hover {
248
+ background: rgba(59, 130, 246, 0.2);
249
+ transform: translateY(-3px);
250
+ }
251
+
252
+ /* Animations */
253
+ @keyframes float {
254
+ 0% { transform: translateY(0px); }
255
+ 50% { transform: translateY(-10px); }
256
+ 100% { transform: translateY(0px); }
257
+ }
258
+
259
+ .floating {
260
+ animation: float 6s ease-in-out infinite;
261
+ }
262
+
263
+ /* Responsive Design */
264
+ @media (max-width: 768px) {
265
+ .sidebar {
266
+ width: 100%;
267
+ height: auto;
268
+ position: relative;
269
+ flex-direction: row;
270
+ padding: 15px;
271
+ justify-content: center;
272
+ }
273
+
274
+ .main {
275
+ margin-left: 0;
276
+ padding: 30px 20px;
277
+ }
278
+
279
+ .sidebar a {
280
+ padding: 10px 15px;
281
+ margin: 0 5px;
282
+ }
283
+
284
+ .background-3d::before {
285
+ animation: bg-move 60s linear infinite;
286
+ }
287
+ }
288
+
289
+ @media (max-width: 480px) {
290
+ h1 {
291
+ font-size: 28px;
292
+ }
293
+
294
+ h2 {
295
+ font-size: 22px;
296
+ }
297
+
298
+ .profile {
299
+ flex-direction: column;
300
+ text-align: center;
301
+ }
302
+
303
+ .project-card {
304
+ padding: 15px;
305
+ }
306
+ }