@import url('https://fonts.cdnfonts.com/css/blanquotey');

@font-face {
    font-family: 'Canopee';
    src: url('/fonts/Canopee/Canopee-Regular.woff2') format('woff2'),
         url('/fonts/Canopee/Canopee-Regular.woff') format('woff'),
         url('/fonts/Canopee/Canopee-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #a0a0a0;
    font-family: "Blanquotey", Arial, sans-serif;
    color: #1a1a1a;
}

a {
    text-decoration: none;
    color: #cdc6be;
}

/* Preloader styles */
#preloader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #a0a0a0;
    z-index: 9999;
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    display: flex;
}

.bar {
    width: 10vw;
    height: 105vh;
    background: #1a1a1a;
}

.counter {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.2em 0.4em;
    font-size: 20vw;
    line-height: 0.8;
    color: #bcbcc4;
    z-index: 10000;
}

/* Main content styles */
#main-content {
    position: relative;
    width: 100%;
    height: 100vh;
    opacity: 0;
}

#textContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100%;
    height: 100%;
}

#comingSoon {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3vw;
    color: #1a1a1a;
    opacity: 0;
}

/* Navigation styles */
nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em 2em;
    color: #cdc6be;
    mix-blend-mode: difference;
    z-index: 20;
}

nav .info {
    font-family: "Canopee";
}
nav > div {
    flex: 1;
}

.logo {
    text-align: center;
    font-family: Canopee;
}

.logo a {
    text-decoration: none;
    font-size: 30px;
    color: #cdc6be;
}

.toggle-btn {
    display: flex;
    justify-content: flex-end;
}

.burger {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.75em 2em 1.5em 2em;
    background: rgba(255, 255, 255, 0);
    outline: none;
    border: none;
    width: 28px;
    height: 20px;
    transition: all 250ms ease-out;
    cursor: pointer;
}

.burger:before, .burger:after {
    content: "";
    width: 40px;
    height: 2px;
    position: absolute;
    background: #cdc6be;
    transition: all 250ms ease-out;
    will-change: transform;
}

.burger:before {
    transform: translateY(-3px);
}

.burger:after {
    transform: translateY(3px);
}

.active.burger:before {
    transform: translateY(0) rotate(45deg);
}

.active.burger:after {
    transform: translateY(0) rotate(-45deg);
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    background: #141412;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    will-change: clip-path;
    z-index: 10;
}

.overlay-menu-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    gap: 1em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 11;
}

.menu-item {
    display: flex;
    cursor: pointer;
}

.menu-item p {
    position: relative;
    text-align: center;
    font-family: "Canopee";
    font-size: 15vw;
    line-height: 80%;
    will-change: transform;
    transition: letter-spacing 0.3s;
}

.menu-item p:hover {
    letter-spacing: 0.075em;
}

.menu-item p#active::after {
    content: "";
    position: absolute;
    top: 45%;
    left: 0;
    transform: translateY(-50%);
    background: #c03f13;
    width: 100%;
    height: 12px;
}

.sub-nav {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5em;
    opacity: 0;
    z-index: 11;
}

.sub-nav p {
    font-family: "Canopee";
    font-size: 20px;
}

@media(max-width: 900px) {
    .logo a {
        font-size: 20px;
    }
}

