/*--------------------------------------------------
Container for single Pokemon ("Pokecard")
---------------------------------------------------*/
#single-pokemon-container {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 4;
}

.pokecard {
    height: 620px;
    width: 300px;
    margin: 4px;
    border-radius: 40px;
    box-shadow: 2px 2px 12px 4px rgb(255, 255, 255, 0.4);
    position: relative;
}

.close-card,
.previous-card,
.next-card {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.close-card {
    position: absolute;
    top: 16px;
    right: 20px;
    border-radius: 100%;
}

.previous-card {
    position: absolute;
    top: 200px;
    left: 8px;
    padding: 4px;
    border-radius: 5px;
}

.next-card {
    position: absolute;
    top: 200px;
    right: 8px;
    padding: 4px;
    border-radius: 5px;
}

.close-card img,
.previous-card img,
.next-card img {
    width: 24px;
    height: 24px;
}

.close-card:hover,
.previous-card:hover,
.next-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.pokecard-header {
    height: 300px;
    width: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 24px 0px 24px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.pokecard-subheader {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.pokecard-subheader-right {
    margin-top: 20px;
}

.poketypes div {
    border-radius: 30px;
    padding: 4px 16px;
    max-width: fit-content;
    font-size: 14px;
    margin-bottom: 4px;
}

.pokemon-img {
    width: 200px;
    z-index: 2;
    position: absolute;
    bottom: 310px;
}

.pokecard-body {
    height: 360px;
    width: 100%;
    background-color: white;
    border-radius: 40px;
    margin-top: -40px;
    padding: 50px 8px 24px 8px;
    z-index: 1;
}

.pokecard-body .nav-link {
    color: var(--bs-nav-tabs-link-active-color);
}

#nav-about,
#nav-stats {
    padding: 8px 16px;
}

#nav-stats {
    font-size: 14px;
}

table,
tr {
    width: 100%;
}

tr {
    height: 32px;
}

#nav-about tr {
    vertical-align: top;
}

th {
    font-weight: 500;
    color: gray;
    padding-right: 8px;
}

#nav-stats td:nth-child(2) {
    text-align: right;
    padding-right: 12px;
}

#nav-stats td:nth-child(3) {
    min-width: 100px;
    text-align: right;
}

.progress {
    width: 100%;
    height: 4px;
}

#nav-moves {
    padding-top: 8px;
}

#moves-container {
    width: 270px;
    max-height: 232px;
    display: flex;
    flex-flow: row wrap;
    overflow: auto;
    margin: 0 auto;
}

#moves-container div {
    width: 84px;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4px;
    font-size: 14px;
}

#moves-container::-webkit-scrollbar {
    width: 8px;
}

#moves-container::-webkit-scrollbar-track {
    background: rgba(73, 80, 87, 0.1);
}

#moves-container::-webkit-scrollbar-thumb {
    background: rgba(73, 80, 87, 0.5);
}

#moves-container::-webkit-scrollbar-thumb:hover {
    background: rgba(73, 80, 87, 0.7);
}