@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

* {
    font-family: 'Fredoka One', cursive;
}


#finish_scene {
    flex-direction: column;
}


.finish #top_players {
    display: flex;
    max-width: 96vw;
    vertical-align: bottom;
    align-items: end;
    flex-direction: row;
    margin-top: 40px;
}

#top_player>div {
    flex: 1;
}


#player_box {
    width: 150px;
    position: relative;
}

#player_box:nth-child(2) {
    margin-left: 20px;
    margin-right: 20px;
}


#top_player_box,
#second_player_box,
#third_player_box {
    width: 100%;
    height: 150px;
    background-color: white;
    border-radius: 10px 10px 0.0vmax 0.0vmax;
    position: relative;
}



#second_player_box {
    height: 125px;
}

#third_player_box {
    height: 100px;
}





#finish_button_box {
    height: 50px;
    width: 490px;
    max-width: 96vw;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
}




.finish_button {
    all: unset;
    height: 100%;
    width: 48%;
    font-size: 20px;
    border: none;
    padding: none;
    outline: none;
    border-radius: var(--BORDER_RADIUS);
    cursor: pointer;
    color: white;
    transition: var(--TRANSITION);
    background-color: var(--color-primary-surface-1);
    text-align: center;
    user-select: none;
    backdrop-filter: blur(var(--BLUR));
    -webkit-backdrop-filter: blur(--BLUR);
    display: flex;
    justify-content: center !important;
    align-items: center !important;
}

.finish_button:hover {
    transition: var(--TRANSITION);
    box-shadow: 0.0vmax 0.0vmax 0.75vmax 0.0vmax var(--color-primary-surface-1);
    scale: 1.0625;
}


.btn_negative {
    background-color: var(--color-negative) !important;

}

.btn_negative:hover {
    box-shadow: 0px 0px 8px 0px var(--color-negative) !important;
}

.btn_positive {
    background-color: var(--color-positive) !important;
}

.btn_positive:hover {
    box-shadow: 0px 0px 8px 0px var(--color-positive) !important;
}


.page-title {
    width: 100%;
    height: 5.5vmin;
    line-height: 5.5vmin;
    font-size: 1.5vmax;
    text-align: center;
    color: var(--color-primary-default-text);
    font-weight: 700;
    margin-top: 0vmin;
    background-color: var(--color-primary-surface-1);
    border-radius: var(--BORDER_RADIUS);
    margin-top: 2vmax;
}



#player_box_finish {
    height: auto;
    background: var(--color-primary-surface-1);
    width: 600px;
    max-width: 96vw;
    max-height: 42vmin;
    overflow-y: scroll;
    display: block;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 5vmin;
    backdrop-filter: blur(var(--BLUR));
    -webkit-backdrop-filter: blur(var(--BLUR));
    border-radius: var(--BORDER_RADIUS);
}

#player_list_box {
    height: auto;
    max-height: 400px;
    overflow-y: scroll;
    width: 100%;
}


#finish_player_list {
    width: 490px;
    max-width: 96vw;
    height: auto;
    overflow-y: scroll;
    max-height: 200px;
    border-radius: var(--BORDER_RADIUS);
    margin-top: 40px;
}



::-webkit-scrollbar {
    width: 0.0vw;
}




#player_in_list {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    background-color: var(--color-primary-surface-1);
    backdrop-filter: blur(var(--BLUR));
    border-bottom: 1px solid var(--color-primary-default-text);
    color: var(--color-primary-default-text);
}

#player_in_list:first-child {
    margin-top: 0px;
}

#player_in_list:last-child {
    margin-top: 0px;
    border: none;
}

#rank_display,
#name_display,
#points_display {

    width: 25%;
    text-align: center;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;

}






@keyframes text {
    0% {
        font-size: 24px;
    }

    50% {
        font-size: 22px;
    }

    100% {
        font-size: 24px;
    }
}



#top_rank {
    font-size: 40px;
    color: goldenrod;
    text-align: center;
    margin-top: 0px;
    height: 80px;
    position: relative;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.top_player_name {
    font-size: 22px;
    height: 50px;
    color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    /*animation: 2500ms text infinite;*/
}

.top_player_points {
    font-size: 22px;
    height: 50px;
    color: grey;
    text-align: center;

    margin-top: 5px;
    justify-content: center;
    align-items: center;
    align-content: center;

}

.bottom_line {
    width: 100%;
    height: 30px;
    margin-top: 10px;
    border-radius: 0.0vw 0.0vw 10px 10px;
    font-size: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    color: black;
}