* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    text-decoration: none;
    list-style: none;
}


/*
Paleta de cores:
    - #2BAABE - Ciano
    - #3A8793 - Azul esverdeado
    - #OECBE8 - Ciano claro
    - #3B6269 - Verde-azulado escuro
    - #2D3C3E - Cinza-escuro esverdeado
    - #2E3233 - Cinza escuro
*/


:root {
    --cor-fundo:#0D0D0D;
    --cor01: #2baabe;
    --cor02: #3A8793;
    --cor03: #0ecbe8;
    --cor04: #3B6269;
    --cor05: #2D3C3E;
    --cor06: #2E3233;
}


p {
    color: var(--cor02);

    font-size: 0.9em;
    line-height: 1.5em;
}


header {
    background-color: #0D0D0D;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;

    border-bottom: 1px solid rgba(46, 50, 51, 0.434);
    padding: 10px 0;
    width: 100%;
    margin-bottom: 3px;
}

header nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}


header .links-cabecalho {
    color: var(--cor04);
    
    font-size: 1.2em;
    font-weight: 500;

    transition: color 0.3s;
    
}


header .links-cabecalho:hover {
    color: var(--cor02);

}


header .btn-contato {
    background-color: var(--cor01);
    
    border: none;
    border-radius: 5px;
    padding: 8px;
    
    transition: background-color 0.3s;

}


header button a {
    color: var(--cor04);

    font-weight: 700;
}


header button:hover {
    background-color: #0ecbe8;
}


body {
    background-color: var(--cor-fundo);
    overflow-x: hidden;
    padding: 60px 0 50px 0;
}


body .conteudo-principal {
    display: grid;
    gap: 70px;

    margin: 20px;
    padding: 0;

}


aside .container-perfil {
    background-color: var(--cor-fundo);

    border-radius: 10px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;

    position: fixed;
    top: 100px;
    left: 50px;
    
    padding: 15px;
    width: 350px;
    margin: 0;
}


aside .container-perfil h1 {
    color: var(--cor03);

    text-align: center;
    font: 700 1.8em 'inter', sans-serif;
}


aside .container-perfil h2 {
    color: var(--cor04);

    text-align: center;
    font: 600 1.2em 'inter', sans-serif;
}


aside .container-perfil .img-container {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 15px 0;
}


aside .container-perfil #img-perfil {
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    object-fit: cover;
   
    width: 200px;
    height: 200px;
}


aside .container-perfil p {
    padding: 5%;

    text-align: justify;
    text-indent: 40px;
}


aside span {
    color: var(--cor01);

    font: italic 500 0.9em 'Inter', sans-serif;
}


aside .container-links {
    display: flex;
    justify-content: center;
    gap: 15px;
   
    margin: 10px;
}


aside .links-logo {
    transition: transform 0.3s ease;
}


.links-logo:hover {
    transform: translateY(-3px);
}


.logo-social {
    width: 25px;
    height: 25px;
}


main {
    margin-left: 420px;
    width: calc(100% - 450px);

    max-width: 800px; 
}    


.scroll-content {
    scroll-behavior: smooth;

}


section.cv {
    padding: 2%;

}

.cv > h1 {
    color: var(--cor01);

    padding-bottom: 5px;
}


.cv .container-formacao {    
    display: flex;
    flex-direction: column;
   
    border-top: 1px solid var(--cor03);
    border-right: 1px solid var(--cor03);
    border-bottom: 1px solid var(--cor03);
    border-left: 20px solid var(--cor01);
    border-radius: 5px;

}



.container-formacao > p {
    padding: 5px;
}


.container-formacao span > img {
    margin: 5px;
    width: 30px;
    height: 30px;
}


section.trabalhos {
    padding: 2%;
}

.trabalhos > h1 {
    color: var(--cor01);

    margin-bottom: 10px;
}


.trabalhos .grupo-projetos {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}


.grupo-projetos .projeto {
    border: #2baabe 1px solid;  
    border-top: #2baabe 7px solid;
    border-radius: 2px 2px 10px 10px;

    padding: 15px;

    min-width: 300px;
    height: 150px;

} 


.links-projeto:hover {
    color: var(--cor05);
    transition: ease-in;
}


footer {
    color: var(--cor04);

    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    
    width: 100%;
    padding: 10px;
    margin: 10px;
    text-align: center;
}


footer p {
    color: var(--cor04);
    margin: 0;
}


@media (max-width: 1024px) {
    body .conteudo-principal {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    aside {
        height: auto;
        margin: 20px 0;
    }

    main {
        width: 100%;
        padding: 20px 0;
    }
    
    .carrossel-container-css {
        padding: 0 10px;
    }
}


@media (max-width: 768px) {
    header {
        margin: 2% 3%;
        padding: 10px 20px;
    }

    header nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header button {
        margin-top: 5px;
    }

    aside .foto-perfil {
        width: 200px;
        height: 200px;
    }

    p {
        font-size: 1.1em;
        line-height: 1.4em;
    }
}


@media (max-width: 480px) {
    header nav {
        flex-direction: column;
        gap: 10px;
    }

    .links-cabecalho {
        display: block;
        text-align: center;
    }

    header button {
        width: 100%;
        margin-top: 10px;
    }

    aside p {
        text-align: left;
    }

    .grupo-projetos-css {
        justify-content: flex-start;
        padding: 10px;
    }

    .projeto {
        min-width: 85%;
        height: 140px;
    }
}
