.cardList
{
    display: flex;
    justify-content: space-around;

    width: 70%;
    height: auto;
    margin: auto;
    margin-bottom: 20px;
}

.card
{
    width: 25%;

    background-color: var(--brand);

    border-radius: 7px;
    overflow: hidden;

    color: #FFFFFF;

    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.65);

    text-decoration: none;

    transition-duration: 0.2s;

    z-index: 2;
}

.card:hover
{
    background-color: var(--highlight);
    color: var(--brand);

    scale: 1.05;
}

.card img
{
    width: 100%;
    aspect-ratio: 1/1;
}

.card .title
{
    width: 100%;
    text-align: center;
    padding-bottom: 5px;
    font-size: 20px;
}

@media only screen and (max-width: 1000px) 
{
    .cardList
    {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card
    {
        width: 80%;
    }
}