simran40 commited on
Commit
264bb45
Β·
verified Β·
1 Parent(s): d166d51

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +61 -75
style.css CHANGED
@@ -64,79 +64,72 @@ body{
64
  --ink:#334155;
65
  }
66
 
67
- /* ===== HERO BACKGROUND (MORE DREAMY) ===== */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  .hero{
69
- min-height:88vh;
70
  display:flex;
71
  justify-content:center;
72
  align-items:center;
73
- padding:30px 20px;
74
  }
75
 
76
- /* ===== ULTRA GLASS LAYERED HERO ===== */
77
  .hero-inner{
78
- position:relative;
79
  text-align:center;
80
- padding:54px 64px;
81
- border-radius:36px;
82
-
83
- /* layered glass */
84
- background:
85
- linear-gradient(
86
- 135deg,
87
- rgba(255,255,255,0.85),
88
- rgba(255,255,255,0.55)
89
- );
90
 
91
- backdrop-filter: blur(36px) saturate(170%);
92
- -webkit-backdrop-filter: blur(36px) saturate(170%);
 
 
 
93
 
 
94
  border:1px solid rgba(255,255,255,0.95);
95
 
96
  box-shadow:
97
- 0 50px 140px rgba(99,102,241,0.25),
98
- inset 0 1px 0 rgba(255,255,255,0.95);
99
 
100
- animation: floatGlass 7s ease-in-out infinite;
101
  }
102
 
103
- /* soft floating */
104
- @keyframes floatGlass{
105
  0%{ transform:translateY(0); }
106
- 50%{ transform:translateY(-14px); }
107
  100%{ transform:translateY(0); }
108
  }
109
 
110
- /* subtle glass shine */
111
- .hero-inner::after{
112
- content:"";
113
- position:absolute;
114
- inset:0;
115
- border-radius:36px;
116
- background:linear-gradient(
117
- 120deg,
118
- transparent 35%,
119
- rgba(255,255,255,0.6),
120
- transparent 65%
121
- );
122
- opacity:0.6;
123
- animation: shine 6s linear infinite;
124
- }
125
-
126
- @keyframes shine{
127
- from{ transform:translateX(-120%); }
128
- to{ transform:translateX(120%); }
129
- }
130
-
131
  /* ===== NAME ===== */
132
  .hero-name{
133
- font-size:58px;
134
- margin-bottom:10px;
135
- background:linear-gradient(
136
- 90deg,
137
- var(--lavender),
138
- var(--peach),
139
- var(--ice)
140
  );
141
  -webkit-background-clip:text;
142
  -webkit-text-fill-color:transparent;
@@ -144,54 +137,47 @@ body{
144
 
145
  /* ===== SUBTITLE ===== */
146
  .hero-sub{
147
- font-size:15.5px;
148
  font-weight:500;
149
- color:#6366f1;
150
- margin-bottom:20px;
151
  }
152
 
153
  /* ===== TEXT ===== */
154
  .hero-text{
155
  max-width:620px;
156
- margin:0 auto 28px;
157
  font-size:16px;
158
  line-height:1.9;
159
- color:var(--ink);
160
  }
161
 
162
- /* ===== BUTTONS (PURE GLASS) ===== */
163
  .hero-buttons{
164
  display:flex;
165
  justify-content:center;
166
  gap:22px;
167
  }
168
 
 
169
  .glass-btn{
170
- position:relative;
171
- padding:16px 44px;
172
  border-radius:999px;
 
 
 
173
 
174
- background:
175
- linear-gradient(
176
- 135deg,
177
- rgba(255,255,255,0.9),
178
- rgba(255,255,255,0.6)
179
- );
180
-
181
- backdrop-filter: blur(22px);
182
- border:1px solid rgba(255,255,255,1);
183
-
184
- color:#4f46e5;
185
  font-weight:700;
186
  letter-spacing:1px;
187
  text-decoration:none;
188
 
189
- transition:.4s ease;
190
  }
191
 
192
  .glass-btn:hover{
193
- transform:scale(1.1);
194
- box-shadow:
195
- 0 25px 70px rgba(253,164,175,0.45),
196
- 0 0 0 8px rgba(196,181,253,0.15);
197
  }
 
 
 
64
  --ink:#334155;
65
  }
66
 
67
+ /*/* ===== NEW PROFESSIONAL COLOR SYSTEM ===== */
68
+ :root{
69
+ --bg1:#fdf4ff; /* lavender white */
70
+ --bg2:#f0f9ff; /* ice blue */
71
+ --accent1:#6366f1; /* indigo */
72
+ --accent2:#ec4899; /* rose */
73
+ --accent3:#06b6d4; /* cyan */
74
+ }
75
+
76
+ /* ===== BACKGROUND (SOFT + CLEAN) ===== */
77
+ body{
78
+ min-height:100vh;
79
+ background:
80
+ radial-gradient(circle at 20% 15%, #e9d5ff 0%, transparent 35%),
81
+ radial-gradient(circle at 80% 30%, #fbcfe8 0%, transparent 40%),
82
+ radial-gradient(circle at 50% 90%, #cffafe 0%, transparent 40%),
83
+ linear-gradient(180deg,var(--bg1),var(--bg2));
84
+ color:#1f2937;
85
+ overflow-x:hidden;
86
+ }
87
+
88
+ /* ===== HERO (SPACE FIX + GLASS ANIMATED) ===== */
89
  .hero{
90
+ min-height:90vh; /* πŸ‘ˆ space kam */
91
  display:flex;
92
  justify-content:center;
93
  align-items:center;
94
+ padding:40px 20px;
95
  }
96
 
 
97
  .hero-inner{
 
98
  text-align:center;
99
+ padding:50px 60px;
100
+ border-radius:32px;
 
 
 
 
 
 
 
 
101
 
102
+ background:linear-gradient(
103
+ 120deg,
104
+ rgba(255,255,255,0.75),
105
+ rgba(255,255,255,0.55)
106
+ );
107
 
108
+ backdrop-filter: blur(32px) saturate(160%);
109
  border:1px solid rgba(255,255,255,0.95);
110
 
111
  box-shadow:
112
+ 0 40px 120px rgba(99,102,241,0.25),
113
+ inset 0 1px 0 rgba(255,255,255,0.9);
114
 
115
+ animation: glassFloat 6s ease-in-out infinite;
116
  }
117
 
118
+ /* subtle glass movement */
119
+ @keyframes glassFloat{
120
  0%{ transform:translateY(0); }
121
+ 50%{ transform:translateY(-12px); }
122
  100%{ transform:translateY(0); }
123
  }
124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  /* ===== NAME ===== */
126
  .hero-name{
127
+ font-size:56px;
128
+ margin-bottom:12px; /* πŸ‘ˆ spacing tight */
129
+ background:linear-gradient(90deg,
130
+ var(--accent1),
131
+ var(--accent2),
132
+ var(--accent3)
 
133
  );
134
  -webkit-background-clip:text;
135
  -webkit-text-fill-color:transparent;
 
137
 
138
  /* ===== SUBTITLE ===== */
139
  .hero-sub{
140
+ font-size:16px;
141
  font-weight:500;
142
+ color:#4338ca;
143
+ margin-bottom:22px;
144
  }
145
 
146
  /* ===== TEXT ===== */
147
  .hero-text{
148
  max-width:620px;
149
+ margin:0 auto 30px;
150
  font-size:16px;
151
  line-height:1.9;
152
+ color:#374151;
153
  }
154
 
155
+ /* ===== BUTTON GROUP ===== */
156
  .hero-buttons{
157
  display:flex;
158
  justify-content:center;
159
  gap:22px;
160
  }
161
 
162
+ /* ===== GLASS BUTTON ===== */
163
  .glass-btn{
164
+ padding:16px 42px;
 
165
  border-radius:999px;
166
+ background:rgba(255,255,255,0.7);
167
+ backdrop-filter: blur(18px);
168
+ border:1px solid rgba(255,255,255,0.95);
169
 
170
+ color:var(--accent1);
 
 
 
 
 
 
 
 
 
 
171
  font-weight:700;
172
  letter-spacing:1px;
173
  text-decoration:none;
174
 
175
+ transition:.35s ease;
176
  }
177
 
178
  .glass-btn:hover{
179
+ transform:scale(1.08);
180
+ box-shadow:0 20px 60px rgba(236,72,153,0.35);
 
 
181
  }
182
+
183
+