Update style.css
Browse files
style.css
CHANGED
|
@@ -16,11 +16,12 @@
|
|
| 16 |
align-items: center;
|
| 17 |
justify-content: center;
|
| 18 |
color: #fff;
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
.welcome-container {
|
| 22 |
display: flex;
|
| 23 |
-
width:
|
| 24 |
max-width: 1100px;
|
| 25 |
background: rgba(255,255,255,0.1);
|
| 26 |
backdrop-filter: blur(18px);
|
|
@@ -32,25 +33,25 @@
|
|
| 32 |
/* LEFT HERO */
|
| 33 |
.welcome-left {
|
| 34 |
flex: 1;
|
| 35 |
-
padding: 70px 60px;
|
| 36 |
position: relative;
|
| 37 |
}
|
| 38 |
|
| 39 |
.welcome-left h1 {
|
| 40 |
-
font-size: 3.2rem;
|
| 41 |
font-weight: 900;
|
| 42 |
}
|
| 43 |
|
| 44 |
.welcome-left h2 {
|
| 45 |
margin: 15px 0;
|
| 46 |
-
font-size: 1.5rem;
|
| 47 |
font-weight: 600;
|
| 48 |
}
|
| 49 |
|
| 50 |
.welcome-left p {
|
| 51 |
max-width: 420px;
|
| 52 |
line-height: 1.7;
|
| 53 |
-
font-size: 1.05rem;
|
| 54 |
}
|
| 55 |
|
| 56 |
.glow-circle {
|
|
@@ -66,9 +67,10 @@
|
|
| 66 |
/* LOGIN CARD */
|
| 67 |
.login-card {
|
| 68 |
width: 380px;
|
|
|
|
| 69 |
background: white;
|
| 70 |
color: #0f172a;
|
| 71 |
-
padding: 45px 35px;
|
| 72 |
}
|
| 73 |
|
| 74 |
.login-card h3 {
|
|
@@ -131,14 +133,14 @@
|
|
| 131 |
display: flex;
|
| 132 |
justify-content: space-between;
|
| 133 |
align-items: center;
|
| 134 |
-
padding: 18px 30px;
|
| 135 |
background: rgba(255,255,255,0.8);
|
| 136 |
backdrop-filter: blur(12px);
|
| 137 |
box-shadow: 0 8px 25px rgba(0,0,0,0.08);
|
| 138 |
}
|
| 139 |
|
| 140 |
.logo {
|
| 141 |
-
font-size: 1.3rem;
|
| 142 |
font-weight: 800;
|
| 143 |
color: #2563eb;
|
| 144 |
}
|
|
@@ -156,11 +158,11 @@
|
|
| 156 |
/* HERO */
|
| 157 |
.hero {
|
| 158 |
text-align: center;
|
| 159 |
-
padding: 90px 20px;
|
| 160 |
}
|
| 161 |
|
| 162 |
.hero h1 {
|
| 163 |
-
font-size: 3rem;
|
| 164 |
font-weight: 900;
|
| 165 |
color: #2563eb;
|
| 166 |
margin-bottom: 15px;
|
|
@@ -170,15 +172,17 @@
|
|
| 170 |
max-width: 650px;
|
| 171 |
margin: 0 auto 50px;
|
| 172 |
color: #475569;
|
| 173 |
-
font-size: 1.1rem;
|
| 174 |
}
|
| 175 |
|
|
|
|
| 176 |
.feature-grid {
|
| 177 |
display: grid;
|
| 178 |
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
| 179 |
gap: 25px;
|
| 180 |
max-width: 900px;
|
| 181 |
margin: auto;
|
|
|
|
| 182 |
}
|
| 183 |
|
| 184 |
.feature-card {
|
|
@@ -197,10 +201,10 @@
|
|
| 197 |
/* VOICE BUTTON */
|
| 198 |
.voice-button {
|
| 199 |
position: fixed;
|
| 200 |
-
bottom: 30px;
|
| 201 |
-
left: 30px;
|
| 202 |
-
width: 70px;
|
| 203 |
-
height: 70px;
|
| 204 |
border-radius: 50%;
|
| 205 |
border: none;
|
| 206 |
background: linear-gradient(135deg, #22c55e, #06b6d4);
|
|
@@ -210,7 +214,9 @@
|
|
| 210 |
box-shadow: 0 20px 40px rgba(6,182,212,0.5);
|
| 211 |
}
|
| 212 |
|
| 213 |
-
/*
|
|
|
|
|
|
|
| 214 |
@media (max-width: 900px) {
|
| 215 |
.welcome-container {
|
| 216 |
flex-direction: column;
|
|
@@ -220,7 +226,14 @@
|
|
| 220 |
text-align: center;
|
| 221 |
}
|
| 222 |
|
| 223 |
-
.
|
| 224 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 225 |
}
|
| 226 |
}
|
|
|
|
| 16 |
align-items: center;
|
| 17 |
justify-content: center;
|
| 18 |
color: #fff;
|
| 19 |
+
padding: 20px;
|
| 20 |
}
|
| 21 |
|
| 22 |
.welcome-container {
|
| 23 |
display: flex;
|
| 24 |
+
width: 100%;
|
| 25 |
max-width: 1100px;
|
| 26 |
background: rgba(255,255,255,0.1);
|
| 27 |
backdrop-filter: blur(18px);
|
|
|
|
| 33 |
/* LEFT HERO */
|
| 34 |
.welcome-left {
|
| 35 |
flex: 1;
|
| 36 |
+
padding: clamp(40px, 6vw, 70px) clamp(30px, 5vw, 60px);
|
| 37 |
position: relative;
|
| 38 |
}
|
| 39 |
|
| 40 |
.welcome-left h1 {
|
| 41 |
+
font-size: clamp(2.2rem, 5vw, 3.2rem);
|
| 42 |
font-weight: 900;
|
| 43 |
}
|
| 44 |
|
| 45 |
.welcome-left h2 {
|
| 46 |
margin: 15px 0;
|
| 47 |
+
font-size: clamp(1.2rem, 3vw, 1.5rem);
|
| 48 |
font-weight: 600;
|
| 49 |
}
|
| 50 |
|
| 51 |
.welcome-left p {
|
| 52 |
max-width: 420px;
|
| 53 |
line-height: 1.7;
|
| 54 |
+
font-size: clamp(0.95rem, 2.5vw, 1.05rem);
|
| 55 |
}
|
| 56 |
|
| 57 |
.glow-circle {
|
|
|
|
| 67 |
/* LOGIN CARD */
|
| 68 |
.login-card {
|
| 69 |
width: 380px;
|
| 70 |
+
max-width: 100%;
|
| 71 |
background: white;
|
| 72 |
color: #0f172a;
|
| 73 |
+
padding: clamp(30px, 4vw, 45px) clamp(25px, 4vw, 35px);
|
| 74 |
}
|
| 75 |
|
| 76 |
.login-card h3 {
|
|
|
|
| 133 |
display: flex;
|
| 134 |
justify-content: space-between;
|
| 135 |
align-items: center;
|
| 136 |
+
padding: clamp(14px, 3vw, 18px) clamp(18px, 4vw, 30px);
|
| 137 |
background: rgba(255,255,255,0.8);
|
| 138 |
backdrop-filter: blur(12px);
|
| 139 |
box-shadow: 0 8px 25px rgba(0,0,0,0.08);
|
| 140 |
}
|
| 141 |
|
| 142 |
.logo {
|
| 143 |
+
font-size: clamp(1.1rem, 2.5vw, 1.3rem);
|
| 144 |
font-weight: 800;
|
| 145 |
color: #2563eb;
|
| 146 |
}
|
|
|
|
| 158 |
/* HERO */
|
| 159 |
.hero {
|
| 160 |
text-align: center;
|
| 161 |
+
padding: clamp(60px, 8vw, 90px) 20px;
|
| 162 |
}
|
| 163 |
|
| 164 |
.hero h1 {
|
| 165 |
+
font-size: clamp(2rem, 5vw, 3rem);
|
| 166 |
font-weight: 900;
|
| 167 |
color: #2563eb;
|
| 168 |
margin-bottom: 15px;
|
|
|
|
| 172 |
max-width: 650px;
|
| 173 |
margin: 0 auto 50px;
|
| 174 |
color: #475569;
|
| 175 |
+
font-size: clamp(1rem, 2.5vw, 1.1rem);
|
| 176 |
}
|
| 177 |
|
| 178 |
+
/* FEATURES */
|
| 179 |
.feature-grid {
|
| 180 |
display: grid;
|
| 181 |
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
| 182 |
gap: 25px;
|
| 183 |
max-width: 900px;
|
| 184 |
margin: auto;
|
| 185 |
+
padding: 0 10px;
|
| 186 |
}
|
| 187 |
|
| 188 |
.feature-card {
|
|
|
|
| 201 |
/* VOICE BUTTON */
|
| 202 |
.voice-button {
|
| 203 |
position: fixed;
|
| 204 |
+
bottom: clamp(20px, 4vw, 30px);
|
| 205 |
+
left: clamp(15px, 4vw, 30px);
|
| 206 |
+
width: clamp(60px, 10vw, 70px);
|
| 207 |
+
height: clamp(60px, 10vw, 70px);
|
| 208 |
border-radius: 50%;
|
| 209 |
border: none;
|
| 210 |
background: linear-gradient(135deg, #22c55e, #06b6d4);
|
|
|
|
| 214 |
box-shadow: 0 20px 40px rgba(6,182,212,0.5);
|
| 215 |
}
|
| 216 |
|
| 217 |
+
/* =========================
|
| 218 |
+
STACKING FOR SMALL SCREENS
|
| 219 |
+
========================= */
|
| 220 |
@media (max-width: 900px) {
|
| 221 |
.welcome-container {
|
| 222 |
flex-direction: column;
|
|
|
|
| 226 |
text-align: center;
|
| 227 |
}
|
| 228 |
|
| 229 |
+
.welcome-left p {
|
| 230 |
+
margin: auto;
|
| 231 |
+
}
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
@media (max-width: 480px) {
|
| 235 |
+
.logout-btn {
|
| 236 |
+
padding: 7px 14px;
|
| 237 |
+
font-size: 0.85rem;
|
| 238 |
}
|
| 239 |
}
|