#clinica {
        display: flex;
        flex-direction: column;

        h2 {
            font-size: 2.5em;
            color: white;
            margin-bottom: 0.5em;
            text-shadow: 1px 1px 4px rgb(36, 35, 35);
        }
}

.clinica-cards {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}
.clinica-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    width: 350px;
    height: 550px;
    background-color: rgb(216, 214, 214);
    border-radius: 10px;

    img {
        width: 300px;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

        &:hover {
            transform: scale(1.05);
            transition: transform 0.3s ease;
        }
    }

    p {
        font-size: 1.1em;
        max-width: 500px;
        text-align: center;
        text-align: center;
        color: var(--color-azul-espaço-profundo);
    }

    h3 {
        font-size: 1.5em;
        color: var(--color-colheita-dourada);
        font-weight: bold;
        text-shadow: 1px 1px 2px rgb(97, 86, 2);
    }


}
 
@media screen and (max-width: 768px) {
    .clinica-cards {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .clinica-card {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
}