/* CARDS */
.card-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.card {
    width: 200px;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    font-family: var(--font-text);
    border: 3px solid var(--color-black);
    border-radius: 12px;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--color-white);
}

.card-header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 8px;
}

.card-name {
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    text-transform: capitalize;
}

.card-id {
    font-size: 16px;
    font-weight: 500;
}

.card-image {
    width: 128px;
    height: 128px;
    padding: 8px;
    object-fit: contain;
    background-color: var(--color-white-soft);
    border-radius: 50%;
}

.card-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.type-badge {
    padding: 2px 8px;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    border: 2px solid var(--color-black);
    border-radius: 20px;
}


/* BREAKPOINTS */

@media screen and (max-width: 1024px) {
    .card {
        width: 180px;
        height: 240px;
        padding: 10px;
    }

    .card-image {
        width: 112px;
        height: 112px;
    }
}
