/* Home Scene */

* {
    font-family: var(--FONT_FAMILY);
}

#home_scene {
    width: 100vw;
    height: 100%;
    display: flex;
    inset: 0;
    align-items: center;
    flex-direction: column;
    z-index: 1;
}

#title {
    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;
    font-weight: 600;
    text-align: center;
    font-size: 60px;
    padding: 0%;
    color: var(--SECOND_DEFAULT_TEXT_COLOR);
    text-decoration: none;
    background-color: transparent;
    z-index: 2;
    max-width: 96vw;
    /*margin-top: 20px;*/
}

#title img {
    height: 60px;
    filter: brightness(1.5);
}

#title span {
    margin-left: 22px;
    z-index: 2;
}

#main_box {
    height: auto;
    width: 400px;
    max-width: 96vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 30px;
}

#main {
    width: auto;
    margin-top: 5px;
    margin-bottom: 200px;
    padding: 0%;
    outline: none;
    border: none;
    box-sizing: border-box;
    background: var(--color-primary-surface-1);
    backdrop-filter: blur(var(--BLUR));
    -webkit-backdrop-filter: blur(var(--BLUR));
    border-radius: var(--BORDER_RADIUS);
    box-shadow: var(--BOX_SHADOW);
    position: relative;
    padding: 8px 20px 8px 20px;
    box-sizing: border-box;
}

#main>#name_and_language {
    display: flex;
    justify-content: space-between;
    display: flex;
    width: 100%;
}

#name_and_language>#name_input {
    height: 35px;
    font-size: 18px;
    width: 68%;
    background-color: var(--color-primary-default);
    border: none;
    outline: none;
    padding: 0%;
    font-weight: 600;
    border-radius: var(--BORDER_RADIUS) 0% 0% var(--BORDER_RADIUS);
    color: var(--color-secondary-default-text);
    box-sizing: border-box;
    padding-left: 0.5vmax;
    /*position: absolute;*/
    display: flex;
}

#name_and_language>#languageSelect {
    font-size: 15px;
    height: 35px;
    border: none;
    outline: none;
    width: 31%;
    border-radius: 0% var(--BORDER_RADIUS) var(--BORDER_RADIUS) 0%;
    display: flex;
    background-color: var(--color-primary-default);
    color: var(--color-secondary-default-text);
}

#main>#code_input {
    height: 35px;
    margin-top: 8px;
    font-size: 18px;
    background-color: var(--color-primary-default);
    border: none;
    outline: none;
    padding: 0%;
    font-weight: 600;
    border-radius: var(--BORDER_RADIUS);
    color: var(--color-secondary-default-text);
    box-sizing: border-box;
    display: flex;
    padding-left: 0.5vmax;
    width: 100%;
    /*position: absolute;*/
}

#main>#join-game {
    margin-top: 15px;
    height: 50px;
    font-size: 28px;
    background-color: var(--color-positive);
    cursor: pointer;
    border: none;
    outline: none;
    font-weight: 800;
    border-radius: var(--BORDER_RADIUS);
    color: var(--SECOND_DEFAULT_TEXT_COLOR);
    transition: var(--TRANSITION);
    padding: 0%;
    width: 100%;
}



#main>#join-game:hover {
    scale: 1.0625;
    transition: var(--TRANSITION);
}

#main>#create-game {
    height: 40px;
    font-size: 24px;
    background-color: var(--color-neutral);
    cursor: pointer;
    border: none;
    outline: none;
    font-weight: 600;
    margin-top: 10px;
    border-radius: var(--BORDER_RADIUS);
    color: var(--SECOND_DEFAULT_TEXT_COLOR);
    transition: var(--TRANSITION);
    padding: 0%;
    box-sizing: border-box;
    width: 100%;
}

#main>#create-game:hover {
    transition: var(--TRANSITION);
    scale: 1.0625;
}

#info_box {
    height: auto;
    background-color: var(--color-primary-surface-1);
    backdrop-filter: blur(var(--BLUR)) brightness(1);
    width: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: auto !important;
}

#info_box>#bottom_line {
    height: auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    position: relative;

}

#info_box>#bottom_line #first_text {
    height: auto;
    color: var(--color-primary-default-text);
    font-family: var(--SECOND_FONT_FAMILY);
    grid-column: 1;
    justify-self: start;
    margin-left: 10px;
}

#info_box>#bottom_line #first_text span {
    color: var(--color-primary-default-text);
    font-family: var(--SECOND_FONT_FAMILY);
}

#info_box>#bottom_line .docs {
    height: auto;
    width: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 40px;
    grid-column: 2;
    justify-self: center;
}

#bottom_line>.docs .doc {
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    text-decoration: none;
    color: var(--color-primary-default-text);
    font-family: var(--SECOND_FONT_FAMILY);
}

@media only screen and (max-width: 800px) {
    #info_box>#bottom_line {
        display: flex;
        flex-direction: column-reverse;
    }

    #info_box>#bottom_line>#first_text {
        margin: 0px;
        margin-top: 5px;
    }
}

#info_box>#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;
}

#info_panel>.info {
    width: 400px;
    height: auto;
    z-index: 10;
}

#info_panel .info>.title {
    font-size: 32px;
    color: var(--color-primary-default-text);
}

#info_panel .info>.text {
    font-size: 18px;
    margin-top: 15px;
    text-align: justify;
    color: var(--color-primary-default-text);
}

.info>.text>a {
    text-decoration: none;
    color: var(--color-positive-text);
}

/* End */


#maintenance {
    position: absolute;
    height: 100vh;
    width: 100vw;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#maintenance #description {
    color: white;
    font-size: 1vmax;
    margin-top: 2vmax;
    text-align: center;
}


::-webkit-scrollbar {
    width: 0.0%;
}































@media only screen and (max-width: 950px) {
    .info-panel {
        flex-wrap: wrap-reverse !important;
    }
}

@media only screen and (max-width: 400px) {
    #title span {
        font-size: 50px;
    }
}





#login {
    all: unset;
    width: 150px;
    position: relative;
    height: 37.5px;
    color: white;
    background-color: var(--color-positive);
    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;
    cursor: pointer;
}


#login:hover {
    scale: 1.0625;
    transition: 200ms;
}