/*--- MENU PRINCIPAL ---*/
body > header{
    width: 100%;
    text-align: center;
    position: fixed;
    top: 5px;
    left: 0;
    background-color: transparent;
    z-index: 100;
}
.menu{
    transition: 0.5s;
    list-style: none;
    padding: 3px;
    display: inline-block;
    border-radius: 50px;
    border: 2px solid transparent;
}
.menu li{
    display: inline-block;
    margin: 3px;
}
.menu li div{
    padding: 3px 10px;
    color: var(--cor-5);
    border: 1px solid transparent;
}
.menu li div:hover{
    color: var(--cor-4);
}





/* --- HOME --- */
section#home{
    background: #200953 url('../images/home-bg.jpg') center;
    background-size: auto 100%;
    height: 200px;
    position: relative;
}
#home .container{
    height: 100%;
}
#home .bg{
    background-color: rgba(0,0,0,0.45);
}
#home .text-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    text-align: center;
}
#home .text-container h1{
    font-size: 3em;
    font-weight: 500;
}
#home .text-container h2{
    font-size: 1.6em;
    font-weight: 300;
}
#home .text-container .subt-box{
    height: 50px;
}

/* #home .line{
    width: 90%;
    transform: translate(-50%, -50%);
    position: absolute;
    bottom: 30px;
    left: 50%;
    border-bottom: 2px solid white;
} */





/* --- SOBRE --- */
section#sobre{
    background: linear-gradient(180deg, var(--cor-3), var(--cor-3), #9d7a53);
}
#sobre > .container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
#sobre img.foto-sobre{
    transition: 0.8s;
    height: 70vh;
    max-height: 340px;
    border-radius: 50%;
    border: 10px solid white;
    filter: brightness(0.8);
}
#sobre img.foto-sobre:hover{
    transform: rotate(-10deg);
    border-width: 20px;
    border-color: var(--cor-3);
}
#sobre .text-container{
    color: white;
    max-width: 600px;
}
#sobre .text-container h2{
    font-size: 1.8em;
    margin-bottom: 10px;
}





/* --- FORMAÇÂO --- */
#formacao{
    background-color: var(--cor-2);
}
#formacao :is(.programacao, .linguagens){
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 980px;
    margin: 50px auto 100px;
}
#formacao :is(.programacao, .linguagens) > .subtitulo{
    color: white;
    font-size: 1.8em;
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 30px;
}
#formacao .programacao h3 span{
    padding: 10px 20px;
    z-index: 10;
    position: relative;
    background-color: #f7f7f7;
}

#formacao header{
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
#formacao .graficos-box {
    /* border-radius: 15px; */
    max-width: 90vw;
}
#formacao header .titulo{
    margin-left: 20px;
    color: white;
}
#formacao header h4{
    font-size: 1.2em;
    margin: 0;
}
#formacao header h5{
    font-size: 0.8em;
}
#formacao p{
    text-align: justify;
    margin-top: 10px;
    color: #f7f7f7;
}






/* --- PROJETOS --- */
section#projetos{
    background-color: var(--cor-7);
}





/* --- CONTATOS --- */
section#contatos{
    background-color: var(--cor-2);
}





/* --- RESPONSIVO --- */
@media screen and (max-width: 768px) {
    /* Header */
    .menu{
        padding: 3px 10px !important;
    }
    body > header li div{
        padding: 3px !important;
    }
    body > header li p{
        font-size: 12px;
        color: white;
    }
    /* Home */
    section#home{
        background-size: auto 80%;
    }
    section#home .bg{
        background-color: rgba(0,0,0,0.3);
    }
    #home .text-container {
        width: 100%;
    }
    #home .text-container h1 {
        font-size: 2em;
    }
    #home .text-container h2{
        font-size: 1.4em;
    }

    /* Sobre */
    #sobre .container{
        flex-direction: column;
    }
    #sobre .container img.foto-sobre{
        width: 70vw;
        max-width: 300px;
        height: auto;
        max-height: initial;
    }
    #sobre .container .text-container{
        max-width: 70vw;
        width: 100%;
        text-align: center;
    }

    /* formação */
    #formacao header{
        align-items: flex-start;
    }
}