/* ------ Formações e Certificados ------- */

.formacoes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 65rem;
}

.formacoes-titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.formacoes-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.formacao-card-titulo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* Espaço entre o ícone e o texto */
    margin-bottom: 1rem;
}

.formacao-card {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: 15rem;
    width: 30rem;
    border-radius: 0.5rem;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    /* Sombra mais fraca */
    margin: 1rem;
    padding: 1rem;
}

.imagem-formacao {
    object-fit: cover;
    width: 3rem;
    height: 3rem;
}


.titulo-menor {
    font-size: medium;

}

/*RESPONSIVIDADE*/

/* Telas médias (tablets) */
@media (max-width: 992px) {

    .formacoes {

        width: 90%;
        height: 75rem;
    }

    h3 {
        font-weight: 300;
    }

    .formacoes-cards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

}



/* Telas médias (tablets) */
@media (max-width: 490px) {


    .formacoes-cards {
        overflow-y: auto;
    }


    .formacao-card {
        width: 90%;
        height: 20rem;
    }

    .formacao-card-titulo h3 {
        font-size: large;
    }

    .texto-card {
        font-size: medium;
        line-height: 1.3rem;
    }

    .formacoes {

        height: 100rem;
    }


}