.overlay {
    background-color: rgba(0, 0, 0, 0.3);
    height: 100vh;
    width: 100%;
    position: fixed;
    top:0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.overlay-dialog {
    height: 640px;
    width: 400px;
    background-color: rgb(161, 161, 161);
    border-radius: 24px;
    position: relative;
}

.overlay-stats {
    height: 400px;
    width: 400px;
    background-color: white;
    border-radius: 24px;
    position: absolute;
    bottom: 0;
}

.overlay-nav {
    margin-top: 32px;
    display: flex;
    justify-content: space-evenly;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 8px 0 8px;
    color: #091A33;
    transition: transform 0.1;
}

.overlay-nav span:hover {
    cursor: pointer;
    transform: scale(1.15);
}

.details {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 24px;
    height: 240px;
}

.details table tr td {
    padding-top: 8px;
}

.details table tr td:first-child {
    padding-right: 20px;
    font-weight: bold;
}

.d_none {
    display: none !important;
}

.overlay-img {
    height: 264px;
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: linear-gradient(135deg, rgb(40, 107, 40), rgb(153, 226, 153));
    position: relative;
    border-radius: 24px 24px 0 0;
}

.overlay-img img {
    object-fit: contain;
    width: 200px;
    height: 200px;
    z-index: 10;
}

.overlay-img span {
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 40px;
    opacity: 0.2;
    rotate: -20deg;
    font-family: Boldonse;
}

.pokemon-icon {
    position: absolute;
    right: 0px;
    bottom: -64px;
    width: 50px;
}

.pokemon-icon img {
    width: 50px;
    opacity: 0.2;
}

.close-icon {
    position: absolute;
    top: 24px;
    right:24px;
    width: 32px;
    z-index: 11;
    cursor: pointer;
    transition: transform 0.1s
}

.close-icon:hover {
    transform: scale(1.3);
}

.next-icon {
    position: absolute;
    bottom: 24px;
    right: 32px;
    width: 32px;
    z-index: 11;
    rotate: 180deg;
    cursor: pointer;
    transition: transform 0.1s
}

.next-icon:hover {
    transform: scale(1.3);
}

.back-icon {
    position: absolute;
    bottom: 24px;
    left: 32px;
    width: 32px;
    z-index: 11;
    cursor: pointer;
    transition: transform 0.1s;
}

.back-icon:hover {
    transform: scale(1.3);
}

.cries {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.overlay-shiny-img {
    display: flex;
    justify-content: center;
    width: 100%;
}

.overlay-shiny-img img {
    width: 240px;
    filter: drop-shadow(0px 10px 10px black);
}

.no-scrollbar {
    overflow-y: hidden;
}

.wrapping  {
    display: table-cell;
}

table {
    padding: 0 24px 0;
}

.active {
    border-bottom: 2px solid #091A33;
}

.active:hover {
    transform: none !important;
}

.max-progress {
    position: absolute;
    top: 112px;
    right: 48px;
    font-size: 12px;
}

@media(max-width: 530px) {
    .overlay-dialog {
        width: 250px;
        height: 540px;
    }

    .overlay-img img {
        width: 100px;
        height: 100px;
        position: absolute;
        bottom: 96px;
    }

    .pokemon-icon {
        display: none;
    }

    .overlay-stats {
        width: 250px;
    }

    .overlay-nav {
        font-size: 16px;
    }

    .details {
        width: 250px;
    }

    progress {
        inline-size: 80px;
    }

    audio {
        width: 200px;
    }

    .overlay-shiny-img img {
        width: 150px;
        filter: drop-shadow(0px 8px 8px black);
    }

    .max-progress {
        position: absolute;
        top: 92px;
    }
}
