@font-face {
    font-family: 'Comic Sans';
    src: local('Comic Sans'), local('Comic Sans MS'), url('/assets/fonts/COMICSANS.woff') format('woff'), url('/assets/fonts/COMICSANS.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #404040;
    margin: 0;
    color: white;
    overflow: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

#loading {
    position: absolute;
    margin: 0 auto;
    width: 100vw;
    height: 100vh;
    user-select: none;
    background-color: #404040;
    z-index: 999999;
}

#loading-img {
    position: absolute;
    width: 100%;
    height: 100%;
}

#loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Comic Sans', cursive;
    font-size: 4em;
    color: white;
}

#bmb-img-layout {
    position: relative;
    margin: 0 auto;
    width: 100vw;
    height: 100vh;
    user-select: none;
}

#base-img {
    position: absolute;
    width: 100%;
    height: 100%;
}

#light-img {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#doorway-img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

#soyjak {
    position: absolute;
    top: 50vh;
    left: 88.6vw;
}

#soyjak-img {
    width: 8.75vh; /*vh because he's sideways*/
    transform: rotate(270deg);
    z-index: -5;
}

#eyesContainer {
    position: absolute;
    width: 8vw;
    height: 2vh;
    top: 31vh;
    left: 45vw;
    background-color: white;
}

#eyes {
    position: relative;
    width: 100%;
    height: 100%;
}

.eye {
    background-color: black;
    border-radius: 50%;
    width: 10px;
    height: 12px;
    filter: blur(1px);
    z-index: 0;
}

#left-eye {
    position: absolute;
    top: 0.4vh;
    left: 1vw;
}

#right-eye {
    position: absolute;
    top: 0.7vh;
    left: 6.4vw;
}

#laptopDot {
    position: absolute;
    top: 83.7vh;
    left: 67.8vw;
    width: 0.15vw;
    height: 0.25vh;
    background-color: red;
    border-radius: 50%;
    filter: blur(1px);
}

#phoneButton {
    position: absolute;
    top: 75.75vh;
    left: 24.8vw;
    width: 2.25vw;
    height: 5.8vh;
    transform: rotate(20deg);
    border-radius: 16px;
    cursor: pointer;
}

#buyButton {
    position: absolute;
    top: 73.75vh;
    left: 41.5vw;
    width: 13vw;
    height: 21vh;
    border-radius: 50%;
    border-top-left-radius: 65%;
    border-top-right-radius: 55%;
    border-bottom-right-radius: 60%;
    cursor: pointer;
}

#buyButtonBg {
    position: absolute;
    top: 73.75vh;
    left: 41.5vw;
    width: 14vw;
    height: 22vh;
    background-color: #c40000;
    z-index: -1;
    transition: background-color 0.125s ease-in-out;
}

#buyButton:hover + #buyButtonBg {
    background-color: #b30000;
}

#infoButton {
    position: absolute;
    top: 90.5vh;
    left: 86.5vw;
    width: 11.25vw;
    height: 7.5vh;
    border-top-left-radius: 11%;
    border-top-right-radius: 0%;
    border-bottom-left-radius: 8%;
    border-bottom-right-radius: 0%;
    cursor: pointer;
}

#infoButtonBg {
    position: absolute;
    top: 90.6vh;
    left: 86.6vw;
    width: 11.25vw;
    height: 7vh;
    background-color: #00af23;
    z-index: -1;
    transition: background-color 0.125s ease-in-out;
}

#infoButton:hover + #infoButtonBg {
    background-color: #009115;
}

@keyframes soyjakPeek {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-120px);
    }
}

@keyframes soyjakGoBack {
    from {
        transform: translateX(-120px);
    }
    to {
        transform: translateX(0px);
    }
}