/* =========================
   RESPONSIVO
   O CSS principal fica no style.css.
   Este arquivo contém somente ajustes
   para telas menores.
========================= */


/* =========================
   TABLETS / NOTEBOOKS
========================= */

@media screen and (max-width: 1200px) {

    #desktop-nav {
        display: none;
    }

    #hamburger-nav {
        display: flex;
    }

    #profile,
    .section-container {
        display: block;
    }

    section {
        margin: 0 5%;
        max-width: 90%;
        height: auto;
    }

    #profile {
        height: auto;
        margin-bottom: 5rem;
    }

    #experience,
    .experience-details-container {
        margin-top: 2rem;
    }

    .section-container {
        height: auto;
    }

    .section__pic-container {
        width: 275px;
        height: 275px;
        margin: 0 auto 2rem;
    }

    .about-containers {
        margin-top: 0;
    }

    #contact,
    #projects {
        height: auto;
    }

    .arrow {
        display: none;
    }
}


/* =========================
   CELULAR
========================= */

@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    nav {
        height: 12vh;
        min-height: 70px;
        padding: 0 2rem;
    }

    .logo {
        font-size: 1.8rem;
        max-width: calc(100% - 50px);
    }

    .hamburger-menu {
        flex-shrink: 0;
    }


    /* SEÇÕES */

    section {
        width: auto;
        max-width: calc(100% - 4rem);
        margin: 0 2rem;
        height: auto;
        min-height: 0;
    }


    /* PROFILE */

    #profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        min-height: 80vh;
        margin-bottom: 4rem;
        gap: 1rem;
    }

    .section__pic-container {
        width: 250px;
        height: 250px;
        margin: 0 auto 1.5rem;
        flex-shrink: 0;
    }

    .section__text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .section__text__p1 {
        font-size: 1.1rem;
    }

    .section__text__p2 {
        font-size: 1.25rem;
    }

    .title {
        font-size: 2rem;
        line-height: 1.2;
        overflow-wrap: break-word;
    }


    /* BOTÕES */

    .btn-container {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .btn {
        width: min(80%, 400px);
        max-width: 100%;
    }


    /* REDES SOCIAIS */

    #socials-container {
        justify-content: center;
        gap: 1rem;
    }


    /* ABOUT */

    #about {
        text-align: center;
    }

    .section-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        height: auto;
        gap: 2rem;
    }

    .about-containers {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 1.5rem;
    }

    .details-container {
        width: 100%;
        max-width: 100%;
    }

    .about-pic {
        width: 180px;
        max-width: 100%;
        height: auto;
        max-height: 250px;
        border-radius: 15px;
        object-fit: cover;
    }


    /* EXPERIENCE */

    .experience-details-container {
        width: 100%;
        max-width: 100%;
    }

    .experience-details-container > .about-containers {
        width: 100%;
        max-width: 100%;
    }

    .article-container {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    article {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        flex-shrink: 1;
    }

    .experience-sub-title {
        font-size: 1.75rem;
        overflow-wrap: break-word;
    }


    /* PROJECTS */

    .color-container {
        width: 100%;
        max-width: 100%;
    }

    .project-img {
        width: 90%;
        max-width: 100%;
        height: auto;
    }

    .project-title {
        overflow-wrap: break-word;
    }

    .project-btn {
        max-width: 100%;
    }


    /* CONTACT */

    #contact {
        width: auto;
        max-width: 100%;
        height: auto;
        min-height: 50vh;
    }

    .contact-info-upper-container {
        width: 100%;
        max-width: 500px;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin: 2rem auto;
    }

    .contact-info-container {
        width: 100%;
        max-width: 100%;
        margin: 0.75rem;
    }

    .contact-info-container p {
        font-size: 1rem;
        max-width: 100%;
        overflow-wrap: anywhere;
    }


    /* FOOTER */

    footer {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 3rem 0 0;
        padding: 2rem 1rem;
        overflow-x: hidden;
    }

    footer nav {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 0;
    }

    footer .nav-links-container {
        width: 100%;
        max-width: 100%;
    }

    footer .nav-links {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1rem 1.5rem;
        font-size: 1.2rem;
    }

    footer .nav-links li {
        flex-shrink: 0;
    }

    footer p {
        width: 100%;
        max-width: 100%;
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-top: 1rem;
    }
}


/* =========================
   CELULARES PEQUENOS
========================= */

@media screen and (max-width: 480px) {

    nav {
        padding: 0 1.25rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    section {
        max-width: calc(100% - 2.5rem);
        margin: 0 1.25rem;
    }

    #profile {
        min-height: 75vh;
    }

    .section__pic-container {
        width: 210px;
        height: 210px;
    }

    .section__text__p1 {
        font-size: 1rem;
    }

    .section__text__p2 {
        font-size: 1.1rem;
    }

    .title {
        font-size: 1.8rem;
    }

    .btn {
        width: 90%;
        max-width: 350px;
    }

    .about-pic {
        width: 150px;
        max-height: 200px;
    }

    .contact-info-container p {
        font-size: 1rem;
    }

    footer {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    footer .nav-links {
        gap: 0.8rem 1rem;
        font-size: 1.1rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}
/* =================================
   PROJETO ÚNICO - COMPUTADOR
================================= */

@media screen and (min-width: 769px) {

    #projects .about-containers {
        justify-content: center;
    }

    #projects .single-project-card {
        flex: 0 0 350px !important;
        width: 350px !important;
        max-width: 350px !important;
        box-sizing: border-box;
    }

    #projects .single-project-card .article-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #projects .single-project-card .project-img {
        width: 90%;
        height: auto;
        object-fit: cover;
    }

}