/*-------------------------------------------------------------------------All about Section Overlay Card ----------------------------------------------------*/

.pokemon-card-overlay-bg {
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.pokemon-card-overlay {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    width: 400px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
    filter: drop-shadow(0 1px 13px rgba(255, 255, 255, 1.2));
    padding-top: 55px;
}

.close-bt {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    position: absolute;
    right: 18px;
    top: 8px;
    font-weight: bold;
    cursor: pointer;
}

.close-bt:hover {
    transform: scale(1.1);
}

/*---------Overlay Card contents---------*/

.overlaycard-header {
    width: 100%;
}

.overlaycard-name-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.overlaycard-id {
    font-weight: bold;
    font-size: 25px;
    margin: 0;
    color: white;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 1.5));
}

.overlaycard-name {
    font-size: 35px;
    font-weight: bold;
    margin: 0;
    color: white;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 1.5));
}

.overlaycard-img {
    scale: 1.6;
}

.overlaycard-types {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    gap: 5px;
}

.overlaycard-type-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: solid 2px black;
    border-radius: 20px;
    width: 25%;
    height: 30px;
    padding: 2px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 1.5))
}


.overlay-type-img {
    height: 35px;

}

.overlay-type-text {
    font-weight: bold;
}

/*----Overlay Card info Container---*/
.overlaycard-info-container {
    height: 300px;
    padding: 15px 5px;
    border-radius: 20px;
    overflow-y: auto;
    width: 100%;
}

.overlaycard-info-container::-webkit-scrollbar {
    display: none;
}

.next-pokemon-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 0 10px 0;
}

.next-icon {
    width: 40px;
    background-color: blanchedalmond;
    border-radius: 30px;
    padding: 5px;
    border: solid 1px black;
    margin: 0 20px;
    cursor: pointer;
    z-index: 1;
}



.overlaycard-navbar {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 2px;
    background-color: rgba(7, 36, 46, 0.7);
    padding: 12px 0;
    border-radius: 20px;
}

.overlaycard-info-bt {
    padding: 5px;
    border-radius: 15px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    background-color: #07242E;
    font-weight: bold;
    z-index: 1;
}

.overlaycard-info-bt:hover {
    filter: drop-shadow(0 1px 6px rgba(255, 255, 255, 1.5));

}

.overlaycard-poke-info {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 10px 0 10px;
}

/*------Overlay Card  About info box -------*/

.about-info-box {
    display: flex;
    align-items: center;
    background-color: rgba(7, 36, 46, 0.7);
    width: 100%;
    height: 100px;
    border-radius: 20px;
}

.info-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 16px;
    width: 100%;
}

.split-box {
    background-color: white;
    height: 90px;
    width: 5px;
}

.info-category p {
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: bold;
    gap: 5px;
}

.info-category img {
    height: 30px;
}

/*------Overlay Card state info box--------*/
.state-info-box {
    display: flex;
    align-items: center;
    background-color: rgba(7, 36, 46, 0.7);
    width: 100%;
    height: min-content;
    border-radius: 20px;
    padding: 10px;
}

.state-table {
    width: 100%;
    color: white;
    font-weight: bold;
}

.state-table tr {
    width: 100%;
}

.state-name {
    width: 10%;
}

.state-number {
    width: 10%;
}

.state-bar {
    width: 80%;
}


.status-bar {
    display: flex;
    align-items: center;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1px;
}

.status {
    background-color: #07242E;
    height: 10px;
    border-radius: 5px;
    transition: all 255ms;
}

/*-----Overlay Card moves info box---------*/
.moves-info-box {
    display: flex;
    align-items: center;
    background-color: rgba(7, 36, 46, 0.7);
    color: white;
    font-weight: bold;
    width: 100%;
    height: min-content;
    border-radius: 20px;
    padding: 10px;
}

/*-----------Overlay Card evolutions info box------------------*/
.evolutions-info-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(7, 36, 46, 0.7);
    width: 100%;
    height: max-content;
    border-radius: 20px;
    padding: 15px;
    flex-wrap: wrap;
    row-gap: 10px;
}

.evolutions-box {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    background-color: rgba(7, 36, 46, 0.7);
    width: 110px;
    height: 110px;
    border-radius: 20px;
    padding: 10px;
    box-sizing: border-box;
}

.evo-img {
    scale: 0.9;
}

.evo-name {
    margin: 5px 0 0 0;
    color: white;
    font-weight: bold;
}

/*---------------------Overlay Card location info box----------------------*/

.location-info-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: white;
    font-weight: bold;
    font-size: 20px;
    background-color: rgba(7, 36, 46, 0.7);
    padding: 10px;
    border-radius: 20px;
}