fix particles amount

This commit is contained in:
2026-01-12 18:06:42 -06:00
parent efc68a4486
commit b78fea0762
3 changed files with 160 additions and 36 deletions

View File

@@ -13,12 +13,13 @@
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
margin: 0;
box-sizing: border-box;
}
.header-nav {
display: flex;
justify-content: center;
gap: clamp(10px, 2vw, 40px);
gap: clamp(8px, 2vw, 32px);
flex-wrap: nowrap;
padding: 0 20px;
}
@@ -61,3 +62,92 @@
.nav-link.active::after {
width: 100%;
}
/* Mobile Navigation Styles */
.header-content {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.mobile-toggle {
display: none;
flex-direction: column;
justify-content: space-between;
width: 30px;
height: 21px;
background: transparent;
border: none;
cursor: pointer;
z-index: 1001;
padding: 0;
}
.hamburger-line {
width: 100%;
height: 3px;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 3px;
transition: all 0.3s ease;
}
@media (max-width: 1024px) {
.floating-header {
padding: 15px 20px;
text-align: left;
}
.header-content {
justify-content: flex-end;
/* Align hamburger to right */
}
.mobile-toggle {
display: flex;
}
/* Animate Hamburger to X */
.mobile-toggle.open .hamburger-line:nth-child(1) {
transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.open .hamburger-line:nth-child(2) {
opacity: 0;
}
.mobile-toggle.open .hamburger-line:nth-child(3) {
transform: translateY(-9px) rotate(-45deg);
}
.header-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100vh;
background: rgba(10, 10, 30, 0.95);
backdrop-filter: blur(15px);
flex-direction: column;
justify-content: center;
align-items: center;
gap: 30px;
transform: translateX(100%);
transition: transform 0.3s ease-in-out;
z-index: 999;
/* Below toggle button */
padding: 0;
}
.header-nav.is-open {
transform: translateX(0);
}
.nav-link {
font-size: 24px;
padding: 10px 0;
}
}