Spaces:
Sleeping
Sleeping
Update public/styles.css
Browse files- public/styles.css +32 -5
public/styles.css
CHANGED
|
@@ -128,7 +128,7 @@ body::before {
|
|
| 128 |
border: none;
|
| 129 |
cursor: pointer;
|
| 130 |
padding: 0;
|
| 131 |
-
z-index:
|
| 132 |
position: relative;
|
| 133 |
}
|
| 134 |
|
|
@@ -193,6 +193,28 @@ body::before {
|
|
| 193 |
box-shadow: 0 6px 20px rgba(255, 168, 168, 0.4) !important;
|
| 194 |
}
|
| 195 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
/* Mobile Navigation */
|
| 197 |
@media (max-width: 768px) {
|
| 198 |
.nav-toggle {
|
|
@@ -201,20 +223,21 @@ body::before {
|
|
| 201 |
|
| 202 |
.nav-menu {
|
| 203 |
position: fixed;
|
| 204 |
-
top:
|
| 205 |
right: -100%;
|
| 206 |
width: 280px;
|
| 207 |
-
height:
|
| 208 |
background: rgba(44, 62, 80, 0.98);
|
| 209 |
backdrop-filter: blur(20px);
|
| 210 |
flex-direction: column;
|
| 211 |
-
padding: 2rem;
|
| 212 |
gap: 0.5rem;
|
| 213 |
-
box-shadow: -5px 0 20px rgba(0, 0, 0, 0.
|
| 214 |
transition: right 0.3s ease;
|
| 215 |
overflow-y: auto;
|
| 216 |
border-left: 1px solid rgba(255, 255, 255, 0.1);
|
| 217 |
align-items: stretch;
|
|
|
|
| 218 |
}
|
| 219 |
|
| 220 |
.nav-menu.active {
|
|
@@ -232,6 +255,10 @@ body::before {
|
|
| 232 |
margin-top: 1rem;
|
| 233 |
justify-content: center;
|
| 234 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 235 |
}
|
| 236 |
|
| 237 |
/* ===== HERO SECTION ===== */
|
|
|
|
| 128 |
border: none;
|
| 129 |
cursor: pointer;
|
| 130 |
padding: 0;
|
| 131 |
+
z-index: 1002;
|
| 132 |
position: relative;
|
| 133 |
}
|
| 134 |
|
|
|
|
| 193 |
box-shadow: 0 6px 20px rgba(255, 168, 168, 0.4) !important;
|
| 194 |
}
|
| 195 |
|
| 196 |
+
.nav-overlay {
|
| 197 |
+
display: none;
|
| 198 |
+
position: fixed;
|
| 199 |
+
top: 0;
|
| 200 |
+
left: 0;
|
| 201 |
+
width: 100%;
|
| 202 |
+
height: 100%;
|
| 203 |
+
background: rgba(0, 0, 0, 0.5);
|
| 204 |
+
z-index: 999;
|
| 205 |
+
opacity: 0;
|
| 206 |
+
transition: opacity 0.3s ease;
|
| 207 |
+
}
|
| 208 |
+
|
| 209 |
+
.nav-overlay.active {
|
| 210 |
+
display: block;
|
| 211 |
+
opacity: 1;
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
body.menu-open {
|
| 215 |
+
overflow: hidden;
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
/* Mobile Navigation */
|
| 219 |
@media (max-width: 768px) {
|
| 220 |
.nav-toggle {
|
|
|
|
| 223 |
|
| 224 |
.nav-menu {
|
| 225 |
position: fixed;
|
| 226 |
+
top: 0;
|
| 227 |
right: -100%;
|
| 228 |
width: 280px;
|
| 229 |
+
height: 100vh;
|
| 230 |
background: rgba(44, 62, 80, 0.98);
|
| 231 |
backdrop-filter: blur(20px);
|
| 232 |
flex-direction: column;
|
| 233 |
+
padding: 5rem 2rem 2rem;
|
| 234 |
gap: 0.5rem;
|
| 235 |
+
box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
|
| 236 |
transition: right 0.3s ease;
|
| 237 |
overflow-y: auto;
|
| 238 |
border-left: 1px solid rgba(255, 255, 255, 0.1);
|
| 239 |
align-items: stretch;
|
| 240 |
+
z-index: 1001;
|
| 241 |
}
|
| 242 |
|
| 243 |
.nav-menu.active {
|
|
|
|
| 255 |
margin-top: 1rem;
|
| 256 |
justify-content: center;
|
| 257 |
}
|
| 258 |
+
|
| 259 |
+
.nav-container {
|
| 260 |
+
padding: 0 var(--spacing-md);
|
| 261 |
+
}
|
| 262 |
}
|
| 263 |
|
| 264 |
/* ===== HERO SECTION ===== */
|