body {
    --cubesize: 50px;
    --dvalue: 0.05s;
    --dvalue2: 0.015s;
    --bgad: 75ms;
}


@font-face {
    font-family: "Saturn";
    src: url("font.otf");
}

@font-face {
    font-family: "ding";
    src: url("ding.ttf");
}


.introcontainer {
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    height: 100vh;
    width: 100vw;
    background-color: transparent;
    animation-fill-mode: forwards;
    z-index: 15;
}


.bgscontainer {
    position: absolute;
    left: 0;
    top: 0;
    width: 110vw;
    height: 100vh;
    font-size: 0;
}

.bgscontainer div {
    overflow: hidden;
    position: relative;
    display: inline-block;
    margin: 0;
    border: transparent;
    gap: 0;
    width: 10vw;
    height: 100%;
    background-color: #2D1E2F;
    animation-delay: calc(var(--ad)*var(--bgad));
    animation-fill-mode: forwards;
}

.bganim {
    animation-name: slidedown;
    animation-duration: 0.75s;
    animation-timing-function: ease-in-out;
}

@keyframes slidedown {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100vh);
    }
}

.animcontainer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);

}

.cube {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(calc(var(--cubesize)*var(--ox))) translateY(calc(var(--cubesize)*(var(--oy)*-1)));
    background-color: white;
    animation-fill-mode: forwards;
    margin-left: 6.25%;
    margin-top: 6.25%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: transparent;
}

.cube img {
    position: absolute;
    top: -1.5%;
    left: -1.5%;
    height: 103%;
    width: 103%;
    animation-fill-mode: forwards;
}

.sizedup {
    height: var(--cubesize);
    width: var(--cubesize);
}

.anim {
    animation-name: secondanim;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(1, 0, 0, 1);
    animation-delay: calc((var(--dvalue)*var(--od)));
}

.animmain {
    animation-name: mainanim;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0, 0, 0, 1);
    animation-delay: calc((var(--dvalue)*var(--od)));
}

.animthird {
    animation-name: thirdanim;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0, 0, 0, 1);
    animation-delay: var(--dvalue);
    animation-delay: calc((var(--dvalue2)*var(--od2)));
}

.cubewrapper {
    height: 100%;
    width: 100%;
    transform: rotate(45deg) translateY(calc((var(--cubesize))*-1)) translateX(calc((var(--cubesize))*-1));
    transform: rotate(0);
    transition: 250ms;
}

.animimgs {
    animation-name: imganim;
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0, 0, 0, 1);
    animation-delay: var(--dvalue);
    animation-delay: calc((var(--dvalue2)*var(--od2)));
}

.hidden {
    display: none;
}

.titlewrapper {
    position: absolute;
    width: max-content;
    left: 50%;
    top: 70%;
    transform: translate(-50%, 0);
}

.titlewrapper h1 {
    color: white;
    line-height: 0%;
    font-family: Saturn;
    font-size: 7rem;
    letter-spacing: 0rem;
}

.titletext {
    color: white;
    line-height: 50%;
    font-family: Saturn;
    font-size: 7rem;
    letter-spacing: 0rem;
    margin: 0;
    padding: 0;
}

.hackingtext {
    background-color: white;
    color: #2D1E2F;
    line-height: 50%;
    font-family: Saturn;
    font-size: 7rem;
    letter-spacing: 0rem;
    margin: 0;
    padding: 0;
}

#gifbanner {
    opacity: 0;
}


@keyframes mainanim {
    0% {
        height: 0;
        width: 0;
    }

    100% {
        height: var(--cubesize);
        width: var(--cubesize);
    }
}

@keyframes secondanim {
    0% {
        height: 0;
        width: 0;
        top: 50%;
        left: 50%;
    }

    50% {
        height: 0;
        width: 0;
        top: 50%;
        left: 50%;
    }


    100% {
        top: 50%;
        left: 50%;
        height: var(--cubesize);
        width: var(--cubesize);
    }
}


@keyframes thirdanim {
    0% {
        top: 50%;
        left: 50%;
    }

    100% {
        top: 20%;
        left: 50%;
    }
}

@keyframes imganim {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}