@media screen and (max-width: 1400px) {
    #profile {
        height: 83vh;
        margin-bottom: 6rem;
    }

    .about-containers {
        flex-wrap: wrap;
    }

    #contact, #projects {
        height: fit-content;
    }
}

@media screen and (max-width: 1200px) {
    #desktop-nav {
        display: none;
    }
    #hamburger-nav {
        display: flex;
    }

    #experience, .experience-details-container {
        margin-top: 2rem;
    }

    #profile, .section-container {
        display: block;
    }

    .arrow {
        display: none;
    }

    section, .section-container {
        height: fit-content;
    }

    section {
        margin: 0 5%;
    }

    .section__pic-container {
        width: 275px;
        height: 275px;
        margin: 0 auto 2rem;
    }

    .about-containers {
        margin-top: 0;
    }
}

@media screen and (max-width: 600px) {
    .work-experience {
        width: 100%;
        margin-bottom: 10px;
    }

    #contact, footer {
        height: auto;
    }

    #profile {
        height: auto;
        margin-bottom: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-container {
        flex-direction: column;
        margin: 0 2%;
    }

    .section__text {
        text-align: center;
        margin-top: 1rem;
    }

    .section__text__p1, .section__text__p2 {
        margin: 0.5rem 0;
    }

    .title {
        font-size: 2rem;
    }

    article, .details-container, .text-container {
        width: 100%;
        font-size: 1rem;
    }

    .btn-container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 90%;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section__pic-container {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .about-pic {
        width: 100%;
        height: auto;
        max-width: 400px;
        margin: 0 auto;
    }
}
