simran40 commited on
Commit
38b07a3
·
verified ·
1 Parent(s): caeb1be

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +47 -48
style.css CHANGED
@@ -5,13 +5,13 @@
5
  font-family:"Poppins","Inter",system-ui,sans-serif;
6
  }
7
 
8
- /* BACKGROUND */
9
  body{
10
  min-height:100vh;
11
  background:
12
- radial-gradient(circle at 20% 20%, #e9d5ff 0%, transparent 35%),
13
  radial-gradient(circle at 80% 30%, #fbcfe8 0%, transparent 40%),
14
- radial-gradient(circle at 50% 90%, #bfdbfe 0%, transparent 40%),
15
  linear-gradient(180deg,#f8fafc,#eef2ff);
16
  color:#1f2937;
17
  overflow-x:hidden;
@@ -25,7 +25,7 @@ body{
25
  border-radius:50%;
26
  background:rgba(255,255,255,0.45);
27
  filter:blur(40px);
28
- animation: float 12s infinite alternate;
29
  }
30
  .o1{top:5%; left:5%;}
31
  .o2{top:40%; right:10%; animation-delay:2s;}
@@ -49,7 +49,7 @@ body{
49
 
50
  .hero h1{
51
  font-size:64px;
52
- background:linear-gradient(90deg,#7c3aed,#ec4899,#3b82f6);
53
  -webkit-background-clip:text;
54
  -webkit-text-fill-color:transparent;
55
  }
@@ -57,7 +57,7 @@ body{
57
  .hero h2{
58
  margin-top:10px;
59
  font-weight:500;
60
- color:#4f46e5;
61
  }
62
 
63
  .hero p{
@@ -69,86 +69,79 @@ body{
69
 
70
  /* GLASS 3D */
71
  .glass-3d{
72
- background:rgba(255,255,255,0.6);
73
- backdrop-filter:blur(26px);
 
 
 
 
74
  border-radius:30px;
 
75
  box-shadow:
76
- 0 30px 80px rgba(0,0,0,0.15),
77
- inset 0 1px 0 rgba(255,255,255,0.9);
78
- transition:transform .5s ease, box-shadow .5s ease;
79
  }
80
 
81
  .glass-3d:hover{
82
- transform:translateY(-10px) rotateX(3deg);
83
- box-shadow:0 50px 120px rgba(124,58,237,.25);
 
 
84
  }
85
 
86
  /* BUTTON */
87
  .glass-btn{
88
- position:relative;
 
 
89
  padding:16px 42px;
90
  border-radius:999px;
91
- background:rgba(255,255,255,0.65);
92
  backdrop-filter:blur(18px);
93
- border:1px solid rgba(255,255,255,0.9);
94
  color:#4f46e5;
95
  font-weight:700;
96
  letter-spacing:1px;
97
  text-decoration:none;
98
- overflow:hidden;
99
- transition:.4s;
100
- }
101
-
102
- .glass-btn::after{
103
- content:"";
104
- position:absolute;
105
- inset:0;
106
- background:linear-gradient(120deg, transparent 30%, rgba(255,255,255,.8), transparent 70%);
107
- transform:translateX(-100%);
108
- }
109
-
110
- .glass-btn:hover::after{
111
- transform:translateX(100%);
112
- transition:transform .6s;
113
  }
114
 
115
  .glass-btn:hover{
116
- transform:scale(1.08);
117
- box-shadow:0 20px 60px rgba(236,72,153,.35);
118
  }
119
 
120
- .small{padding:12px 30px;}
121
 
122
  /* INFO SECTIONS */
123
- .info-section{
124
  max-width:900px;
125
  margin:80px auto;
126
  padding:40px;
127
  text-align:center;
128
  }
129
 
130
- .info-section h3{
131
  font-size:34px;
132
  margin-bottom:18px;
133
- background:linear-gradient(90deg,#7c3aed,#ec4899);
134
- -webkit-background-clip:text;
135
- -webkit-text-fill-color:transparent;
136
  }
137
 
138
- .info-section span{
139
  color:#6b7280;
140
  }
141
 
142
  /* SKILLS */
143
- .skills-area{
144
  padding:120px 8% 60px;
145
  text-align:center;
146
  }
147
 
148
- .skills-title{
149
  font-size:36px;
150
  margin-bottom:50px;
151
- color:#5b21b6;
152
  }
153
 
154
  .bubble-wrap{
@@ -161,13 +154,13 @@ body{
161
  .bubble{
162
  padding:20px 34px;
163
  border-radius:999px;
164
- background:rgba(255,255,255,0.7);
165
  backdrop-filter:blur(22px);
166
  border:1px solid rgba(255,255,255,0.95);
167
  font-weight:600;
168
  color:#4f46e5;
169
- box-shadow:0 20px 50px rgba(124,58,237,0.25);
170
- animation: floatBubble 6s ease-in-out infinite;
171
  transition:.4s;
172
  }
173
 
@@ -191,17 +184,19 @@ body{
191
  .projects h3{
192
  font-size:36px;
193
  margin-bottom:50px;
194
- color:#5b21b6;
195
  }
196
 
197
  .project-grid{
198
  display:grid;
199
- grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
200
  gap:40px;
201
  }
202
 
203
  .project{
204
  padding:34px;
 
 
205
  }
206
 
207
  .project h4{
@@ -210,6 +205,10 @@ body{
210
  color:#312e81;
211
  }
212
 
 
 
 
 
213
  /* FOOTER */
214
  footer{
215
  text-align:center;
 
5
  font-family:"Poppins","Inter",system-ui,sans-serif;
6
  }
7
 
8
+ /* BACKGROUND (LIGHT + PROFESSIONAL) */
9
  body{
10
  min-height:100vh;
11
  background:
12
+ radial-gradient(circle at 20% 20%, #e0e7ff 0%, transparent 35%),
13
  radial-gradient(circle at 80% 30%, #fbcfe8 0%, transparent 40%),
14
+ radial-gradient(circle at 50% 90%, #cffafe 0%, transparent 40%),
15
  linear-gradient(180deg,#f8fafc,#eef2ff);
16
  color:#1f2937;
17
  overflow-x:hidden;
 
25
  border-radius:50%;
26
  background:rgba(255,255,255,0.45);
27
  filter:blur(40px);
28
+ animation:float 12s infinite alternate;
29
  }
30
  .o1{top:5%; left:5%;}
31
  .o2{top:40%; right:10%; animation-delay:2s;}
 
49
 
50
  .hero h1{
51
  font-size:64px;
52
+ background:linear-gradient(90deg,#6366f1,#ec4899,#06b6d4);
53
  -webkit-background-clip:text;
54
  -webkit-text-fill-color:transparent;
55
  }
 
57
  .hero h2{
58
  margin-top:10px;
59
  font-weight:500;
60
+ color:#4338ca;
61
  }
62
 
63
  .hero p{
 
69
 
70
  /* GLASS 3D */
71
  .glass-3d{
72
+ background:linear-gradient(
73
+ 180deg,
74
+ rgba(255,255,255,0.75),
75
+ rgba(255,255,255,0.55)
76
+ );
77
+ backdrop-filter:blur(28px) saturate(150%);
78
  border-radius:30px;
79
+ border:1px solid rgba(255,255,255,0.95);
80
  box-shadow:
81
+ 0 40px 120px rgba(99,102,241,0.25),
82
+ inset 0 1px 0 rgba(255,255,255,0.95);
83
+ transition:transform .45s ease, box-shadow .45s ease;
84
  }
85
 
86
  .glass-3d:hover{
87
+ transform:translateY(-10px) rotateX(4deg);
88
+ box-shadow:
89
+ 0 70px 180px rgba(236,72,153,0.35),
90
+ inset 0 1px 0 rgba(255,255,255,1);
91
  }
92
 
93
  /* BUTTON */
94
  .glass-btn{
95
+ display:inline-flex;
96
+ align-items:center;
97
+ justify-content:center;
98
  padding:16px 42px;
99
  border-radius:999px;
100
+ background:rgba(255,255,255,0.7);
101
  backdrop-filter:blur(18px);
102
+ border:1px solid rgba(255,255,255,0.95);
103
  color:#4f46e5;
104
  font-weight:700;
105
  letter-spacing:1px;
106
  text-decoration:none;
107
+ transition:.35s;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  }
109
 
110
  .glass-btn:hover{
111
+ transform:scale(1.06);
112
+ box-shadow:0 20px 60px rgba(99,102,241,.35);
113
  }
114
 
115
+ .small{padding:12px 28px;}
116
 
117
  /* INFO SECTIONS */
118
+ .info{
119
  max-width:900px;
120
  margin:80px auto;
121
  padding:40px;
122
  text-align:center;
123
  }
124
 
125
+ .info h3{
126
  font-size:34px;
127
  margin-bottom:18px;
128
+ color:#4f46e5;
 
 
129
  }
130
 
131
+ .info span{
132
  color:#6b7280;
133
  }
134
 
135
  /* SKILLS */
136
+ .skills{
137
  padding:120px 8% 60px;
138
  text-align:center;
139
  }
140
 
141
+ .skills h3{
142
  font-size:36px;
143
  margin-bottom:50px;
144
+ color:#4338ca;
145
  }
146
 
147
  .bubble-wrap{
 
154
  .bubble{
155
  padding:20px 34px;
156
  border-radius:999px;
157
+ background:rgba(255,255,255,0.75);
158
  backdrop-filter:blur(22px);
159
  border:1px solid rgba(255,255,255,0.95);
160
  font-weight:600;
161
  color:#4f46e5;
162
+ box-shadow:0 20px 50px rgba(99,102,241,.25);
163
+ animation:floatBubble 6s ease-in-out infinite;
164
  transition:.4s;
165
  }
166
 
 
184
  .projects h3{
185
  font-size:36px;
186
  margin-bottom:50px;
187
+ color:#4338ca;
188
  }
189
 
190
  .project-grid{
191
  display:grid;
192
+ grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
193
  gap:40px;
194
  }
195
 
196
  .project{
197
  padding:34px;
198
+ display:flex;
199
+ flex-direction:column;
200
  }
201
 
202
  .project h4{
 
205
  color:#312e81;
206
  }
207
 
208
+ .project-action{
209
+ margin-top:auto;
210
+ }
211
+
212
  /* FOOTER */
213
  footer{
214
  text-align:center;