* {
    margin: 0;
    padding: 0;
    font-family: inter;
}

body {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    background: #000 url("../images/noise.webp");
}

main {
    width: 100vw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;

}

@font-face {
    font-display: swap;
    font-family: "sterling";
    src: url("../fonts/sterling.woff2");
}

.name {
    width: 100vw;
    height: max-content;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    box-sizing: border-box;
}

.tagline {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-75%) !important;
    width: 100%;
    display: flex;
    padding: 0 25px;
    box-sizing: border-box;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: sterling;
}

.name>div {
    width: min-content;
    display: flex;
    font-weight: 500;
    font-family: sterling;
}

.name>div>span {
    cursor: pointer;
    font-family: inherit;
}

.blurDiv {
    width: 120vw;
    aspect-ratio: 1 / 1;
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 0%;
    opacity: 0.6;
    transform: translateX(-50%) translateY(100%);
    background-image: url(../images/whiteSun.webp);
    background-position: center;
    background-size: cover;
    animation: goUp 1.25s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    filter: blur(200px);
    pointer-events: none;
}

@keyframes goUp {
    0% {
        transform: translateX(-50%) translateY(130%);
    }

    100% {
        transform: translateX(-50%) translateY(-65%);
    }
}

@keyframes hideOverlay {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.overlay {
    background: black;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999999999999;
    width: 100vw;
    height: 100dvh;
    opacity: 1;
    animation: hideOverlay 1s ease-out forwards;
}

.name>div>span {
    position: relative;
}

.popup {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 100px;
    width: 100%;
    height: 100%;
    transform: scale(0) rotate(0deg);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup>img {
    height: 60%;
    width: auto;
    pointer-events: none;
}

.char {
    display: inline-block;
    transition: filter 0.3s ease;
}

#text {
    font-size: calc(100vw * 0.192);
    height: calc((100vw * 0.192) + 1vw);
}

.char:nth-child(5) {
    z-index: -1;
}

#grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

@media (max-width: 599px) {

    html,
    body {
        overflow-x: hidden;
        position: relative;
        height: 100dvh;
        max-height: 100dvh;
    }

    .name {
        bottom: 0%;
        /* transform: translateY(75%); */
    }

    .blurDiv {
        width: 200vw;
    }

    .tagline {
        padding: 0 6vw;
        /* transform: translateY(-100%) !important; */
        font-size: calc(100vw * 0.043);
    }

    .spaceChar{
        display: none;
    }

    #text {
        font-size: calc(100vw * 0.275);
        /* background: red; */
        width: 100vw;
        display: flex;
        flex-wrap: wrap;
        height: max-content;
        padding: 0 6vw;
        /* height: calc((100vw * 0.192) + 1vw); */
    }

    .char{
        margin-bottom: -2.5vh;
    }
}