.smallCardContainer {
    width: 240px;
    height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 12px;
    cursor: pointer;
}

.topOfCardContainer {
    width: 240px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topOfCardContainerLeft {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cardName {
    font-size: 24px;
    padding-left: 4px;
}

.cardTypeImg {
    width: 24px;
    height: 24px;
}

.cardId {
    font-size: 20px;
    padding-right: 4px;
}

.midOfCardContainer {
    width: 240px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cardSpritePng {
    width: 150px;
    height: 150px;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.cardSpritePng:hover {
    animation: scaleAndFloat 1.25s ease-in-out infinite;
}

@keyframes scaleAndFloat {
    0% {
        transform: scale(1.5) translateY(0);
    }
    50% {
        transform: scale(1.5) translateY(-25px);
    }
    100% {
        transform: scale(1.5) translateY(0);
    }
}

.bottomOfCardContainer {
    width: 240px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.typesContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.types {
    font-size: 20px;
}

/* Overlay CSS */
.overlayCardContainer {
    width: 550px;
    height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    border-radius: 24px;
}

.overlayCardTopContainer {
    width: 540px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.overlayCardTopNameType {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overlayCardTopText {
    font-size: 32px;
    font-weight: bold;
    padding-left: 4px;
}

.overlayCardTopTypeLogo {
    width: 48px;
    height: 48px;
    padding-right: 4px;
}

.overlayCardTopImg {
    width: 100%;
    height: 350px;
    background-image: url(../assets/img/background_image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlayCardSprite {
    width: 350px;
    height: auto;
}

/* Bottom part of Overlay Card */
.overlayFullContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlayCardBottomContainer {
    width: 540px;
    height: 400px;

}

.overlayCardBottomDetails {
    font-size: 32px;
    padding-top: 24px;
}

.stats {
    font-weight: bold;
}

.arrowLeftContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#arrowLeft {
    width: 96px;
    height: 96px;
}

.arrowRightContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#arrowRight {
    width: 96px;
    height: 96px;
}


@media (max-width: 760px) {
    #arrowLeft {
        width: 80px;
        height: 80px;
    }

    .overlayCardContainer {
        width: 450px;
        height: 600px;
    }

    #arrowRight {
        width: 80px;
        height: 80px;
    }

    .overlayCardTopContainer {
        width: 440px;
        height: 300px;
    }

    .overlayCardBottomContainer {
        width: 440px;
        height: 300px;
    }

    .overlayCardTopNameType {
        height: 40px;
    }

    .overlayCardTopText {
        font-size: 26px;
    }

    .overlayCardTopTypeLogo {
        width: 36px;
        height: 36px;
    }

    .overlayCardTopImg {
        height: 260px;
    }

    .overlayCardSprite {
        width: 250px;
    }

    .overlayCardBottomDetails {
        padding-top: 8px;
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    #arrowLeft {
        width: 60px;
        height: 60px;
    }

    .overlayCardContainer {
        width: 350px;
        height: 450px;
    }

    #arrowRight {
        width: 60px;
        height: 60px;
    }

    .overlayCardTopContainer {
        width: 340px;
        height: 225px;
    }

    .overlayCardBottomContainer {
        width: 340px;
        height: 225px;
    }

    .overlayCardTopNameType {
        height: 35px;
    }

    .overlayCardTopText {
        font-size: 22px;
    }

    .overlayCardTopTypeLogo {
        width: 32px;
        height: 32px;
    }

    .overlayCardTopImg {
        height: 190px;
    }

    .overlayCardSprite {
        width: 175px;
    }

    .overlayCardBottomDetails {
        padding-top: 0px;
        font-size: 18px;
    }
}

@media (max-width: 475px) {
    #arrowLeft {
        width: 48px;
        height: 48px;
    }

    .overlayCardContainer {
        width: 250px;
        height: 350px;
    }

    #arrowRight {
        width: 48px;
        height: 48px;
    }

    .overlayCardTopContainer {
        width: 240px;
        height: 175px;
    }

    .overlayCardBottomContainer {
        width: 240px;
        height: 175px;
    }

    .overlayCardTopNameType {
        height: 30px;
    }

    .overlayCardTopText {
        font-size: 18px;
    }

    .overlayCardTopTypeLogo {
        width: 24px;
        height: 24px;
    }

    .overlayCardTopImg {
        height: 145px;
    }

    .overlayCardSprite {
        width: 135px;
    }

    .overlayCardBottomDetails {
        padding-top: 0px;
        font-size: 14px;
    }
}

@media (max-width: 350px) {
    #arrowLeft {
        width: 44px;
        height: 44px;
    }

    .overlayCardContainer {
        width: 230px;
        height: 330px;
    }

    #arrowRight {
        width: 44px;
        height: 44px;
    }

    .overlayCardTopContainer {
        width: 220px;
        height: 165px;
    }

    .overlayCardBottomContainer {
        width: 220px;
        height: 165px;
    }

    .overlayCardTopNameType {
        height: 25px;
    }

    .overlayCardTopText {
        font-size: 18px;
    }

    .overlayCardTopTypeLogo {
        width: 20px;
        height: 20px;
    }

    .overlayCardTopImg {
        height: 140px;
    }

    .overlayCardSprite {
        width: 130px;
    }

    .overlayCardBottomDetails {
        padding-top: 0px;
        font-size: 14px;
    }
}