* {
    font-family: var(--FONT_FAMILY);
    box-sizing: border-box;
}




body {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    padding: 0%;
    margin: 0%;
    display: flex;
    align-items: center;
    flex-direction: column;
    background: var(--BACKGROUND_COLOR);
    background-repeat: repeat;
}




#background_structure {
    height: 100vh;
    width: 100vw;
    left: 0;
    top: 0;
    position: fixed;
    /*overflow: hidden;*/
}

#background_canvas {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 0;
}

#snow_canvas {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
  }



#lights_canvas {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
}

#maintenance {
    position: absolute;
    height: 100vh;
    width: 100vw;
    z-index: 100;
    display: flex;
    background: var(--BACKGROUND_COLOR);
    flex-direction: column;
    align-items: center;
}

#maintenance #description {
    color: white;
    font-size: 1vmax;
    margin-top: 2vmax;
    text-align: center;
}


::-webkit-scrollbar {
    width: 0.0%;
}


















/* ----- TOP BOX ----- */
#top_box {
    width: 98vw;
    height: auto;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    top: 1%;
}


#stats_button {
    background-color: var(--BOX_BACKGROUND);
    border-radius: var(--BORDER_RADIUS);
    height: 2vmax;
    width: 2vmax;
    font-size: 1vmax;
    line-height: 2vmax;
    text-align: center;
    user-select: none;
    cursor: pointer;
    display: flex;
}

#stats_button img {
    scale: 0.9;
}

#title {
    height: auto;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 600;
    text-align: center;
    font-size: 60px;
    padding: 0%;
    color: var(--FONT_COLOR);
    text-decoration: none;
    background-color: transparent;
    z-index: 1;
    /*margin-top: 20px;*/
    margin-top: 40px;
}


.language_box {
    background-color: transparent;
    width: 100%;
    right: 2vmax;
    margin-top: 10px;
    padding: 0%;
    height: auto;
    display: flex;
    flex-direction: row;
    margin: 0%;
    z-index: 1;
    justify-content: space-between;
}

#lang_button {
    width: 45%;
    font-size: 16px;
    height: 30px;
    padding: 0%;
    margin-bottom: 0.5vmax;
    cursor: pointer;
    outline: none;
    border: none;
    border-radius: var(--BORDER_RADIUS);
    transition: var(--TRANSITION);
    background-color: var(--BOX_BACKGROUND);
    color: var(--FONT_COLOR);
    backdrop-filter: blur(var(--Blur));
    -webkit-backdrop-filter: blur(var(--Blur));


}

#lang_button:hover {
    transition: var(--TRANSITION);
    scale: 1.0625;
}














#main_box {
    height: auto;
    width: 400px;
    max-width: 96vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 30px;
}



#nav {
    width: auto;
    height: 35px;
    display: flex;
    padding: 0%;
    background-color: transparent;
    z-index: 1;
}

/*#nav a {
    width: 50%;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    color: var(--FONT_COLOR);
    padding: 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0%;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    border: 0.1vmax solid transparent;
}

#nav a:hover {
    border-radius: var(--BORDER_RADIUS);
    border: 0.1vmax solid white;
}*/

#play {
    margin-top: 4vmin;
    height: 20%;
    line-height: 5vmin;
    font-size: 1.25vmax;
    width: 20%;
    margin-left: 5%;
    background-color: var(--POSITIVE_COLOR);
    cursor: pointer;
    border: none;
    outline: none;
    font-weight: 600;
    border-radius: var(--BORDER_RADIUS);
    color: var(--SECOND_FONT_COLOR);
    transition: var(--TRANSITION);
    padding: 0%;
    background-color: red !important;
}

#play:hover {
    transition: var(--TRANSITION);
    scale: 1.0625;
}




#main {
    width: auto;
    margin-top: 5px;
    margin-bottom: 200px;
    padding: 0%;
    outline: none;
    border: none;
    box-sizing: border-box;
    background: var(--BOX_BACKGROUND);
    backdrop-filter: blur(var(--Blur));
    -webkit-backdrop-filter: blur(var(--Blur));
    border-radius: var(--BORDER_RADIUS);
    box-shadow: var(--BOX_SHADOW);
}




#singleplayer {
    display: none;
}

#multiplayer {
    display: block;
}

#name_and_language {
    width: 95%;
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

#languageSelect {
    font-size: 15px;
    height: 35px;
    border: none;
    outline: none;
    width: 30%;
    border-radius: 0% var(--BORDER_RADIUS) var(--BORDER_RADIUS) 0%;
}

#main #name_input {

    height: 35px;
    font-size: 18px;
    width: 64%;
    margin-left: 5%;
    background-color: white;
    border: none;
    outline: none;
    padding: 0%;
    font-weight: 600;
    border-radius: var(--BORDER_RADIUS) 0% 0% var(--BORDER_RADIUS);
    color: black;
    box-sizing: border-box;
    padding-left: 0.5vmax;
    /*position: absolute;*/
}

#main #name_text {

    height: 35px;
    font-size: 18px;
    width: 90%;
    margin-left: 5%;
    background-color: white;
    border: none;
    outline: none;
    padding: 0%;
    font-weight: 600;
    border-radius: var(--BORDER_RADIUS);
    margin-top: 8px;
    color: black;
    box-sizing: border-box;
    padding-left: 0.5vmax;
    align-items: center;
    align-content: center;
    /*position: absolute;*/
}


#main #code_input {
    height: 35px;
    margin-top: 8px;
    font-size: 18px;
    width: 90%;
    margin-left: 5%;
    background-color: white;
    border: none;
    outline: none;
    padding: 0%;
    font-weight: 600;
    border-radius: var(--BORDER_RADIUS);
    color: black;
    box-sizing: border-box;
    padding-left: 0.5vmax;
    /*position: absolute;*/
}



#username::placeholder {
    color: var(--PLACEHOLDER_COLOR);
}





#join-game {
    margin-top: 15px;
    height: 50px;
    font-size: 28px;
    width: 90%;
    margin-left: 5%;
    background-color: var(--POSITIVE_COLOR);
    cursor: pointer;
    border: none;
    outline: none;
    font-weight: 800;
    border-radius: var(--BORDER_RADIUS);
    color: var(--SECOND_FONT_COLOR);
    transition: var(--TRANSITION);
    padding: 0%;
    /*position: absolute;*/
}



#join-game:hover {
    scale: 1.0625;
    transition: var(--TRANSITION);
}


#create-game {
    height: 40px;
    font-size: 24px;
    width: 90%;
    margin-left: 5%;
    background-color: var(--Neutral);
    cursor: pointer;
    border: none;
    outline: none;
    font-weight: 600;
    margin-top: 10px;
    border-radius: var(--BORDER_RADIUS);
    color: var(--SECOND_FONT_COLOR);
    transition: var(--TRANSITION);
    padding: 0%;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#create-game:hover {
    transition: var(--TRANSITION);
    scale: 1.0625;
}







.info-box {
    height: auto;
    background-color: var(--BOX_BACKGROUND);
    backdrop-filter: blur(var(--Blur));
    -webkit-backdrop-filter: blur(var(--Blur));
    width: 100%;
    /*border-radius: 75% 75% 0% 0% / 50% 50% 0% 0%;*/
    /*border-radius: 200px 200px 0% 0% / 100px 100px 0% 0%;*/
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: auto;
}



.info-panel {
    width: 90%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 40px;
    margin-top: 50px;
    left: 50%;
    transform: translate(-50%);
    position: relative;
    margin-bottom: 50px;
}

@media only screen and (max-width: 950px) {
    .info-panel {
        flex-wrap: wrap-reverse !important;
    }
}

.info-box .info {
    width: 400px;
    height: auto;
    z-index: 10;
}

.info-box .info .title {
    font-size: 32px;
    color: var(--FONT_COLOR);
}

.info-box .info .text {
    font-size: 18px;
    margin-top: 15px;
    text-align: justify;
    color: hsl(200, 75%, 100%);
}

.title_learn {
    font-size: 1.25vmax;
    color: var(--FONT_COLOR);
    width: 90%;
    margin-left: 5%;
    margin-top: 0.5vw;
}

.text_learn {
    font-size: 0.9vmax;
    margin-top: 1vmin;
    width: 90%;
    margin-left: 5%;
    text-align: justify;
    color: hsl(200, 75%, 100%);
}

#login {
    width: 150px;
    position: relative;
    height: 37.5px;
    color: white;
    background-color: var(--POSITIVE_COLOR);
    text-decoration: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    align-content: center;
    justify-content: center;
    border-radius: var(--BORDER_RADIUS);
    margin-top: 15px;
    transition: 200ms;
    font-size: 17px;
}


#login:hover {
    scale: 1.0625;
    transition: 200ms;
}









#footer {
    height: auto;
    width: 100%;
    /*background-color: var(--BOX_BACKGROUND);*/
    z-index: 12;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    vertical-align: center;
    position: relative;
    bottom: 0%;
    margin-top: 100px;
    margin-bottom: 20px;
}

#footer .docs {
    width: 600px;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: space-evenly;
    position: relative;
    align-items: center;
    padding: 0%;
    outline: none;
    border: none;
    height: 100%;
    margin: 0%;
}


#footer .docs .doc {
    width: auto;
    padding: 0%;
    font-size: 16px;
    outline: none;
    border: none;
    margin: 0%;
    text-align: center;
    font-family: var(--SECOND_FONT_FAMILY);
    text-decoration: none;
    color: var(--FONT_COLOR);
}


#footer .docs .doc:first-child {
    margin-left: 0vmax;
}


.version {
    font-size: 0.75vmax;
    font-family: var(--SECOND_FONT_FAMILY);
    color: var(--FONT_COLOR);
}





#Alert_BG {
    background-color: hsla(0, 0%, 0%, 0.5);
    backdrop-filter: blur(var(--Blur));
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 12;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

#Alert_Box {
    z-index: 6;
    border-radius: var(--BORDER_RADIUS);
    background-color: hsla(0, 0%, 100%, 0.25);
    width: 400px;
    max-width: 96vw;
    height: 250px;
    position: absolute;
    margin-left: 2vmax;
    margin-right: 2vmax;
}

#Alert_Title {
    font-size: 28px;
    text-align: center;
    color: white;
    margin-top: 20px;
}

#Alert_Text {
    text-align: center;
    font-size: 18px;
    color: white;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
}

#Alert_Button {
    color: white;
    background-color: var(--POSITIVE_COLOR);
    width: 150px;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    font-size: 28px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    bottom: 25px;
    cursor: pointer;
    border-radius: var(--BORDER_RADIUS);
    transition: 200ms;

}

#Alert_Button:hover {

    transition: 200ms;
    transform: translate(-50%) scale(1.0625);

}