/* Lazy Load Styles */
.cards-images {
    display: block;
    height: 50rem;
    background-size: cover;
    transition: filter 1s;
}

.cards-images.is-loaded {
    filter: none;
    opacity: 1;
}

/* Card Container */
.cards {
    display: inline-block;
    width: 23%;
    margin: 1rem;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.cards:hover {
    transform: translateY(-0.5rem) scale(1.0125);
    background-color: #f0f0f0;
}

.cards-description {
    display: block;
    padding: 1rem 0.5rem;
    text-decoration: none;
    text-align: center;
}

.cards-description h2 {
    color: #f0f0f0;
    transition: color 0.3s ease-in-out;
}

.cards:hover h2 {
    color: #313131;
}

/* Responsive Styles */
@media only screen and (max-width: 1024px) {
    .cards {
        width: 90%;
        margin: 1rem auto;
    }
}
