:root {
    color-scheme: only light;
    background-color: #000;
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #000;
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
}

#app {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 100%;
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
}

.preloader, .preloader2 {
    width: 1000px;
    height: 1000px;
}

.preloader2 {
    width: 2000px;
    height: 2000px;
    visibility: hidden;
}

.preloader_inner {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    height: 100%;
    aspect-ratio: 1000 / 1000;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader_inner2 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 640px;
    height: 280px;
    margin-bottom: 90px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    opacity: 0;
    transition: opacity 0.7s;
}


.gameLogo {
    margin: 0;
    padding: 0;
    width: 746px;
    height: 428px;
}


.progress_bar {
    background-color: #09394b;
    border-radius: 18px;
    width: 66%;
    height: 36px;
}

.progress_bar2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    width: 1190px;
    height: 120px;
    margin-top: 50px;
}

.bar {
    width: 0;
    height: 32px;
    margin: 1px;
    border-radius: 16px;
    min-width: 32px;
    background-image: url("./assets/images/preloader_bg.webp");
    background-color: #b3fbff;
    border: 1px solid #09394b;
}

.bar2 {
    width: 0;
    height: 96px;
    margin-top: 45px;
}

#lil_gui {
    top: 0px;
    left: 0px;
}

.shell1 {
    z-index: 100;
    width: 233px;
    height: 240px;
    margin-left: -150px;
    margin-right: -90px;
}

.shell2 {
    z-index: 100;
    width: 233px;
    height: 240px;
    margin-left: -90px;
    margin-right: -150px;
}

.bar2Holder {
    padding: 0;
    width: 1163px;
    height: 192px;
}

.spines {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.spine {
    padding: 0;
    width: 100%;
    height: 100%;
    margin-bottom: -60px;
}

.splash {
    padding: 0;
    width: 100%;
    height: 100%;
    margin-bottom: -60px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

#splash1 {
    margin-bottom: -250px;
}

.spineText {
    padding: 0;
    font-family: "BoogalooCustom";
    font-size: 120px;
    font-variant: small-caps;
    letter-spacing: 2px;
    font-weight: normal;
    color: #fff9df;
    text-align: center;
    filter: drop-shadow(2px 4px 0 #1d5500);
    text-shadow: 4px 0 0 #123400, -4px 0 0 #123400, 0 4px 0 #123400, 0 -4px 0 #123400, 3px 3px 0 #123400, -3px 3px 0 #123400, 3px -3px 0 #123400, -3px -3px 0 #123400;
}

.spineText1 {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    font-family: BoogalooCustom;
    font-size: 120px;
    color: #fff9df;
    filter: drop-shadow(2px 4px 0 #952000);
    font-variant: small-caps;
    letter-spacing: 2px;
    line-height: 1.1;
    white-space: nowrap;
    font-weight: normal;
    z-index: 10;
    pointer-events: none;
    text-shadow: 4px 0 0 #952000, -4px 0 0 #952000, 0 4px 0 #952000, 0 -4px 0 #952000, 3px 3px 0 #952000, -3px 3px 0 #952000, 3px -3px 0 #952000, -3px -3px 0 #952000, 2px 2px 0 #952000, -2px 2px 0 #952000, 2px -2px 0 #952000, -2px -2px 0 #952000;
}

.soundToggle {
    filter: drop-shadow(0 0 2px white);
}

.spineBlock {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blinking_text {
    height: 113px;
    margin-top: 57px;
    font-family: BoogalooCustom;
    font-size: 100px;
    color: #fff9df;
    font-variant: small-caps;
    letter-spacing: 2px;
    filter: drop-shadow(1px 3px 0 #1d5500);
    animation: smoothBlink 2s infinite alternate;
    text-shadow: 2px 2px 0 #123400, -2px 2px 0 #123400, 2px -2px 0 #123400, -2px -2px 0 #123400;
}

@keyframes smoothBlink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.gamification {
    width: 1424px;
    height: 225px;
    margin-bottom: -225px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.spinny {
    width: 287px;
    height: 302px;
    margin-left: 100px;
    margin-top: -22px;
    margin-bottom: -55px;
}
