.formacao {
    background: #141414;
    color: white;
}

.formacao-container {
    max-width: 1200px;
    padding: 120px 20px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 100px;
    position: relative;
}

.subtitulo-formacao {
    font-size: 6rem;
    line-height: 1;
    word-break: break-all;
    text-transform: uppercase;
    max-width: 6ch;
    color: #f5f5f5;
}

.formacao-container::after {
    content: '';
    display: block;
    width: 130px;
    height: 100px;
    background: url(../img/detalhe.svg) no-repeat center;
    position: absolute;
    bottom: -50px;
    left: 20px;
}

.formacao .subtitulo {
    color: #a3a3a3;
    max-width: 5ch;
}

.formacao-texto {
    font-size: 1.5rem;
    line-height: 1.33;
    max-width: 40ch;
    margin-bottom: 60px;
    color: #a3a3a3;
}

.formacao-texto strong{
    color: #ffffff;
}

.faculdade-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.faculdade {
    flex: 1;
    background: #000000;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.faculdade:hover {
    background: #2b2b2b ;
}

.faculdade-tipo {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #a3a3a3;
    margin-bottom: 10px;
}

.faculdade-curso {
    flex: 1;
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 40px;
    position: relative;
}

.faculdade-curso::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background: linear-gradient(#ffd700, #ffdb58);
    position: absolute;
    top: 20px;
    left: -24px;
}

.faculdade-instituicao {
    font-size: 1.125rem;
    columns: #a3a3a3;
}

.cursos {
    margin-bottom: 60px;
    position: relative;
}

.formacao-extra h3{
    font-size: .875;
    line-height: 1.4;
    color: #8f8f8f;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
}

.formacao-extra h3:before {
    display: block;
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    left: -36px;
    top: -4px;
}

.cursos h3::before {
    background: url(../img/cursos.svg) no-repeat center center;
}

.cursos h3::after {
    content:"clique para ver";
    position: absolute;
    right: 0px;
    font-size: .8rem;
}

.idiomas h3::before {
    background: url(../img/idiomas.svg) no-repeat center center;
}

.formacao-extra li{
    font-size: 1.125rem;
    line-height: 1.1;
    margin: 5px 0px 5px 0px;
    align-content: center;
}

.formacao-extra span{
    color: #8f8f8f;
}

.cursos li{
    display: flex;
    justify-content: space-between;
    align-content: center;

}


.certificados {
    display: block;
    background: #000000;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 10px;
}

.cursos a {
    text-decoration: none;
    color: inherit;
}

.certificados:hover {
    background: #2b2b2b ;
    cursor: pointer;
}
@media (max-width: 800px) {
    .formacao-container {
        grid-template-columns: 1fr;
        padding: 60px;
        gap: 40px;
    }
    .formacao .subtitulo {
        color: #ffffff;
    }
    .formacao-texto {
        font-size: 1.25rem;
    }
    .formacao-extra h3::before{
        position: initial;
        margin-bottom: 10px;
    }
}

@media (max-width:600px) {
    .cursos h3::after {
        display: none;
}
}