.card {
    margin: 20px;
    display: flex;
    flex-direction: column;
    width: 220px;
    height: 300px;
    transition: transform 0.1s ease, filter 0.1s ease;
    transform-origin: center top;
}

.card:hover {
    cursor: pointer;
    transform: perspective(800px) scale(1.07) rotateX(-7deg) rotateY(0deg);
    filter: drop-shadow(0px 8px 10px rgba(0, 0, 0, 0.856));
}


.card_header {
    width: 100%;
    height: 70px;
    background-color: rgb(1, 129, 102);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card_header span {
    padding: 0 10px 0 10px;
}

.card_main {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
}

.card_main_pokemon_img {
    width: 160px;
    height: 160px;
}

.card_main_pokemon_hover_img {
    margin: auto;
}

.default_img {
    display: flex;
}

.hover_img {
    display: none;
}

.card_main:hover .default_img {
    display: none;
}

.card_main:hover .hover_img {
    display: flex;
    transform: perspective(800px) scale(1.05) rotateX(8deg) rotateY(-5deg);
    filter: drop-shadow(8px 10px 12px rgba(0, 0, 0, 0.945));
}

.card_footer {
    width: 100%;
    height: 65px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgb(1, 129, 102);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card_footer img {
    display: inline-block;
    border-radius: 50px;
    height: 55px;
    width: 55px;
}