.container{
    text-align: center;
}

.cards__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card__item {
    height: 300px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 40px 0 rgba(0,0,0,0.2);
    border-radius: 10px;
    transition: all 400ms ease;
}

.card__item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__item-name {
    z-index: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background-color: white;
    border-radius: 15px 15px 0 0;
    text-decoration: none;
    color: black;
}

.card__item-name-h3 {
    font-size: 25px;
    transform: translateY(20%) !important;
    font-weight: 400;
}

@media (max-width: 768px) {
    .cards__container {
        grid-template-columns: 1fr;
        margin: 0 10%;
    }
}