/* ==============================================================================================
   VARIABLES GLOBAIS
   Definem fontes, tamanho de fonte e navegação
   ============================================================================================== */
:root {
    font-family: "Roboto Condensed", sans-serif;    /* Fonte moderna e legível */
    font-size: 62.5%;                               /* 1rem = 10px (mais fácil de calcular) */
    scroll-behavior: smooth;                        /*Faz com a pagina navegue suavemente ao clicar no header*/
}

/* ==============================================================================================
   RESET E BOX-SIZING
   Remove padrões e padroniza box model
   ============================================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;             /* Inclui padding e border na largura/altura */
}

/* ==============================================================================================
   APAGAR NO FINAL
   ============================================================================================== */
/* {
    outline: 1px solid red; 
} */

/* ==============================================================================================
   ESTILO BASE DO BODY
   Define tipografia, fundo e alinhamento
   ============================================================================================== */
body {
    background: linear-gradient(to right, black 15%, #00BFFF 100%);
    /* Define o background moderno */
    min-height: 100vh;
    /* Garante altura mínima de tela cheia */
    font-size: 1.4rem;
    /* = 14px */
    /* Padroniza o tamanho da fonte */
    overflow-x: hidden
}

/* ==============================================================================================
   CONTAINER GRID
   Limita largura e centraliza conteúdo
   ============================================================================================== */
.container {
    display: grid;
    /* Define a estrutura de grid do container */
    grid-template-areas:
        /* Define a estrutura do grid */
        "aside header"
        "aside main"
        "footer footer";
    grid-template-columns: 8vh 1fr;
    /* Define o tamanho das colunas do grid */
    width: 100%;                                    /* Ocupa 100% da viewport */
}

section {
    width: 100%;
    /* Define o tamanho das seções para 100% da viewport */
    max-width: 100%;
    /* Define o tamanho máximo das seções para 100% da viewport*/
    height: auto;
    /* Define que a altura das seções serão automáticas */
}

/* ==============================================================================================
   HEADER CONTAINER
   Layout flex para logo, nav e toggle
   ============================================================================================== */
.header-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
}

/* ==============================================================================================
   BOTÃO HAMBURGER (NAV-TOGGLE)
   Aparece apenas em telas pequenas
   ============================================================================================== */
.hamburguer {
    display: none;
    /* Oculta o menu para telas grandes */
    font-size: 2.4rem;
    /* Tamanho do botão */
    cursor: pointer;
    /* Transforma o cursor em pointer */
}

#menu-toggle {
    display: none;
    /* Esconde checkbox */
}

/* ==============================================================================================
   SLOGAN HEADER
   Pequeno slogan no header
   ============================================================================================== */
.slogan {
    display: flex;
    flex-direction: column;
    align-content: center;
    padding-top: 0.8rem;
    gap: 1.2rem;
}

.slogan h1 {
    font-size: 1rem;
    margin-top: 0;
    line-height: 0.1em;
    font-weight: 400;
}

.slogan h3 {
    font-size: 1em;
    margin-bottom: 0;
    line-height: 0.1;
    letter-spacing: 0.1em;
    font-weight: 100;
}

/* ==============================================================================================
   NAVEGAÇÃO PRINCIPAL
   Flexível em desktop, colapsável em mobile
   ============================================================================================== */
header {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    padding: 1rem 0rem;
    min-height: 8.5vh;
    /* Define a altura do header */

    background: linear-gradient(to right, black 10%, #005F99 100%);
    color: white;

    width: 100%;
    max-width: 100vw;
}

.nav-menu {
    flex: 1;
    /* Faz com que o menu ocupe o máximo espaço dentro do container */
    display: flex;
    justify-content: center;
}

header ul {
    display: flex;
    gap: 8rem;
    font-size: larger;
    list-style: none;
}

header a {
    font-size: 1.7rem;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
}

header li {
    transition: transform 0.3s ease;
}

header li:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

header a:hover {
    color: #00FFC6;
}

/* ==============================================================================================
   BOTÃO RETORNAR AO TOPO
   Aparece fixo em todas as telas
   ============================================================================================== */
.button-top {
    position: fixed;
    right: 2rem;
    bottom: 7rem;
    width: 2.5em;
    height: 1.6em;
}

.button-top a {
    color: white;
    transition: transform 1s ease;
}

.button-top a:hover {
    color: #FF4500;
    transition: transform 1s;
}

/* ==============================================================================================
   HERO (SEÇÃO DE BOAS-VINDAS)
   Grid responsivo
   ============================================================================================== */
.hero {
    display: grid;
    grid-template-areas:
        "about1 about2 about3"
        "about4 about4 about3";
    grid-template-columns: 0fr 1fr 1fr;
    justify-content: space-around;
    color: white;
    width: 100%;
    max-width: 100vw;
    min-height: 93.5vh;
}

.hello-world {
    grid-area: about1;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.my-name {
    grid-area: about2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 7rem;
    margin: 0;
    line-height: 1.0;
}

.destaque {
    background-color: #00FFC6;
    border-radius: 0.5rem;
    padding: 0 1rem;
    color: #001F33;
    letter-spacing: 0.8rem;
    font-size: 5rem
}

.alert {
    background-color: orange;
    border-radius: 0.5rem;
    padding: 0.6rem;
    color: #001F33;
    font-weight: 400;
    font-size: 2rem;
    line-height: 5rem;
}

.picture {
    grid-area: about3;
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.picture img {
    width: 100%;
}

.profile {
    grid-area: about4;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.profile h2 {
    font-size: 5rem;
    margin-bottom: 0;
    margin-top: 0;
}

.profile p {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.5em;
    margin-top: 0;
    margin-bottom: 0;
}


/* ==============================================================================================
   SEÇÃO SOBRE MIM
   Grid responsivo
   ============================================================================================== */
.sobre-mim {
    display: grid;
    grid-template-areas: "titulo conteudo";
    grid-template-columns: 0fr 1fr;
    align-items: center;
    background-color: #00FFC6;
    border-radius: 5rem 0rem 0rem 0rem;
    margin: 0;
    padding: 1rem 2rem 1rem 2rem;
    width: 100%;
    max-width: 100vw;
    min-height: 50vh;
}

.sobremim-tittle {
    display: flex;
    justify-content: center;
    writing-mode: sideways-lr;
}

.sobre-mim h1 {
    font-size: 6rem;
    font-weight: 600;
    color: #001F33;

    letter-spacing: 0.5rem;

    margin: 1rem;
}

.sobremim {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 2rem;
    padding-right: 1rem;
}

.sobre-mim p {
    color: #001F33;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.8;
    margin: 0;
}

.destaque-sobre-mim {
    font-size: 2.6rem;
}

/* ==============================================================================================
   SEÇÃO EXPERIÊNCIAS
   Grid responsivo
   ============================================================================================== */
.experiencia {
    grid-area: main;
    display: grid;
    grid-template-columns: 0fr 1fr;
    justify-content: left;
    align-items: center;
    margin-top: 1rem;
    padding: 0rem 0rem 0rem 2rem;
    width: 100%;
    max-width: 100vw;
    min-height: 50vh;
}

.xp-tittle {
    display: flex;
    justify-content: center;
    writing-mode: sideways-lr;
    letter-spacing: 0.5rem;
    padding-right: 4rem;
}

.experiencia h1 {
    font-size: 6rem;
    font-weight: 400;
    color: #00ffc6;

    margin: 1rem;
}

.timeline {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    gap: 4rem;
    padding: 4rem 2rem;
    width: 95%;
    height: 100%;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background: #00BFFF;
    z-index: 1;
}

.evento {
    position: relative;
    text-align: center;
    z-index: 2;
}

.ponto {
    width: 2rem;
    height: 2rem;
    background: #001F33;
    border-radius: 50%;
    border: 0.2rem solid #00BFFF;
    margin: 0 auto;
}

.conteudo {
    position: absolute;
    width: 15rem;
    height: 8rem;
    background: #00BFFF;
    color: #001F33;
    border-radius: 1rem;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.conteudo.top {
    top: -10rem;
}

.conteudo.bottom {
    top: 4rem;
}


/* ==============================================================================================
   SEÇÃO HARD & SOFT SKILLS
   Grid responsivo
   ============================================================================================== */
.skills {
    grid-area: main;
    display: grid;
    grid-template-areas:
        "soft softskill"
        "hard hardskill";
    grid-template-columns: 0fr 1fr;
    flex-wrap: nowrap;
    justify-content: space-between;
    background-color: #001F33;
    border-radius: 0rem 0rem 0rem 5rem;
    margin: 1rem 0rem 1rem 0rem;
    padding: 1rem 2rem 1rem 1.5rem;
    width: 100%;
    max-width: 100vw;
    min-height: 50vh;
}

.soft-tittle {
    grid-area: soft;
    display: flex;
    justify-content: center;
    writing-mode: sideways-lr;
    letter-spacing: 0.5rem;
    padding-right: 2em;
    padding-bottom: 1em;
}

.hard-tittle {
    grid-area: hard;
    display: flex;
    justify-content: center;
    writing-mode: sideways-lr;
    letter-spacing: 0.5em;
    padding-right: 2em;
    padding-bottom: 1em;
}

.skills h1 {
    font-size: 6rem;
    font-weight: 400;
    color: white;
    margin: 1rem;
}

.soft {
    grid-area: softskill;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
}

.soft h3 {
    color: #00FFC6;
    border: 0.2rem solid #00FFC6;
    padding: 0.5rem;
    text-align: center;
}

.hard {
    grid-area: hardskill;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
    padding-top: 1rem;
    gap: 2rem;
}

.hard p {
    padding-top: 0.5rem;
}

.skills-active {
    width: 5rem;
    color: white;
}

.skills-active:hover {
    color: #00ffc6;
}

.skills-deactivate {
    width: 5rem;
    color: white;
}

.skills-deactivate:hover {
    color: #FF6B35;
}

.grupo-desenvolvida {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    max-width: 100%;
    gap: 5.5rem;
    height: 13rem;
    border: 0.1rem solid #00ffc6;
    padding: 1rem 2rem 1rem 1rem;
    margin: 0;
}

.hard-desenvolvida {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    max-width: 100%;
    color: white;
    padding-top: 1rem;
}

.grupo-nao-desenvolvida {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    max-width: 100%;
    gap: 5.5rem;
    height: 13rem;
    border: 0.1rem solid #FF6B35;
    padding: 1rem 2rem 1rem 1rem;
    margin: 0;
}

.hard-nao-desenvolvida {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    max-width: 100%;
    color: white;
    padding-top: 1rem;
}

.grupo-desenvolvida h3 {
    writing-mode: sideways-lr;
    margin: 0;
    color: #00FFC6;
    text-transform: uppercase;
}

.grupo-nao-desenvolvida h3 {
    writing-mode: sideways-lr;
    margin: 0;
    color: #FF6B35;
    text-transform: uppercase;
}

/* ==============================================================================================
   SEÇÃO DEVLOG
   Flex responsivo
   ============================================================================================== */
.devlog {
    grid-area: main;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background-color: #FFB300;
    border-radius: 5rem 0rem 0rem 0rem;
    margin: 0rem 0rem 1rem 0rem;
    width: 100%;
    max-width: 100vw;
    min-height: 50vh;
    max-height: 100vh;
}

.devlog h1 {
    color: black;
    font-size: 6rem;
}

.devlog h2 {
    font-size: 4rem;
}

.devlog p {
    color: black;
    font-size: 2rem;
    font-weight: 400;
    margin-top: 0.5rem;
    padding: 0rem 10rem;
}

.devlog a {
    color: white;
    font-weight: 400;
}

.devlog-tittle {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ==============================================================================================
   DEVLOG - CARROSSEL
   Carrossel responsivo
   ============================================================================================== */
.devlog-carousel {
    width: 100%;
    max-width: 90%;
    margin: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    /* impede que ultrapasse as margens */
}

.devlog-carousel p {
    color: white;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 200;
    margin-top: 1.5rem;
}

input[type="radio"] {
    display: none;
}

.slides {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    width: 100%;
    flex-shrink: 0;
    padding: 2rem 1rem;
    box-sizing: border-box;
    background: #001F33;
    color: white;
    border-radius: 1rem;
}

.navegacao {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.navegacao label {
    width: 1.4rem;
    height: 1.4rem;
    background: #888;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.navegacao label:hover {
    background: #00ffc6;
}

#slide1:checked~.slides {
    /* Lógica do carrossel com :checked */
    transform: translateX(0%);
}

#slide2:checked~.slides {
    transform: translateX(-100%);
}

#slide3:checked~.slides {
    transform: translateX(-200%);
}

/* Slide ativo indicador */
#slide1:checked~.navegacao label[for="slide1"],
#slide2:checked~.navegacao label[for="slide2"],
#slide3:checked~.navegacao label[for="slide3"] {
    background: #00ffc6;
}

/* Background de cada slide */
.slide:nth-child(1) {
    background: #001F33;
}

.slide:nth-child(2) {
    background: #003C66;
}

.slide:nth-child(3) {
    background: #005C99;
}

/* ==============================================================================================
   SEÇÃO PROJETOS
   Grid responsívo 
   ============================================================================================== */
.projects {
    grid-area: main;
    display: grid;
    grid-template-areas: "apresentacao projetos";
    grid-template-columns: 1fr 2fr;
    background-color: #003C66;

    border-radius: 0rem 0rem 0rem 4rem;
    margin: 0rem 0rem 1rem 0rem;

    width: 100%;
    max-width: 100vw;
    min-height: 50vh;
    max-height: 100vh;
}

.apresentacao {
    grid-area: apresentacao;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.apresentacao h1 {
    color: white;
    font-size: 6rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.apresentacao p {
    color: white;
    font-size: 2rem;
    font-weight: 300;
    margin: 0.6rem;
    line-height: 1.3;
}

.apresentacao strong {
    font-size: 2.1rem;
    background-color: #001F33;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
}

.projetos {
    display: flex;
    flex-direction: row;
    background-color: #005C99;
    border-radius: 1rem;
    border: 0.3rem solid white;
    margin: 1.5rem;
    max-width: 100vw;
    width: 95%;
}

.projeto {
    margin: 2rem;
}

.projeto h2 {
    font-size: 4rem;
    color: white;
}

.projeto p {
    color: white;
    font-size: 1.8rem;
    font-weight: 200;
    margin-top: 1rem;
    text-align: justify;
}

.projeto a {
    font-weight: bold;
    color: #00FFC6;
}

.imagens {
    display: none;
    align-items: center;
}

/* ==============================================================================================
   SEÇÃO CONTATOS
   Grid responsívo 
   ============================================================================================== */
.contatos {
    display: flex;
    background-color: #00BFFF;
    border-radius: 5rem 0rem 0rem 5rem;
    padding-left: 3rem;
    width: 100%;
    max-width: 100vw;
    min-height: 10vh;
}

.contato-title {
    display: flex;
    align-items: center;
    width: 8%;
}

.contatos h1 {
    color: black;
    font-size: 3rem;
}

.all-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
    width: 100%;
}

.contatos a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.7rem;
    border: 0.1rem solid black;
    box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.0);
    height: 3rem;
    width: 15rem;
    margin: 1rem;
    padding: 0.1rem 0.5rem 0.1rem 1rem;
    color: black;
    font-weight: 800;
    font-size: 1.6rem;
    text-decoration: none;
    cursor: pointer;
}

.contatos img {
    width: 2.5rem;
    border-radius: 0.3rem;
}

/* ==============================================================================================
   ASIDE
   Flex responsívo 
   ============================================================================================== */
aside {
    grid-area: aside;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    gap: 3rem;

    color: white;
    text-align: center;
    height: 100vh;
}

.code-slogan {
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 1em;
}

.icon-code {
    display: flex;
    position: fixed;
    top: 1.9rem;
    left: 1.5rem;
    align-items: center;
    color: white;
    width: 3.5rem;
    transition: transform 0.5s ease;
}

.icon-code:hover {
    color: #00FFC6;
    transform: rotate(91deg);
    transition: transform 0.5s;
}

aside img:hover {
    transform: scale(1.2);
    transition: transform 0.2s;
}

.icon-whats {
    width: 2.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.icon-whats:hover {
    transform: scale(1.2);
    transition: transform 0.3s;
    color: #25d366;
}

.icon-linkedin {
    width: 2.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.icon-linkedin:hover {
    transform: scale(1.2);
    transition: transform 0.3s;
    color: #0072b1;
}

.icon-github {
    width: 2.4rem;
    color: white;
    transition: transform 0.3s ease;
}

.icon-github:hover {
    transform: scale(1.2);
    transition: transform 0.3s;
    color: orange;
}

.icon-gmail {
    width: 2.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.icon-gmail:hover {
    transform: scale(1.2);
    transition: transform 0.3s;
    color: #EA5335;
}

.icon-cv {
    width: 1.7rem;
    color: white;
    transition: transform 0.3s ease;
}

.icon-cv:hover {
    transform: scale(1.2);
    transition: transform 0.3s;
    color: #00BFFF;
}

/* ==============================================================================================
   FOOTER
   Flex responsívo 
   ============================================================================================== */
footer {
    grid-area: footer;
    display: flex;
    justify-content: right;
    align-items: center;
    min-height: 4rem;
    background-color: black;
    padding-right: 1rem;
    color: white;
    gap: 1rem;
}

footer img {
    width: 2rem;
}



/* ==============================================================================================
   RESPONSIVIDADE
   Ajustes para mobile/tablet
   ============================================================================================== */

/* ========================================== Tablet Portrait (768x1024) ========================================== */
@media (max-width: 768px) and (orientation: portrait),
        (max-width: 1024px) and (orientation: landscape) {
    :root {
        font-size: 35%;
        /* Reduz o tamanho base para melhor ajuste */
    }

    .container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "hero"
            "main"
            "footer";
    }

    /* NAVEGAÇÃO PRINCIPAL E RESPONSIVIDADE */
    .slogan {
        display: none;
    }

    /* ASIDE */
    aside {
        display: none;
    }

    /* HERO DE BOAS VINDAS */
    .hero {
        padding-left: 1rem;
    }

    .my-name h2 {
        font-size: 5rem;
    }

    .alert {
        font-size: 1.7em;
    }

    /* SEÇÃO SOBRE MIM */
    .sobre-mim p {
        font-size: 2.5rem;
        line-height: 3rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .destaque-sobre-mim {
        font-size: 2.7rem;
    }

    .profile h2 {
        font-size: 4rem;
    }

    .profile p {
        font-size: 1.5rem;
    }

    /* EXPERIENCIAS */
    .experiencia {
        padding: 0 1.5rem 0 1.5rem;
    }

    .timeline {
        display: flex;
        justify-content: flex-start;
        gap: 22.5rem;
    }

    /* HARD & SOFT SKILLS */
    .grupo-desenvolvida {
        gap: 5rem;
    }

    .grupo-nao-desenvolvida {
        gap: 5rem;
    }

    /* DEVLOG */
    .devlog h2 {
        font-size: 3.5rem;
    }

    .devlog p {
        padding: 0rem 2rem;
    }

    /* PROJETOS */

    /* CONTATOS */
    .all-contact {
        gap: 8rem;
    }


}


/* ========================================== Small Tablet Portrait (600x800) ========================================== */
@media (max-width: 600px) and (orientation: portrait),
        (max-width: 800px) and (orientation: landscape) {
    .container {
        grid-template-areas:
            "header"
            "hero"
            "main"
            "footer";
        grid-template-columns: 1fr;
    }

    /* NAVEGAÇÃO PRINCIPAL E RESPONSIVIDADE */
    .nav-menu {
        justify-content: flex-end;
    }

    header ul {
        position: fixed;
        top: 0;
        left: -100%;
        /* Esconde o menu no lado esquerdo da tela */
        width: 96%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 100;
        padding-left: 0;
    }

    header a {
        font-size: 2.5rem;
    }

    .hamburguer {
        display: block;
        z-index: 101;
        position: fixed;
        right: 2rem;
        top: 1.7rem;
    }

    #menu-toggle:checked~.nav-menu ul {
        /* Quando o menu está aberto */
        left: 0;
    }

    /* ASIDE */
    aside {
        display: none;
    }

    /* HERO DE BOAS VINDAS */
    .hero {
        grid-template-areas:
            "about1 about2 about2 about2"
            "about4 about4 about4 about4";
        grid-template-columns: 0fr 1fr 1fr 1fr;
        background-image: url("assets/hero6.svg");
        background-size: 60%;
        background-repeat: no-repeat;
        background-position: center;
    }

    .hello-world {
        grid-area: about1;
    }

    .hero h1 {
        font-size: 5rem;
    }

    .my-name {
        grid-area: about2;
    }

    .profile {
        grid-area: about4;
    }

    .profile h2 {
        font-size: 4rem;
    }

    .profile p {
        font-size: 1.5rem;
    }

    .picture {
        display: none;
    }

    .picture img {
        display: none;
    }

    /* SEÇÃO SOBRE MIM */
    .sobre-mim p {
        font-size: 1.8rem;
        line-height: 2.5rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .destaque-sobre-mim {
        font-size: 2rem;
    }

    /* EXPERIÊNCIAS */
    .experiencia {
        display: flex;
        flex-direction: column;
        height: 35rem;
        max-width: 95.3vw;
    }

    .xp-tittle {
        writing-mode: horizontal-tb;
    }
    .timeline {
        display: flex;
        justify-content: flex-start;
        gap: 7.2rem;
    }

    /* SOFT & HARD SKILLS */
    .hard {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .skills {
        padding: 1.5rem;
    }

    .soft {
        flex-wrap: nowrap;
    }

    .soft h3 {
        font-size: 1.3rem;
    }

    /* DEVLOG */
    .devlog h2 {
        font-size: 3.5rem;
    }

    .devlog p {
        padding: 0rem 1.8rem;
    }

    /* PROJETOS */
    .apresentacao p {
        font-size: 2.2rem;
    }

    /* CONTATOS */
    .all-contact {
        gap: 4rem;
    }

    .contatos img {
        width: 2.4rem;
    }
}


/* ========================================== Mobile Portrait (320x480) ========================================== */
@media (max-width: 320px) and (orientation: portrait),
        (max-width: 480px) and (orientation: landscape),
        (max-width: 600px) and (orientation: portrait),
        (max-width: 800px) and (orientation: landscape) {
    .container {
        grid-template-areas:
            "header"
            "hero"
            "main"
            "footer";
        grid-template-columns: 1fr;
    }

    /* NAVEGAÇÃO PRINCIPAL E RESPONSIVIDADE */
    header {
        min-height: 4vh;
        max-height: 4vh;
    }
    .nav-menu {
        justify-content: flex-end;
    }

    header ul {
        position: fixed;
        top: 0;
        left: -100%;
        /* Esconde o menu no lado esquerdo da tela */
        width: 92%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 100;
        padding-left: 0;
    }

    header a {
        font-size: 2.5rem;
    }

    .hamburguer {
        display: block;
        z-index: 101;
        position: fixed;
        right: 2rem;
        top: 1.7rem;
    }

    #menu-toggle:checked~.nav-menu ul {
        /* Quando o menu está aberto */
        left: 0;
    }

    /* ASIDE */
    aside {
        display: none;
    }

    /* HERO DE BOAS VINDAS */
    .hero {
        width: 100%;
        max-width: 100vw;

        display: flex;
        flex-direction: column;
        align-items: center;
        background-image: url("assets/hero6.svg");
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center;
    }

    .hello-world {
        grid-area: about1;
    }

    .hero h1 {
        font-size: 8rem;
    }

    .my-name {
        grid-area: about2;
    }

    .destaque {
        font-size: 7rem;
    }

    .alert {
        font-size: 2.5rem;
    }

    .profile {
        grid-area: about4;
    }

    .profile h2 {
        font-size: 5rem;
    }

    .profile p {
        font-size: 2.2rem;
    }

    /* SEÇÃO SOBRE MIM */
    .sobre-mim {
        max-width: 100vw;
        min-height: 33vh;
        max-height: 33vh;
    }
    .sobre-mim h1 {
        font-size: 7rem;
    }
    .sobre-mim p {
        font-size: 2.5rem;
        line-height: 2.5rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .destaque-sobre-mim {
        font-size: 2.5rem;
    }

    /* EXPERIÊNCIAS */
    .experiencia {
        display: flex;
        flex-direction: column;
        min-height: 33vh;
        max-height: 33vh;
        max-width: 100vw;
    }

    .xp-tittle {
        writing-mode: horizontal-tb;
        text-align: center;
        padding: 0;
    }
    .experiencia h1 {
        font-size: 7rem;
    }
    .timeline {
        display: flex;
        justify-content: flex-start;
        gap: 10rem;
    }
    .conteudo {
        font-size: 1.8rem;
        width: 16rem;
        height: 10rem;
    }
    .conteudo.top {
        top: -12rem;
    }

    .conteudo.bottom {
        top: 4rem;
    }

    /* SOFT & HARD SKILLS */
    .skills {
        min-height: 33vh;
        max-height: 33vh;
    }
    .skills h1 {
        font-size: 7rem;
    }
    .soft {
        display: flex;
        flex-wrap: wrap;
    }

    .soft h3 {
        font-size: 2rem;
    }

    .hard {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hard p {
        font-size: 2rem;
    }

    .skills-active,
    .skills-deactivate {
        width: 5rem;
    }

    .grupo-desenvolvida,
    .grupo-nao-desenvolvida {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
    }

    /* DEVLOG */
    .devlog {
        width: 100%;
        max-width: 100vw;
        min-height: 20vh;
    }
    .devlog h1 {
        font-size: 7rem;
    }
    .devlog h2 {
        font-size: 4rem;
    }

    .devlog p {
        font-size: 2.7rem;
        padding: 0rem 1rem;
    }

    /* PROJETOS */
    .projects {
        display: flex;
        flex-direction: column;
        max-width: 100vw;
        min-height: 20vh;
    }
    .apresentacao h1 {
        font-size: 7rem;   
    }
    .apresentacao p {
        font-size: 2.7rem;
    }
    .apresentacao strong {
        font-size: 2.7rem;
    }
    .projetos {
        width: 95%;
    }
    .projeto h2 {
        font-size: 5rem;
    }
    .projeto p {
        font-size: 2.5rem;
    }

    /* CONTATOS */
    .contatos {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100vw;
        min-height: 5vh;
    }

    .contatos h1 {
        font-size: 4rem;
        margin: 0;
    }

    .contato-title {
        display: flex;
        justify-content: center;
        padding-top: 1rem;
        width: 100%;
    }

    .all-contact {
        gap: 3rem;
        margin-top: 0;
        padding-bottom: 0.6rem;
    }

    .contatos a {
        height: 4rem;
        width: 16rem;
        margin: 0.5rem;
        padding: 0.1rem 0.5rem 0.1rem 1rem;
        font-size: 2rem;
    }

    .contatos img {
        width: 2.8rem;
    }
}