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

html,
body {
    width: 100%;
    height: 1000vh;
    font-family: "Inter";
    background-color: #000;
    color: #fff;
}

p,
a {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.5;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

#logo {
    font-family: 'Dahlia';
    font-size: 40px;
    opacity: 1;
}

nav {
    position: fixed;
    top: 0;
    width: 100vw;
    padding: 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    margin-top: -20px;
    cursor: default;
}

.site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2em;
    cursor: default;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    padding: 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.slider-wrapper {
    position: absolute;
    margin-top: 100vh;
    min-height: 900vh;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.shadow-overlay {
    position: fixed;
    left: 0;
    width: 100%;
    height: 10vh;
    pointer-events: none;
    z-index: 4;
}

.shadow-overlay.top {
    top: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.8) 40%,
            rgba(0, 0, 0, 0) 100%);
}

.shadow-overlay.bottom {
    bottom: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.8) 40%,
            rgba(0, 0, 0, 0) 100%);
}

/* SVG WAVY LINES */
a-waves {
    --x: -0.5rem;
    --y: 50%;

    position: absolute;
    background: black;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;

    &:before {
        position: absolute;
        top: 0;
        left: 0;

        width: 0.5rem;
        height: 0.5rem;

        background: #fff;
        border-radius: 50%;

        transform: translate3d(calc(var(--x) - 50%), calc(var(--y) - 50%), 0);

        will-change: transform;

        content: "";
    }

    svg {
        display: block;

        width: 100%;
        height: 100%;

        path {
            fill: none;
            stroke: #444444;
            stroke-width: 1px;
        }
    }
}

.name-svg {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow: hidden;

    rect {
        fill: #fff;
    }

    mask {
        text {
            font-size: 20vw;
            font-family: "Inter";
            line-height: 1;
        }

        .description {
            line-height: 1;
            font-size: 5vw;
            font-family: "Dahlia";
        }
    }
}

@font-face {
    font-family: 'Dahlia';
    src: url('./fonts/dahlia-medium.woff2');
}

@media screen and (max-width: 768px) {
    nav {
        padding: 1.5em;
        flex-direction: column;
        gap: 1em;
    }

    .nav-links {
        gap: 1em;
    }

    p,
    a {
        font-size: 15px;
    }

    p#logo {
        font-size: 32px;
    }

    footer {
        padding: 1.5em;
    }

    .shadow-overlay {
        height: 25vh;
    }
}