body{
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

#stage{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
    isolation: isolate;
}

#stage canvas{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

#backgroundImage{
    width: 100dvw;
    height: 100dvh;
    object-fit: cover;
}

#logo{
    position: absolute;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
    transition: top 0.3s ease-in-out, left 0.3s ease-in-out, width 0.3s ease-in-out, height 0.3s ease-in-out,transform 0.3s ease-in-out;
}

.logoCentered{
    top: 50dvh;
    left: 50dvw;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
}

.newLogoPosition{
    top: 2dvh;
    left: 50dvw;
    width: 150px;
    height: 150px;
    transform: translate(-50%, 0%);
}

.button{
    font-family: "fractul-variable", sans-serif;
    font-variation-settings: "wght" 700;
    -webkit-text-stroke: 2px rgb(0, 0, 0);
    paint-order: stroke ;
    color: white;
    transition: transform 0.5s ease-in-out;
    background-color: transparent;
    mix-blend-mode: multiply;
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    z-index: 2;

}
.buttonHidden{
    transform: scale(0);
}

.button:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
    mix-blend-mode: normal;
}

#buttons{
    width: 100%;
    position: absolute;
    top: 43dvh;
    display: flex;
    justify-content: space-around;
    font-size: 30px;
    z-index: 10;
    pointer-events: none;
    isolation: isolate;
}


#aboutButton{
    position: absolute;
    bottom: 10dvh;
    right: 5dvw;
    font-size: 20px;
    z-index: 1;
    pointer-events: auto;
}

#canvas{
    position: absolute;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    border: none;
    z-index: -1;
}

.buttonImage{
    width: 150px;
    height: 150px;
    object-fit: cover;
    animation: spin 10s linear infinite;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .logoCentered{
        width: 200px;
        height: 200px;
    }

    .newLogoPosition{
        width: 100px;
        height: 100px;
    }

    .buttonImage{
        width: 110px;
        height: 110px;
    }

    #buttons{
        top: 50dvh;
        padding: 0 1rem;
        gap: 0.5rem;
    }

    #aboutButton{
        font-size: 16px;
        bottom: 8dvh;
        right: 1rem;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .logoCentered{
        width: 150px;
        height: 150px;
    }

    .newLogoPosition{
        width: 80px;
        height: 80px;
    }

    .buttonImage{
        width: 85px;
        height: 85px;
    }

    #buttons{
        top: 52dvh;
    }

    #aboutButton{
        font-size: 14px;
        bottom: 6dvh;
    }
}

