#game_scene {
    display: none;
    flex-direction: column;
    justify-items: center;
    justify-content: center;
    vertical-align: center;
    align-items: center;
    width: 100vw;
    z-index: 1;
}

/* Title Container */
.game>.title_container {
    max-width: 96vw;
    width: 450px;
    background-color: var(--color-primary-surface-1);
    height: 50px;
    text-align: center;
    border-radius: var(--BORDER_RADIUS);
    font-size: 20px;
    color: var(--color-primary-default-text);
    box-shadow: var(--BOX_SHADOW);
    margin-top: 20px;
    align-content: center;
    box-sizing: border-box;
    border: 2px solid white;
    backdrop-filter: blur(var(--BLUR));
    -webkit-backdrop-filter: blur(var(--BLUR));
}


.game #task_and_time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.game #task_only {
    justify-content: center;
}

.game #task_and_time>.task {
    margin-left: 10px;
}

.game #task_and_time>.time {
    margin-right: 10px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.game #task_and_time>.time #time_text {
    flex-shrink: 0;

}

.game #task_and_time>.time #time_value {
    flex-shrink: 0;
    width: 30px;
    text-align: right;
}

/* End */

/* Fragment Container */

.game #fragment_container {
    width: 450px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 40px;
    max-width: 96vw;
}

.game .fragments {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.game .fragment {
    width: 55px;
    height: 55px;
    background-color: transparent !important;
    user-select: none;
    pointer-events: none;
}

/* End */

/* Game Container | Holds most of the game objects */
.game .game_container {
    height: auto;
    width: auto;
    display: flex;
    flex-direction: row;
    vertical-align: center;
    justify-content: space-between;

    margin-top: 20px;
}

/* Scoreboard Container */


.game .scoreboard_container {
    height: auto;
    margin-right: 50px;
    position: relative;
}

/* End */

/* ----- Scoreboard ---- */
.game #scoreboard {
    height: auto;
    width: 250px;
    background-color: var(--color-primary-surface-1);
    border-radius: var(--BORDER_RADIUS);
    backdrop-filter: blur(var(--BLUR));
    box-shadow: var(--BOX_SHADOW);
    position: relative;
    margin-top: 0px !important;
}



.game #scoreboard>.title {
    font-size: 24px;
    text-align: center;
    color: white;
    border-bottom: 1px solid white;
    height: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game #scoreboard>.header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid white;
}

.game #scoreboard>.header .cell {
    font-size: 16px;
    color: white;
    text-align: center;
    width: 33.33%;
}




.game #sb_body {
    height: auto;
    min-height: 250px;
    max-height: 250px;
    overflow-y: scroll;
    font-size: 16px !important;
}

.game #sb_body .row {
    display: flex;
    flex-direction: row;
    font-size: 14px;
    border-bottom: 1px solid white;
    height: 34px;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
}

.game #sb_body .row>.cell {
    width: 33%;
    text-align: center;
}

.game #scoreboard>.bottom {
    height: 20px;
}

.game #sb_u_content::-webkit-scrollbar {
    width: 8px;
}

.game #sb_u_content::-webkit-scrollbar-track {
    background: var(--color-primary-surface-1);
}

.game #sb_u_content::-webkit-scrollbar-thumb {
    background: white;
}

/* End */

/* ----- Action Container ----- */
.game .action_container {
    width: 450px;
    height: auto;
    box-sizing: border-box;
    margin: 0%;
    display: flex;
    flex-direction: column;
}



/* Game Board Container */
.game #game_board_container {
    border: 10px solid var(--color-primary-surface-1);
    height: 250px;
    max-height: 40vh;
    min-height: 150px;
    width: 100%;
    border-radius: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    backdrop-filter: blur(var(--BLUR));
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
}

.game #game_board_container>#task {
    text-align: center;
    height: 80px;
    font-size: 32px;
    width: 100%;
    user-select: none;
    color: hsl(200, 100%, 100%);
    font-family: var(--SECOND_FONT_FAMILY);
    text-shadow: 0vw 0vw 0.2vmax hsla(200, 100%, 100%, 0.25);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    box-sizing: border-box;
    align-items: center;
}

.game #game_board_container>#task>img {
    margin: 0%;
    height: 80px;
}

.game #game_board_container>#pause_display {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-size: 20px;
}


/* End*/


/* Countdown Container */
.game .countdown_container {
    width: 100%;
    margin-top: 15px;
}

.game .countdown_container>#countdown {
    font-size: 32px;
    color: var(--color-primary-default-text);
    text-align: center;
    width: 100%;
    font-family: var(--SECOND_FONT_FAMILY);
    text-shadow: 0vw 0vw 2px hsla(0, 0%, 100%, 0.25);
    height: 50px;
    display: block;
    align-content: center;
}

.game .countdown_container>#countdown_bar {
    width: 100%;
    height: 10px;
    background-color: var(--color-primary-surface-1);
    border-radius: 50px;
    margin-top: 15px;
    backdrop-filter: blur(var(--BLUR));
}

.game .countdown_container>#countdown_bar>#time_bar {
    height: 100%;
    background-color: white;
    border-radius: 50px;
}

/* End */


/* Custom Result Container */

.game .custom_result_container {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.game .custom_result_container>input {
    width: 55%;
    outline: none;
    border: none;
    border-radius: var(--BORDER_RADIUS);
    text-align: center;
    display: block;
    background: var(--color-primary-surface-1);
    box-shadow: var(--BOX_SHADOW);
    backdrop-filter: blur(var(--BLUR));
    padding: 0%;
    margin: 0%;
    font-size: 28px;
    color: var(--color-primary-default-text);
    font-family: var(--SECOND_FONT_FAMILY);
}

.game .custom_result_container>input::placeholder {
    color: hsl(0, 0%, 80%);
}

.game .custom_result_container>button {
    width: 35%;
    border: none;
    border-radius: var(--BORDER_RADIUS);
    text-align: center;
    display: block;
    background: var(--color-primary-surface-1);
    box-shadow: var(--BOX_SHADOW);
    backdrop-filter: blur(var(--BLUR));
    padding: 0%;
    margin: 0%;
    font-size: 24px;
    font-family: var(--FONT_FAMILY);
    color: var(--color-positive);
    transition: var(--TRANSITION);
}

.game .custom_result_container>button:hover {
    cursor: pointer;
    scale: 1.0625;
    box-shadow: var(--BOX_SHADOW);
    transition: var(--TRANSITION);
}

/* End */


/* Multi Answer Container */

.game .multi_answer_container {
    width: 100%;
    display: grid;
    gap: 12px;
    margin-top: 20px;
    max-width: 96vw;
}

.game .multi_answer_container>.option {
    width: 100%;
    height: 60px;
    text-align: center;
    justify-content: center;
    align-content: center;
    background-color: var(--color-primary-surface-1);
    font-size: 24px;
    border-radius: var(--BORDER_RADIUS);
    cursor: pointer;
    color: var(--color-positive);
    z-index: 1;
    backdrop-filter: blur(var(--BLUR));
    user-select: none;
    box-shadow: var(--BOX_SHADOW);
}

.game .multi_answer_container>.option:hover {
    cursor: pointer !important;
    scale: 1.0625;

}

/* End */


/* Pause Container */

.game #pause_container {
    width: 100%;
    font-size: 22px;
    color: white;
    height: 60px;
    background-color: var(--color-negative);
    border-radius: var(--BORDER_RADIUS);
    backdrop-filter: blur(var(--BLUR));
    text-align: center;
    align-content: center;
    align-items: center;
    user-select: none;
    margin-top: 20px;
}

/* End */

/* Side Container */
.game .side_container {
    height: auto;
    width: 250px;
    background-color: transparent;
    /* for centering */
    margin-left: 50px;
}

.game .group_block {
    box-sizing: border-box;
    border: 2px solid white;
    background: var(--color-primary-surface-1);
    box-shadow: var(--BOX_SHADOW);
    height: auto;
    width: 100%;
    text-align: center;
    vertical-align: center;
    text-align: center;
    align-items: center;
    align-content: center;
    border-radius: var(--BORDER_RADIUS);
    transition: var(--TRANSITION);
    margin-top: 10px;
    font-size: 20px;
    color: white;
    user-select: none;
    backdrop-filter: blur(var(--BLUR));
    -webkit-backdrop-filter: blur(var(--BLUR));

}

.group_block:hover {
    transition: var(--TRANSITION);
    scale: 1.0625;
}

.group_block>.group {
    display: flex;
    flex-direction: row;
    font-size: 16px !important;
    gap: 5px;
    padding-left: 5px;
    border-top: 1px solid hsla(0, 0%, 100%, 0.5);
    display: flex;
    /* horizontal zentrieren */
    align-items: center;
    height: 35px;
    box-sizing: border-box;
}

.group_block>.group:first-child {
    border: none;
    padding-top: 0px;
}

.group_block>.group>.op_info {
    height: 22px;
    width: 22px;
    background-color: var(--color-primary-surface-1);
    border-radius: var(--BORDER_RADIUS);
    display: flex;
    justify-content: center;
    align-items: center;
}

.group_block>.group>.op_info.active {
    background-color: var(--color-positive);
}

.block {
    box-sizing: border-box;
    border: 2px solid white;
    background: var(--color-primary-surface-1);
    box-shadow: var(--BOX_SHADOW);
    height: 45px;
    width: 100%;
    text-align: center;
    vertical-align: center;
    text-align: center;
    align-items: center;
    align-content: center;
    border-radius: var(--BORDER_RADIUS);
    transition: var(--TRANSITION);
    margin-top: 10px;
    font-size: 20px;
    color: white;
    user-select: none;
    backdrop-filter: blur(var(--BLUR));
}





.block:first-child {
    margin-top: 0px;
}

.block:hover {
    transition: var(--TRANSITION);
    scale: 1.0625;
}


/* ----- Quit Button ----- */
.game .block.quit {
    background: var(--color-negative);
}

.game .block.quit:hover {
    cursor: pointer;
}



































@media only screen and (max-width: 400px) {
    .game .fragment {
        width: 50px !important;
        height: 50px !important;
    }

}




@media only screen and (max-width: 1058px) {

    #game_title {
        margin-top: 25px !important;
    }

    .game #fragment_container {
        margin-top: 15px !important;
    }



    .game .game_container {
        flex-direction: column;
        margin-top: 15px !important;
        align-items: center !important;
    }

    .game .scoreboard_container {
        order: 1 !important;
        justify-content: center;
        display: flex;
        flex-direction: column;
        margin-right: 0px;
        margin-top: 15px !important;
    }

    .game #game_board_container {
        height: 100px;
    }

    .game #scoreboard {
        width: 450px !important;
        max-width: 96vw;
        margin-right: 0px;
        margin-top: 0px !important;
    }

    .game .action_container {
        order: 0 !important;
        max-width: 96vw !important;
        width: 450px !important;
        margin-left: 2vw !important;
        margin-right: 2vw !important;
    }

    #top_box {
        order: 1 !important;
        display: flex;
        flex-direction: row;
        vertical-align: center;
        align-items: center;
        justify-content: center;
        justify-items: center;
        width: 450px;
        max-width: 96vw;
        margin: 0px !important;

    }



    .game .side_container {
        order: 2 !important;
        width: 450px !important;
        margin-left: 0px !important;
        margin-top: 0px !important;
        margin-bottom: 10px !important;
        max-width: 96vw;
    }

    #inner_circle {
        height: 150px !important;
    }

    #task_image {
        margin: 0%;
        height: 100% !important;
    }

    #task {
        /*font-size: 50px !important;*/
    }

    .block:hover,
    .group_block:hover {
        scale: 1 !important;
    }

    .quadruple_selection:hover {
        scale: 1 !important;
    }

}

@media only screen and (max-height: 700px) {
    #main {
        /*margin-top: 50px !important;*/
    }
}