@font-face {
    font-family: 'Natlab';
    src: url(src/Natlab.otf); /* url of the font */
}

@font-face {
    font-family: 'Cinetype';
    src: url(src/GT-Cinetype-Trial-Bold.otf);
}
html{
    background-image: url('src/img.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(10%); /*doesnt work*/
    height: 100vh;
    display: flex;
    h1{
        font-size: 8rem;
    }
    h2{
        font-size: 3.5rem;
    }
}

body{
    margin: 5vh 10vw 5vh 10vw;
    align-self: center;
    font-family: 'Natlab', sans-serif;
    width: 80vw;
    height: 90vh;
    /*border: 5px solid #ffa600;*/
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

/* Fullscreen loader */
#loader {
    position: fixed;
    inset: 0; /*no distance*/
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /*the toppest of the tops*/

    opacity: 1;
    transition: opacity 0.8s ease;
}

/* Fade-out state */
#loader.hidden {
    opacity: 0;
    pointer-events: none; /*doesnt react to hovers or clicks or things like that */
}

/* Website content starts invisible */
#content {
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* Fade-in state */
#content.visible {
    opacity: 1;
}

#loader img {
    width: 100%;
    height: auto;
}


.title{
    color: white;
    /*border: 1px red solid;*/
    h1{
        margin: 0;
    }
    h2{
        font-family: 'Cinetype', sans-serif;
        margin: 0;
    }
}

#secretButton{
    -webkit-transition: 1s;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

#back{
    border: none;
    background-color: #5241cb;
    border-radius: 2vh;
    padding: 2%;
    width: 100%;
    height: min-content;
    text-align: center;
    color: white;
    font-family: 'Cinetype', sans-serif;
    font-size: 2.5rem;
    white-space: nowrap;
}

/*useless, video cant be modified in its current state*/
/*#video{*/
/*   border: groove;*/
/*    margin: 0;*/
/*}*/

.level-select{
    /*border: 1px solid black;*/
    justify-content: space-around;
    .button-select{
        margin: 2% 0 7% 0;
        height: 7vh;
        background-color: #cdc2e8;
        border-radius: 2vh;
        display: flex;
        justify-content: space-between;
        padding: 3%;
        h2{
        margin: 0;
        }
        div{
            background-color: #5241cb;
            border-radius: 2vh;
            padding: 2%;
            width: min-content;
            height: min-content;
            align-self: flex-end;
            display: flex;
            white-space: nowrap;
            justify-content: center;
            align-items: center;
            button{
                text-align: center;
                color: white;
                font-family: 'Cinetype', sans-serif;
                font-size: 2.5rem;
                border: none;
                background-color: transparent;
            }
        }
    }

}

#banner{
    display: flex;
    background-color: white;
    /*height: 100vh;*/
    /*width: 100vw;*/
    z-index: 1;
    position: absolute;
    img{
    }
}