simran40 commited on
Commit
050f14a
·
verified ·
1 Parent(s): 7e05606

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +97 -72
style.css CHANGED
@@ -5,151 +5,176 @@
5
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
6
  }
7
 
8
- /* ===== BACKGROUND : CALM, EXPENSIVE ===== */
9
  body {
10
  min-height: 100vh;
11
  background:
12
- radial-gradient(1000px at 15% 10%, rgba(255,255,255,0.06), transparent 40%),
13
- radial-gradient(800px at 85% 30%, rgba(255,255,255,0.04), transparent 45%),
14
- linear-gradient(180deg, #0a0d12, #0a0d12);
15
- color: #f1f5f9;
16
- padding: 70px 20px;
 
17
  }
18
 
19
- /* ===== GLASS CARD : TRUE FROSTED ===== */
20
  .glass {
21
- max-width: 900px;
22
  margin: 0 auto 90px;
23
- padding: 52px;
24
- border-radius: 36px;
25
 
26
- background: rgba(255, 255, 255, 0.14);
27
- backdrop-filter: blur(40px);
28
- -webkit-backdrop-filter: blur(40px);
29
 
30
- border: 1px solid rgba(255,255,255,0.28);
31
 
32
  box-shadow:
33
- 0 80px 180px rgba(0,0,0,0.9),
34
- inset 0 1px 0 rgba(255,255,255,0.4);
35
 
36
- transition: transform 0.7s ease, box-shadow 0.7s ease;
37
  }
38
 
39
  .glass:hover {
40
- transform: translateY(-12px);
41
  box-shadow:
42
- 0 110px 220px rgba(0,0,0,1),
43
- inset 0 1px 0 rgba(255,255,255,0.55);
44
  }
45
 
46
- /* ===== TYPOGRAPHY ===== */
47
  h1 {
48
  font-size: 44px;
49
- font-weight: 600;
50
- letter-spacing: 0.3px;
51
- color: #f8fafc;
 
 
 
 
 
 
 
 
52
  }
53
 
54
  .subtitle {
55
- font-size: 15px;
56
- opacity: 0.75;
57
- margin: 18px 0 28px;
 
58
  }
59
 
60
  h2 {
61
- font-size: 24px;
62
- font-weight: 500;
63
- margin-bottom: 20px;
64
- color: #e5e7eb;
65
  }
66
 
 
67
  p {
68
- font-size: 15.5px;
69
- line-height: 2;
70
- color: #cbd5e1;
71
  }
72
 
73
  /* ===== LINKS ===== */
74
  .links a {
75
  display: inline-block;
76
- margin-right: 26px;
77
- margin-top: 24px;
78
- font-size: 14px;
79
- letter-spacing: 1px;
80
  text-decoration: none;
81
- color: #e5e7eb;
82
- padding-bottom: 4px;
83
- border-bottom: 1px solid rgba(255,255,255,0.3);
84
- transition: 0.4s ease;
85
  }
86
 
87
- .links a:hover {
88
- border-bottom-color: #f8fafc;
 
 
 
 
 
 
 
 
89
  }
90
 
91
- /* ===== SKILLS : GLASS CHIPS ===== */
 
 
 
 
92
  .skills {
93
  display: flex;
94
  flex-wrap: wrap;
95
- gap: 16px;
96
  }
97
 
98
  .skills span {
99
  padding: 12px 26px;
100
  border-radius: 999px;
101
- background: rgba(255,255,255,0.18);
102
- backdrop-filter: blur(20px);
103
- border: 1px solid rgba(255,255,255,0.35);
104
- font-size: 13px;
105
- letter-spacing: 0.5px;
106
- color: #f1f5f9;
 
107
  }
108
 
109
- /* ===== PROJECT ===== */
110
  .project {
111
- margin-top: 40px;
112
- padding: 38px;
113
  border-radius: 30px;
114
- background: rgba(255,255,255,0.16);
115
- backdrop-filter: blur(30px);
116
- border: 1px solid rgba(255,255,255,0.35);
 
 
117
  }
118
 
119
  .project h3 {
120
  font-size: 20px;
121
- font-weight: 500;
122
  margin-bottom: 10px;
123
- color: #f8fafc;
124
  }
125
 
126
- /* ===== PROJECT BUTTON : LUXURY ===== */
127
  .project-btn {
128
  display: inline-block;
129
- margin-top: 26px;
130
- padding: 16px 44px;
131
  border-radius: 999px;
132
 
133
- background: rgba(255,255,255,0.85);
134
- color: #0a0d12;
 
 
 
135
 
136
- font-size: 13px;
137
- letter-spacing: 2px;
138
- font-weight: 600;
139
  text-decoration: none;
140
 
141
- transition: 0.5s ease;
142
  }
143
 
144
  .project-btn:hover {
145
  transform: scale(1.08);
146
- background: #ffffff;
147
  }
148
 
149
  /* ===== FOOTER ===== */
150
  footer {
151
  text-align: center;
152
- font-size: 12px;
153
- opacity: 0.55;
154
  margin-bottom: 50px;
 
155
  }
 
5
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
6
  }
7
 
8
+ /* ===== LIGHT AURORA BACKGROUND (NO BLACK) ===== */
9
  body {
10
  min-height: 100vh;
11
  background:
12
+ radial-gradient(1200px at 10% 10%, rgba(173,216,255,0.55), transparent 40%),
13
+ radial-gradient(1000px at 90% 20%, rgba(221,214,254,0.55), transparent 45%),
14
+ radial-gradient(900px at 50% 90%, rgba(187,247,208,0.55), transparent 45%),
15
+ linear-gradient(180deg, #f8fafc, #eef2ff);
16
+ color: #1e293b;
17
+ padding: 70px 18px;
18
  }
19
 
20
+ /* ===== ULTRA GLASS CARD ===== */
21
  .glass {
22
+ max-width: 920px;
23
  margin: 0 auto 90px;
24
+ padding: 50px;
25
+ border-radius: 34px;
26
 
27
+ background: rgba(255, 255, 255, 0.55);
28
+ backdrop-filter: blur(28px);
29
+ -webkit-backdrop-filter: blur(28px);
30
 
31
+ border: 1px solid rgba(255,255,255,0.9);
32
 
33
  box-shadow:
34
+ 0 40px 90px rgba(100,116,139,0.25),
35
+ inset 0 1px 0 rgba(255,255,255,0.9);
36
 
37
+ transition: transform 0.6s ease, box-shadow 0.6s ease;
38
  }
39
 
40
  .glass:hover {
41
+ transform: translateY(-10px);
42
  box-shadow:
43
+ 0 60px 120px rgba(100,116,139,0.35),
44
+ inset 0 1px 0 rgba(255,255,255,1);
45
  }
46
 
47
+ /* ===== HEADINGS ===== */
48
  h1 {
49
  font-size: 44px;
50
+ margin-bottom: 14px;
51
+ font-weight: 700;
52
+
53
+ background: linear-gradient(
54
+ 90deg,
55
+ #6366f1,
56
+ #06b6d4,
57
+ #22c55e
58
+ );
59
+ -webkit-background-clip: text;
60
+ -webkit-text-fill-color: transparent;
61
  }
62
 
63
  .subtitle {
64
+ font-size: 16px;
65
+ opacity: 0.8;
66
+ margin-bottom: 26px;
67
+ color: #334155;
68
  }
69
 
70
  h2 {
71
+ font-size: 26px;
72
+ margin-bottom: 18px;
73
+ color: #1e293b;
 
74
  }
75
 
76
+ /* ===== TEXT ===== */
77
  p {
78
+ font-size: 16px;
79
+ line-height: 1.95;
80
+ color: #334155;
81
  }
82
 
83
  /* ===== LINKS ===== */
84
  .links a {
85
  display: inline-block;
86
+ margin-right: 24px;
87
+ margin-top: 18px;
 
 
88
  text-decoration: none;
89
+ font-weight: 600;
90
+ color: #4338ca;
91
+ position: relative;
 
92
  }
93
 
94
+ .links a::after {
95
+ content: "";
96
+ position: absolute;
97
+ left: 0;
98
+ bottom: -6px;
99
+ width: 100%;
100
+ height: 2px;
101
+ background: linear-gradient(90deg, #6366f1, #22c55e);
102
+ transform: scaleX(0);
103
+ transition: transform 0.4s ease;
104
  }
105
 
106
+ .links a:hover::after {
107
+ transform: scaleX(1);
108
+ }
109
+
110
+ /* ===== SKILLS (GLASS PILLS) ===== */
111
  .skills {
112
  display: flex;
113
  flex-wrap: wrap;
114
+ gap: 14px;
115
  }
116
 
117
  .skills span {
118
  padding: 12px 26px;
119
  border-radius: 999px;
120
+
121
+ background: rgba(255,255,255,0.7);
122
+ backdrop-filter: blur(12px);
123
+
124
+ border: 1px solid rgba(203,213,225,0.8);
125
+ font-size: 14px;
126
+ color: #1e293b;
127
  }
128
 
129
+ /* ===== PROJECT CARD ===== */
130
  .project {
131
+ margin-top: 36px;
132
+ padding: 36px;
133
  border-radius: 30px;
134
+
135
+ background: rgba(255,255,255,0.65);
136
+ backdrop-filter: blur(24px);
137
+
138
+ border: 1px solid rgba(203,213,225,0.9);
139
  }
140
 
141
  .project h3 {
142
  font-size: 20px;
 
143
  margin-bottom: 10px;
144
+ color: #0f172a;
145
  }
146
 
147
+ /* ===== PROJECT BUTTON ===== */
148
  .project-btn {
149
  display: inline-block;
150
+ margin-top: 22px;
151
+ padding: 16px 42px;
152
  border-radius: 999px;
153
 
154
+ background: linear-gradient(
155
+ 90deg,
156
+ #6366f1,
157
+ #22c55e
158
+ );
159
 
160
+ color: white;
161
+ font-weight: 700;
162
+ letter-spacing: 1px;
163
  text-decoration: none;
164
 
165
+ transition: transform 0.4s ease, box-shadow 0.4s ease;
166
  }
167
 
168
  .project-btn:hover {
169
  transform: scale(1.08);
170
+ box-shadow: 0 0 40px rgba(99,102,241,0.45);
171
  }
172
 
173
  /* ===== FOOTER ===== */
174
  footer {
175
  text-align: center;
176
+ font-size: 13px;
177
+ opacity: 0.7;
178
  margin-bottom: 50px;
179
+ color: #334155;
180
  }