@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1E1F20;
    --text-color: #e0cf33;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: Inter, sans-serif;
    background-color: #131314;
    color: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #0A87BB;
}

a:not(.pdf_button):hover {
    text-decoration: underline;
}

.Foto_perfil img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(70, 69, 69, 0.301);
}


.nome_perfil {
    width: 100%;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-left: 0;
    white-space: nowrap;

}

.titulo_perfil {
    font-size: 2.3rem;
    font-weight: bold;
    color: var(--text-color);
    text-align: center;
    margin-left: 0;
    white-space: nowrap;
   
}

.github img,
.linkedin img {
    object-fit: cover;
    border-radius: 25%;
    margin-right: 5px;
    width: 50px;
    height: 50px;
}

.logos {
    width: 100%;
    top: 15px;
    margin-top: 5px;
    left: 40px;
    position: fixed;
}


.linkedin img:hover,
.github img:hover {
    transform: scale(1.35);
    transition: transform 0.3s ease-in-out;
}

.bandeira-container:hover img {
    transform: scale(1.35);
    transition: transform 0.3s ease-in-out;
}


.container_pdf {
    margin-top: .5rem;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}


.pdf_button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border: 2px solid gray;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.pdf_logo {
    width: 30px;
    height: 30px;
}

.pdf_button:hover {
    background-color: white;
    color: #202020;
    text-decoration: none;
}

.bandeira-container {
    position: fixed;
    top: 15px;
    right: 40px;
    cursor: pointer;
    padding: 30px;
    margin: -30px;
    z-index: 9999;
}

.bandeira-container img {
    width: 100px;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
}

.github img {
    margin-left: 18px;
}

.container {
    min-height: calc(100vh - 10rem);
    padding: 4rem;
    display: grid;
    grid-template-columns: 5fr 1fr;
    gap: 4rem;
    margin: 0 auto;
    max-width: 1000px;
    width: 90%;
    background-color: var(--primary-color);
    border-radius: 1rem;
}

.container_perfil {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato {
    margin: 0;
    line-height: 25px;
    margin-top: 5px;
}

.contato h1 {
    margin-top: 8px;
}

.container_intro {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.perfil_esquerda {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.perfil_direita {
    flex-grow: 1;
}

.cargos h1 {
    text-align: center;
    margin-bottom: 5px;
}

.cargos h2,
h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-color);
    white-space: nowrap;
}

.cargos h3 {
    margin-top: 1rem;
}

.empresa {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 252, 252, 0.966);
    margin-left: 2px;
}

.Fed {
    color: #4D148C;
    font-weight: 800;
}

.Ex {
    color: #FF6600;
    font-weight: 800;
}

.atividades {
    line-height: 2;
}

.skills_container {
    flex-direction: column;
    width: 100%;
}

.Habilidades {
    font-size: 30px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.skills_content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

.skills_section {
    line-height: 2;
}

.skills_section h1,
.container_formacao h1,
.container_cursos h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    width: 100%;
}

.container_formacao h1,
.container_cursos h1 {
    margin-bottom: 2px;
}

.container_cursos ul {
    list-style-type: none;
    padding-left: 0;
}

.container_formacao p,
.container_cursos li {
    border-left: 2.5px solid white;
    padding-left: 15px;
    margin-top: 10px;
    line-height: 1.6;
}

/* ----------------MOBILE-------------------- */
@media only screen and (max-width: 768px) {
    .container {
        padding: 3rem !important;
        gap: 3rem;
        max-width: 768px;
        width: 92%;
    }

    .container_intro {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .Foto_perfil img {
        width: 250px;
        height: 250px;
    }

    .nome_perfil {
        font-size: 2rem;
        margin: 0;
        text-align: center;
        max-width: 100%;
        white-space: normal;
    }

    .titulo_perfil {
        margin-left: 0;
        text-align: center;
        font-size: 2rem !important;
        white-space: normal;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .Habilidades {
        margin-right: 0 !important;
    }

    .skills_section {
        width: 100%;
    }

    .Habilidades {
        text-align: center;
        font-size: 30px;
    }

    .cargos h2,
    .cargos h3 {
        font-size: 1.25rem;
        text-align: left;
        white-space: normal;
    }

    .empresa {
        text-align: left;
    }

    .container_formacao,
    .container_cursos {
        text-align: left;
        line-height: 2;
    }

    .bandeira-container {
        position: absolute;
        right: 120px;
        top: 10px;
        width: 20px;
    }

    .logos {
        position: absolute;
        top: 5px;
        left: 30px;
        width: 100%;
    }

    .linkedin img,
    .github img {
        width: 40px;
        height: 40px;
        margin-top: 8px;
    }

    .github img {
        margin-left: 1rem;
    }
}

