@media (min-width: 42rem) {
    nav {
        min-height: 5rem;
    }

    #hamburger-nav {
        display: none;
    }

    #desktop-nav {
        display: flex;
        gap: 1.5rem;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: clamp(0.75rem, 2vw, 1.75rem);
    }

    #desktop-nav .nav-links a {
        color: var(--muted);
        font-size: 0.9rem;
        font-weight: 600;
    }

    #desktop-nav .nav-links a:hover {
        color: var(--accent);
    }

    section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    #profile {
        min-height: min(48rem, calc(100svh - 5rem));
        flex-direction: row;
        gap: clamp(2rem, 6vw, 5rem);
        padding-top: 3rem;
        padding-bottom: 3rem;
        text-align: left;
    }

    #profile .section__text__p1 {
        text-align: left;
    }

    #profile .btn-container,
    #social_media-container {
        justify-content: flex-start;
    }

    #profile .title {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }

    .section-container {
        grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
        align-items: center;
        gap: 2rem;
    }

    #about .section__pic-container {
        width: 100%;
    }

    .about-containers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #experience .about-containers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #projects .about-containers {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    }

    .Contact-info-upper-container {
        display: flex;
        gap: 1.5rem;
        padding: 0.75rem 1.25rem;
    }
}

@media (min-width: 68rem) {
    #profile .section__pic-container {
        width: 21rem;
    }

    #projects .about-containers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 25rem) {
    nav {
        width: calc(100% - 1.25rem);
    }

    .theme-toggle {
        width: 2.65rem;
        padding: 0;
    }

    .theme-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    section, #projects {
        width: calc(100% - 1.5rem);
    }
}
