.section-container {
    height: fit-content;
}

section {
    margin: 0 5%;
}

@media screen and (max-width: 1024px) {
    nav {
        height: 10vh;
    }
    #profile {
        height: 83vh;
        gap: 2rem;
        margin-top: 1rem;
        margin-bottom: 6rem;
        flex-direction: column-reverse;
    }
    .about-containers {
        flex-wrap: wrap;
    }
    #socials-container {
        flex-direction: row;
    }
    #contact,
    #projects {
        height: fit-content;
    }
}

@media screen and (max-width: 1024px) {
    #cursor,
    #cursor-blur {
        display: none;
    }

    #desktop-nav {
        display: none;
    }
    #hamburger-nav {
        display: flex;
    }
    #experience,
    .experience-details-container {
        margin-top: 2rem;
    }
    .section-container {
        display: block;
    }
    .profile-main {
        display: block;
    }
    .arrow,
    .scroll-down {
        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;
    }
    .skills-details-container {
        margin-top: 2rem;
    }
    .contact-info-upper-container {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 640px) {
    #contact,
    footer {
        height: 50vh;
    }
    #profile {
        height: 83vh;
        margin-bottom: 0;
    }
    article {
        font-size: 1rem;
        gap: 1rem;
    }
    footer nav {
        height: fit-content;
        margin-bottom: 2rem;
    }
    .about-containers,
    .contact-info-upper-container,
    .btn-container {
        flex-wrap: wrap;
    }
    .about-containers {
        flex-direction: column;
    }
    .skills-details-container {
        margin-top: 2rem;
    }
    .contact-info-container {
        margin: 5px 10px;
    }
    .contact-info-container p,
    .nav-links li a {
        font-size: 1rem;
    }
    .experience-sub-title {
        font-size: 1.25rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .logo > img {
        width: 1.8rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .section__pic-container {
        width: auto;
        height: 46vw;
        justify-content: center;
    }
    .section__text__p2 {
        font-size: 1.25rem;
    }
    .title {
        font-size: 2rem;
    }
    .text-container {
        text-align: justify;
    }
}
