@media screen and (max-width: 1400px) {
    #profile {
        height: auto;
        margin-bottom: 4rem;
    }
    .about-containers {
        flex-wrap: wrap;
    }
    .section_pic-container {
        height: auto;
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 1200px) {
    #desktop-nav {
        display: none;
    }
    #hamburger-nav {
        display: flex;
    }
    #projects, .project-details-container {
        margin-top: 2rem;
    }
    #profile,
    .section-container {
        display: block;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }
    .arrow {
        display: none;
    }
    section, .section-container {
        height: fit-content;
        width: 90%;
        margin: auto;
    }
    .section_pic-container {
        width: 150px;
        height: 150px;
        margin: 0 auto 2rem;
    }
    .about-containers {
        margin-top: 0;
        justify-content: center;
    }
}

@media screen and (max-width: 600px) {
    #contact, footer {
        height: auto;
    }
    #profile {
        height: auto;
        margin-bottom: auto;
    }
    footer nav {
        height: fit-content;
        margin-bottom: auto;
    }
    .about-containers, .contact-info-upper-container, .btn-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .contact-info-container {
        margin: 0;
    }
    .contact-info-container p, .nav-links li a {
        font-size: 1rem;
    }
    .projects-sub-title {
        font-size: 1.25rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .section_pic-container {
        width: 80%;
        max-width: 200px;
        height: auto;
    }
    .section__text__p2 {
        font-size: 1.25rem;
    }
    .title {
        font-size: 2rem;
        text-align: center;
    }
    .text-container {
        text-align: justify;
    }
    .about-containers {
        margin-left: 0;
        justify-content: center;
    }
    .about-details-container {
        width: 100%;
        font-size: 1rem;
        text-align: center;
    }
    .gameimg {
        height: auto;
        width: 90%;
        max-width: 300px;
        display: block;
        margin: auto;
    }
    .projects-sub-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    #title-contact {
        font-size: 3rem;
        margin-top: auto;
        text-align: center;
    }
    #p-mail {
        font-size: 1.5rem;
        text-align: center;
    }
    #title-projects {
        font-size: 3rem;
        text-align: center;
    }
    #skills-container, #whoami-container {
        height: auto;
        width: 90%;
        text-align: center;
        margin: auto;
    }
    #GamedevText {
        font-size: 2rem;
        text-align: center;
    }
    .details-container {
        margin: auto;
        text-align: center;
    }
    #contact {
        margin-top: auto;
    }
    #bottom-nav-links {
        margin-top: auto;
    }
    #cpyright {
        margin-top: auto;
        text-align: center;
    }
}
