simran40 commited on
Commit
d4e7907
·
verified ·
1 Parent(s): 9165b2a

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +48 -52
style.css CHANGED
@@ -5,60 +5,55 @@
5
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
6
  }
7
 
8
- /* ===== DREAM BACKGROUND ===== */
9
  body {
10
  min-height: 100vh;
11
  background:
12
- radial-gradient(1200px at 10% 10%, rgba(120,180,255,0.25), transparent 40%),
13
- radial-gradient(1000px at 90% 20%, rgba(200,140,255,0.25), transparent 45%),
14
- radial-gradient(900px at 50% 90%, rgba(120,255,220,0.20), transparent 45%),
15
- linear-gradient(180deg, #050816, #050816);
16
- color: #f9fafb;
17
  padding: 60px 18px;
18
  }
19
 
20
- /* ===== GLASS CARD ===== */
21
  .glass {
22
  max-width: 920px;
23
  margin: 0 auto 80px;
24
- padding: 46px;
25
- border-radius: 32px;
26
 
27
- background: linear-gradient(
28
- 180deg,
29
- rgba(255,255,255,0.22),
30
- rgba(255,255,255,0.12)
31
- );
32
 
33
- backdrop-filter: blur(28px);
34
- -webkit-backdrop-filter: blur(28px);
35
 
36
- border: 1px solid rgba(255,255,255,0.35);
37
  box-shadow:
38
- 0 60px 140px rgba(0,0,0,0.75),
39
- inset 0 1px 0 rgba(255,255,255,0.5);
40
 
41
  transition: transform 0.6s ease, box-shadow 0.6s ease;
42
  }
43
 
44
  .glass:hover {
45
- transform: translateY(-8px);
46
  box-shadow:
47
- 0 80px 180px rgba(0,0,0,0.85),
48
- inset 0 1px 0 rgba(255,255,255,0.6);
49
  }
50
 
51
  /* ===== HEADINGS ===== */
52
  h1 {
53
- font-size: 42px;
54
- margin-bottom: 12px;
55
  font-weight: 700;
56
 
57
  background: linear-gradient(
58
  90deg,
59
- #c7d2fe,
60
- #a5f3fc,
61
- #ddd6fe
62
  );
63
  -webkit-background-clip: text;
64
  -webkit-text-fill-color: transparent;
@@ -67,20 +62,20 @@ h1 {
67
  .subtitle {
68
  font-size: 16px;
69
  opacity: 0.85;
70
- margin-bottom: 22px;
71
  }
72
 
73
  h2 {
74
- font-size: 26px;
75
  margin-bottom: 18px;
76
  color: #e0e7ff;
77
  letter-spacing: 0.3px;
78
  }
79
 
80
- /* ===== TEXT ===== */
81
  p {
82
  font-size: 15.8px;
83
- line-height: 1.9;
84
  color: #e5e7eb;
85
  }
86
 
@@ -91,7 +86,7 @@ p {
91
  margin-top: 18px;
92
  text-decoration: none;
93
  font-weight: 600;
94
- color: #e5e7eb;
95
  position: relative;
96
  }
97
 
@@ -102,7 +97,7 @@ p {
102
  bottom: -6px;
103
  width: 100%;
104
  height: 2px;
105
- background: linear-gradient(90deg, #a5f3fc, #ddd6fe);
106
  transform: scaleX(0);
107
  transition: transform 0.4s ease;
108
  }
@@ -111,7 +106,7 @@ p {
111
  transform: scaleX(1);
112
  }
113
 
114
- /* ===== SKILLS (GLASS PILLS) ===== */
115
  .skills {
116
  display: flex;
117
  flex-wrap: wrap;
@@ -119,48 +114,49 @@ p {
119
  }
120
 
121
  .skills span {
122
- padding: 10px 20px;
123
  border-radius: 999px;
124
 
125
- background: rgba(255,255,255,0.28);
126
- backdrop-filter: blur(12px);
127
 
128
- border: 1px solid rgba(255,255,255,0.45);
129
  font-size: 14px;
130
  color: #f9fafb;
131
  }
132
 
133
- /* ===== PROJECTS ===== */
134
  .project {
135
- margin-top: 30px;
136
- padding: 32px;
137
- border-radius: 26px;
138
 
139
- background: rgba(255,255,255,0.20);
140
- backdrop-filter: blur(22px);
141
 
142
- border: 1px solid rgba(255,255,255,0.4);
143
  }
144
 
145
  .project h3 {
146
  font-size: 20px;
147
- margin-bottom: 8px;
 
148
  }
149
 
150
  /* ===== PROJECT BUTTON ===== */
151
  .project-btn {
152
  display: inline-block;
153
- margin-top: 18px;
154
- padding: 14px 34px;
155
  border-radius: 999px;
156
 
157
  background: linear-gradient(
158
  90deg,
159
- #a5f3fc,
160
- #ddd6fe
161
  );
162
 
163
- color: #020617;
164
  font-weight: 700;
165
  letter-spacing: 1px;
166
  text-decoration: none;
@@ -170,7 +166,7 @@ p {
170
 
171
  .project-btn:hover {
172
  transform: scale(1.08);
173
- box-shadow: 0 0 45px rgba(165,243,252,0.8);
174
  }
175
 
176
  /* ===== FOOTER ===== */
 
5
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
6
  }
7
 
8
+ /* ===== SETTLED PROFESSIONAL BACKGROUND ===== */
9
  body {
10
  min-height: 100vh;
11
  background:
12
+ radial-gradient(900px at 20% 15%, rgba(80,120,255,0.18), transparent 45%),
13
+ radial-gradient(900px at 80% 25%, rgba(170,130,255,0.16), transparent 45%),
14
+ linear-gradient(180deg, #0b1220, #0b1220);
15
+ color: #f8fafc;
 
16
  padding: 60px 18px;
17
  }
18
 
19
+ /* ===== ULTRA GLASS CARD ===== */
20
  .glass {
21
  max-width: 920px;
22
  margin: 0 auto 80px;
23
+ padding: 48px;
24
+ border-radius: 34px;
25
 
26
+ background: rgba(255, 255, 255, 0.22);
27
+ backdrop-filter: blur(32px);
28
+ -webkit-backdrop-filter: blur(32px);
 
 
29
 
30
+ border: 1px solid rgba(255, 255, 255, 0.42);
 
31
 
 
32
  box-shadow:
33
+ 0 70px 160px rgba(0,0,0,0.85),
34
+ inset 0 1px 0 rgba(255,255,255,0.6);
35
 
36
  transition: transform 0.6s ease, box-shadow 0.6s ease;
37
  }
38
 
39
  .glass:hover {
40
+ transform: translateY(-10px);
41
  box-shadow:
42
+ 0 95px 190px rgba(0,0,0,0.95),
43
+ inset 0 1px 0 rgba(255,255,255,0.7);
44
  }
45
 
46
  /* ===== HEADINGS ===== */
47
  h1 {
48
+ font-size: 44px;
49
+ margin-bottom: 14px;
50
  font-weight: 700;
51
 
52
  background: linear-gradient(
53
  90deg,
54
+ #93c5fd,
55
+ #c4b5fd,
56
+ #bae6fd
57
  );
58
  -webkit-background-clip: text;
59
  -webkit-text-fill-color: transparent;
 
62
  .subtitle {
63
  font-size: 16px;
64
  opacity: 0.85;
65
+ margin-bottom: 24px;
66
  }
67
 
68
  h2 {
69
+ font-size: 27px;
70
  margin-bottom: 18px;
71
  color: #e0e7ff;
72
  letter-spacing: 0.3px;
73
  }
74
 
75
+ /* ===== PARAGRAPH ===== */
76
  p {
77
  font-size: 15.8px;
78
+ line-height: 1.95;
79
  color: #e5e7eb;
80
  }
81
 
 
86
  margin-top: 18px;
87
  text-decoration: none;
88
  font-weight: 600;
89
+ color: #c7d2fe;
90
  position: relative;
91
  }
92
 
 
97
  bottom: -6px;
98
  width: 100%;
99
  height: 2px;
100
+ background: linear-gradient(90deg, #93c5fd, #c4b5fd);
101
  transform: scaleX(0);
102
  transition: transform 0.4s ease;
103
  }
 
106
  transform: scaleX(1);
107
  }
108
 
109
+ /* ===== SKILLS GLASS PILLS ===== */
110
  .skills {
111
  display: flex;
112
  flex-wrap: wrap;
 
114
  }
115
 
116
  .skills span {
117
+ padding: 11px 22px;
118
  border-radius: 999px;
119
 
120
+ background: rgba(255,255,255,0.30);
121
+ backdrop-filter: blur(14px);
122
 
123
+ border: 1px solid rgba(255,255,255,0.55);
124
  font-size: 14px;
125
  color: #f9fafb;
126
  }
127
 
128
+ /* ===== PROJECT CARD ===== */
129
  .project {
130
+ margin-top: 32px;
131
+ padding: 34px;
132
+ border-radius: 28px;
133
 
134
+ background: rgba(255,255,255,0.24);
135
+ backdrop-filter: blur(26px);
136
 
137
+ border: 1px solid rgba(255,255,255,0.48);
138
  }
139
 
140
  .project h3 {
141
  font-size: 20px;
142
+ margin-bottom: 10px;
143
+ color: #f1f5f9;
144
  }
145
 
146
  /* ===== PROJECT BUTTON ===== */
147
  .project-btn {
148
  display: inline-block;
149
+ margin-top: 20px;
150
+ padding: 15px 38px;
151
  border-radius: 999px;
152
 
153
  background: linear-gradient(
154
  90deg,
155
+ #93c5fd,
156
+ #c4b5fd
157
  );
158
 
159
+ color: #0b1220;
160
  font-weight: 700;
161
  letter-spacing: 1px;
162
  text-decoration: none;
 
166
 
167
  .project-btn:hover {
168
  transform: scale(1.08);
169
+ box-shadow: 0 0 55px rgba(147,197,253,0.9);
170
  }
171
 
172
  /* ===== FOOTER ===== */