#statistics_page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100vh;
    width: 100%;
}


#statistics_page_header {
    display: flex;
    height: 5%;
    width: 100%;
    justify-content: center;
    align-items: center;
}


#statistics_page_main_panel {
    display: flex;
    height: 70%;
    width: 80%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 30px;
}

.statistics_buttons {
    display: flex;
    height: 20%;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

.statistics_buttons button.active {
    background-color: rgba(0, 0, 0, 0.2);
}

#statistics_page_main_subpanel {
    display: flex;
    height: 60%;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
}


#statistics_page_main_subpanel_statistics {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}


.statistics_row {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.statistics_row_title {
    width: 40%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.statistics_row_value {
    width: 40%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#statistics_lower_panel {
    display: flex;
    height: 20%;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

#statistics_lower_panel_top_heroes {
    display: flex;
    height: 100%;
    width: 30%;
    justify-content: space-around;
    /* to bottom */
    align-items: flex-end;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 30px;
}

.top_hero {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    padding: 5px;
    box-sizing: border-box;
}

#top_hero_1 {
    height: 100%;
    width: 30%;
    background-color: rgba(255, 255, 0, 0.25);
}

#top_hero_2 {
    height: 94%;
    width: 28%;
    background-color: rgba(0, 0, 0, 0.08);
}

#top_hero_3 {
    height: 88%;
    width: 26%;
    background-color: rgba(205, 127, 50, 0.2);
}

.top_hero_image_place {
    width: 100%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
}


.top_hero_image_place img {
    height: 160%;
    width: auto;
}

#top_hero_2 .top_hero_image_place img {
    height: 140%;
}

#top_hero_3 .top_hero_image_place img {
    height: 120%;
}

.top_hero_statistics {
    width: 100%;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.top_hero_statistics .statistics_row {
    height: 30%;
    width: 90%;
    font-size: 0.8em;
}


#statistics_page_main_subpanel_games_history {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    overflow-y: auto;
}

.game_history_item {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 20px 0px;
}

.game_history_item .statistics_row {
    width: 90%;
    margin: 2px;
}
