.no_scroll {overflow: hidden;}

.overlay {
    height: 100vh;
    width: 100%;
    background-color: rgba(7, 36, 46, 0.574);
    position: fixed;
    top:0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.overlay_content {
    height:580px;
    width: 400px;
    border-radius: 12px;
    border: 2px solid black;
    background-color: white;
    display: flex;
    flex-direction: column;
    font-family: Roboto;
}

.overlay_main_info {
    height: 40%;
    background-color:rgb(255, 132, 0);
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
}

.content_right {
    display: flex;
    flex-direction: column;
    align-items: space-between;
}

.content_left {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.overlay_pkm_types {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 20px;
}

.overlay_pkm_types img {height: 25px;}
.overlay_logo {width: 120px;}

.overlay_main_image {
    height: 180px;
    object-fit: cover;
}

.overlay_header {
    font-family: Jersey_15;
    display: flex;
    align-items: center;
    padding-top: 20px;
}

.pkmn_name {
    font-size: 40px;
    padding-right: 16px;
}

.pkmn_id {font-size: 24px;}

.overlay_menu {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 45px;
    font-size: 22px;
}

.menu_tab {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    font-size: 25px;
    padding: 8px;
}

.menu_tab:hover {cursor: pointer;}

.underline {
    height: 6px;
    width: 100%;
    background-color: white;
}

.bg_red {background-color: red;}

.main_tab_menu:hover #u1 {background-color: red;}

.stats_tab_menu:hover #u2 {background-color: red;}

.main_tab_menu:hover #u1a {background-color: red;}

.stats_tab_menu:hover #u2b {background-color: red;}

.overlay_menu table {
    height: 100%;
    font-size: 18px;
}

.main_tab {
    font-size: 22px; 
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: space-between;
}

table {border-spacing: 8px; margin-bottom: 40px;}

.stats_tab {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

#myChart {
    width: 100%!important;
    margin-bottom: 40px!important;
    overflow-y: hidden!important;
    display:flex!important;
}

.arrows {
    display: flex;
    justify-content: space-between;
}

.arrows img {
    height: 25px;
    cursor: pointer;
}

.d_none {display: none;}