@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); :root { /* Colors */ --bg: #000000; --surface: #000000; --accent: #31DFAA; --accent-glow:rgba(49, 223, 170, 0.41); --fg: #FFFFFF; --secondary: #B8B8B8; --border: rgba(255, 255, 255, 0.08); /* Typography */ --font-display: 'Poppins', sans-serif; --font-body: 'Poppins', sans-serif; /* Spacing */ --section-padding: clamp(80px, 12vw, 160px); --container-max: 1440px; /* Effects */ --radius-lg: 24px; --radius-md: 16px; --glass: blur(12px) saturate(180%); --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { background-color: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; } /* Typography */ h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; } h1 { font-size: clamp(48px, 8vw, 112px); } h2 { font-size: clamp(32px, 5vw, 64px); } p { color: var(--secondary); font-size: clamp(16px, 1.2vw, 20px); max-width: 100ch; } /* Layout */ .container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; } /* Header */ header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 32px 0; transition: var(--transition); } /* ===== NAV CONTAINER ===== */ .nav-container { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid rgba(255, 255, 255, 0.1); background: #121416; box-shadow: 0 0 7.5px rgba(0, 0, 0, 0.25); border-radius: 999px; height: 68px; padding: 2px 4px 2px 2px; max-width: 850px; width: 100%; margin: 0 auto; } /* ===== SLIPPERY PILL (the moving background) ===== */ .slippery-pill { position: absolute; height: 60px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); pointer-events: none; z-index: 1; } /* ===== NAV LINKS ===== */ .nav-link { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; text-transform: uppercase; color: white; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; height: 60px; padding: 0 24px; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: color 0.3s ease; flex: 1; } .nav-link:hover { color: #31DFAA; } /* Active state */ .nav-link.active { color: #31DFAA; }  #mobileMenu.active .flyout-nav-container { left: 0; } .flyout-nav-container { position: fixed; width: 250px; left: -250px; height: 100%; top: 0; z-index: 9999; font-size: 0.9rem; font-weight: bold; overflow: auto; background:rgb(18 20 22 / var(--tw-bg-opacity, 1)); -webkit-transition: 0.4s; transition: 0.4s; -webkit-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-box-shadow: inset -10px 0 6px -9px rgba(0, 0, 0, 0.7); box-shadow: inset -10px 0 6px -9px rgba(0, 0, 0, 0.7);  } .flyout-nav-container ul { padding: 0; margin: 0; list-style: none; } .flyout-nav-container ul a { display: block; padding: 1em 1.6em; border-bottom: 1px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.05); border-left: 5px solid rgba(0, 0, 0, 0.3); text-decoration: none; color: #b1b1b1; font-family: 'Poppins', sans-serif; font-weight: 300; } .flyout-nav-container ul a:hover { background: #31DFAA; color: white; font-weight: 500; } .flyout-nav-container ul ul ul { padding-left: 1.5em; font-weight: lighter; } .flyout-nav-container ul ul ul li:hover > a { background: rgba(0, 0, 0, 0.2); color: white; border-left-color: #98EFD5; } .flyout-nav-container ul ul li:hover > a { background: #98EFD5; color: white; } .flyout-nav-container > ul > li > a { color: white; border-left-color: #98EFD5; background: rgba(0, 0, 0, 0.15); } .flyout-nav-container .logo { padding: 1em 0.5em; } .flyout-active .flyout-nav-container { left: 0; } @media (max-width: 940px) { .flyout-nav-container .logo { display: none; } } /* ===== RESPONSIVE ===== */ @media (max-width: 768px) { .nav-container { display: none; /* or make it a hamburger menu */ } } /* Smooth Header Animation */ #header { transition: var(--transition); } /* Scroll State */ #header.scrolled { background: rgba(5, 5, 5, 0.75); backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; } /* Mobile Menu Animation */ .mobile-menu { transition: all 0.4s ease; transform: translateY(-20px); opacity: 0; pointer-events: none; position: absolute; top: 100%; left: 0; width: 100%; } .mobile-menu.active { transform: translateY(0); opacity: 1; pointer-events: auto; } /* Hamburger Animation */ .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); } .menu-toggle.active span:nth-child(2) { opacity: 0; } .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } /* Hero */ .hero { padding-top: 180px; padding-bottom: 0px; text-align: center; overflow: hidden; position: relative; background-color: var(--surface); background-position: top center; background-repeat: no-repeat; } .hero h1 { margin-bottom: 24px; max-width: 1000px; margin-inline: auto; position: relative; z-index: 1; } .hero p { margin: 0 auto 48px; position: relative; z-index: 1; } .hero-ctas { display: flex; justify-content: center; gap: 16px; margin-bottom: 0; position: relative; z-index: 1; } /* Mobile Nav */ .menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; } .menu-toggle span { width: 24px; height: 2px; background: var(--fg); transition: var(--transition); } /* Reveal Animation */ .reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); } .reveal.active { opacity: 1; transform: translateY(0); } @media (max-width: 991px) { .menu-toggle { display: flex; } .hero-ctas { flex-direction: column; } } @media (max-width: 768px) { .nav-container { display: none; } }
.rollover-container { height: 80px; overflow: hidden; position: relative; } .rollover-text { animation: roll-text 6s ease-in-out infinite; } .rollover-text span { display: block; height: 80px; } /* Text colors */ .rollover-text span:nth-child(1) { -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .rollover-text span:nth-child(2) { -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .rollover-text span:nth-child(3) { -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* ===== KEYFRAMES ===== */ @keyframes roll-text { 0%, 20% { transform: translateY(0); } 33.33%, 53.33% { transform: translateY(-80px); } 66.66%, 86.66% { transform: translateY(-160px); } 100% { transform: translateY(0); } } /* ===== RESPONSIVE ===== */ @media (max-width: 768px) { .rollover-container { height: 50px; } .rollover-text span { height: 102px; } @keyframes roll-text { 0%, 20% { transform: translateY(0); } 33.33%, 53.33% { transform: translateY(-50px); } 66.66%, 86.66% { transform: translateY(-100px); } 100% { transform: translateY(0); } } }