@media screen and (max-width: 1400px){
    #profile{
        height: 83vh;
        margin-bottom: 6rem;
    }
    .about-containers{
        flex-wrap: wrap;
    }
    .experience-sub-title.project-title{
        /* min-height: 145px; */
    }
}

@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;
    }
     .top{
        bottom: 1rem;
        right: 2rem;
    }
    .top i {
        font-size: 21px;
        padding: 2px;
    }
    /* .experience-sub-title.project-title{ */
        /* min-height: 145px; */
    /* } */
}

@media screen and (max-width: 700px){
    #contact, footer {
        height: 40vh;
    }
    #profile {
        height: 83vh;
        margin-bottom: 0;
    }
    article {
        font-size: 1.1rem;
    }

    .article-container{
       gap: .05rem;
        
    }
    
    article{
        font-size: .9rem;
    }

    .article .icon{
        font-size: .5rem;
    }

    .article-head{
        font-size: 1rem;
    }
    .article-info{
        font-size:x-small;
    }
    
    .articles{
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .about-containers,
    .contact-info-upper-container,
    .btn-container{
        flex-wrap: wrap;
    }
    .contact-info-upper-container{
        font-size: 1rem;
    }

    .contact-info-container p,
    .nav-link li a {
        font-size: 1rem;
    }
    .experience-sub-title {
        font-size: 1.4rem;
    }
    .logo{
        font-size: 1.5rem;
    }
    .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.2rem;
    }
    .title {
        font-size: 2rem;
    }
    .text-container {
        text-align: left;
        font-size: 18px;
        line-height: 1.6rem;

    }
    .section__pic-container > .profile-pic {
        width: 11rem;
        height: 11rem;
    }
    .personal-logo {
        width: 1.9rem;
    }
    .menu-links {
        background: white;
        z-index: 999;
    }

    /* #experience .details-container { */
        /* padding: 50px 0; */

    /* } */

    .experience-sub-title{ 
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 10px 15px;
    }

    .experience-sub-title.project-img{
        margin: 0;

    }

    .experience-sub-title.project-title{
         min-height: 10px;
        /* border: 1px solid black; */
         margin: 0;
    }
    .project-description{
        padding-bottom: 5px;
        min-height: 68px;
    }
    

    .contact1{
        display: flex;
        flex-direction: column;
    }
    .contact-link{
        overflow-wrap: anywhere;
        text-align: center;
        max-width: 100%;
        word-break: break-word;
    }
    #contact {
        margin-top: 70px;
    }
    .top{
        position: fixed;
        bottom: 6.5rem;
        right:1.5rem;
        z-index: 9999;
    }
    .top i {
        font-size: 21px;
        padding: 2px;
    }
    .nextTab {
        display: none;
    }
    
    footer{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin: 0;
        height: 200px;
        width: 90%;
    }

    .footer-nav{
        width: 80%;
        margin-bottom: 5px;

    }

    .nav-links2{
        flex-wrap: wrap;
        font-weight: 600;
    }

    .footer-nav .nav-links2{
        display: flex;
        justify-content:   space-around;
        align-items: center;
        font-size: .8rem;
    }

    footer nav{
        height: fit-content;
        margin-bottom: 2rem;
    }

    .details-container .icon{
        height: 2rem;
        width: 2rem;
    }
    .details-container p{
        font-size: .85rem;
        color: rgb(64, 62, 62);
    }
    .about-containers{
        margin-bottom: 1rem;
    }

    .project-img {
    border-radius: 2rem;
    width: 85%;        /* Fills the card width cleanly (or keep 75% if you prefer extra margin) */
    height: 150px;      /* Forces all 3 images to the exact same height */
    object-fit: cover;  /* Crops edges cleanly without stretching or squishing the picture */
    padding: 15px;
    border: 1px solid rgb(163,163,163);
    background-color: #000;
    }

    .project-btn{
        width: 90px;
        font-size: 14px;
        color: black;
        background-color: rgb(245, 241, 241);
        padding: 7px;
    }

 

}

