#cardOverlay {
    background-color: rgb(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cardOverlay * {
    font-size: 20px;
}

#pokemonDisplay {
    width: 300px;
    height: 320px;
    background-color: #231425;
    border: 4px solid rgb(252, 233, 34);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
}

#pokemonDisplay h3 {
    padding: 20px;
}

#pokemonDisplay .image {
    width: 90%;
    height: 150px;
    background-color: rgb(225, 225, 225, 0.1);
    border: 3px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pokemonDisplay img {
    width: 80%;
}

#pokemonDisplay #types div{
    display: flex;
    align-items: center;
}

#pokemonDisplay #types{
    padding: 20px;
}

#types span:first-child {
    margin: 5px;
}

#arrows {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

#arrows button {
    background-color: black;
    border: 3px solid transparent;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#arrows button:hover {
    border: 3px solid white;
    cursor: pointer;
}

#arrows img {
    width: 50px;
    filter: invert(1) brightness(0.9);
}

#box {
    width: 600px;
}

#boxHeader {
    display: flex;
    justify-content: space-around;
}

#boxContent {
    height: 400px;
    display: flex;
    justify-content: center;
    border: 3px solid black;
    border-top: none;
    background-color: rgb(240, 201, 169);
}

#statsBtn, #abilitiesBtn, #evoChainBtn {
    border: 3px solid black;
    width: 100%;
    padding: 10px;
    background-color: rgb(219, 176, 141);
}

#stats, #evoChain {
    width: 100%;
    display: none;
    align-items: center;
}

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

#height {
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 20px;
    height: 250px;
    width: calc(100% - 40px);
}

#pokemonImg {
    margin-right: 10px;
    height: 100%;
}

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

.vertLine {
    background-color: black;
    height: 400px;
    width: 5px;
}

.horiLine {
    background-color: black;
    height: 5px;
    width: 90%;
}

.large {
    transform: scale(1.5);
    box-shadow: none;
}

#right {
    width: 40%;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

#right > div {
    margin-bottom: 20px;
}

#right > div span {
    white-space: nowrap;
}

.statBarContainer {
    width: 100%;
    height: 10px;
    background-color: rgb(73, 46, 23);
}

.statBar {
    background-color: rgb(230, 73, 73);
    height: 100%;
    max-width: 100%;
}

#abilities {
    padding: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    /* align-items: left; */
    overflow-y: auto;
}

#abilities p {
    margin: 10px 0;
    margin-bottom: 30px;
    /* font-size: 16px; */
}

#evoChain {
    justify-content: center;
}

#evoChain img {
    width: 150px;
    height: 150px;
    background-color: #231425;
    border: 4px solid rgb(252, 233, 34);
}

#evoChain span {
    padding: 10px;
}

.evo{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px;
}

.active {
    display: flex !important;
}

.activeBtn {
    border-bottom: none !important;
}

#cardOverlay ::-webkit-scrollbar {
    width: 10px;
    /* height: 10px; */
}

#cardOverlay ::-webkit-scrollbar-track {
    background-color: rgb(219, 176, 141);
}

#cardOverlay ::-webkit-scrollbar-thumb {
    background-color: rgb(56, 45, 35);
}