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

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +76 -99
style.css CHANGED
@@ -5,174 +5,151 @@
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;
60
  }
61
 
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
 
82
  /* ===== LINKS ===== */
83
  .links a {
84
  display: inline-block;
85
- margin-right: 22px;
86
- margin-top: 18px;
 
 
87
  text-decoration: none;
88
- font-weight: 600;
89
- color: #c7d2fe;
90
- position: relative;
91
- }
92
-
93
- .links a::after {
94
- content: "";
95
- position: absolute;
96
- left: 0;
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
  }
104
 
105
- .links a:hover::after {
106
- transform: scaleX(1);
107
  }
108
 
109
- /* ===== SKILLS GLASS PILLS ===== */
110
  .skills {
111
  display: flex;
112
  flex-wrap: wrap;
113
- gap: 14px;
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;
163
 
164
- transition: transform 0.4s ease, box-shadow 0.4s ease;
165
  }
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 ===== */
173
  footer {
174
  text-align: center;
175
- font-size: 13px;
176
- opacity: 0.65;
177
- margin-bottom: 40px;
178
  }
 
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
  }