

.formacao {
    margin-top: 22dvh;
    padding-bottom: 10dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formacao-titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 7dvh;
}

.cards-cursos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7dvh;
}

.card-cursos:first-child {
    grid-column: span 2; 
    justify-self: center; 
    width: 50%;
}

/* Scrollbar lateral mais discreto*/
.card-cursos ul::-webkit-scrollbar {
    width: 4px;
}

.card-cursos ul::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.card-cursos{
    border: 1px solid white;
    border-radius: 3dvh;
    height: 28dvh; 
    width: 95dvh; 
    display: flex;
    flex-direction: column;
}

.cards-titulo {
     font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
}
 
.card-cursos ul {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin-left: 1rem;
    margin-bottom: 1rem;
  list-style: disc;
  padding-left: 20px; 
  overflow-y: auto; 
    flex: 1; 
}

/*RESPONSIVIDADE*/

@media (max-width: 992px) {

    .cards-cursos {
        grid-template-columns: 1fr;
        gap: 4dvh;
    }

    .card-cursos:first-child {
        grid-column: span 1;
        width: 100%;
    }

    .card-cursos {
        height: 25dvh;
    }

}


@media (max-width: 390px) {



    .card-cursos:first-child {
        width: 90%;
        margin-right: 3dvh;
    }

    .card-cursos {
        height: 20dvh;
        min-height: 20dvh;
        padding: 1rem;
        width: 90%;
        margin-left: 2dvh;
    }

    .card-cursos ul {
        font-size: 0.9rem;
    }

}