/* ----------------------------------- Responsiveness ---------------------------- */

/*-------------------------------------For Large Screen------------------------------*/
@media all and (min-width:1200px){
    #navbar-menu{
        display: flex;
    }
}
/*-----------------------------------For Mid-Size Screen-----------------------------*/
@media all and (min-width:701px) and (max-width:1200px){
    #nav-cont{
        width:90%;
    }
    #nav-name{
        font-size: 20px;
        font-weight: 500;
    }
    #navbar-menu{
        width:50%;
        font-size: 16px;
        display: flex;
    }
    .home-left{
        width: 98%;
        font-size: 17px;
        padding-left: 7%;
        padding-top: 4%;
    }
    .home-right{
        width: 98%;
        font-size: 12px;
        padding-left: 7%;
        padding-top: 4%;
    }
    #resume-button-2{
        font-size: 15px;
        margin-top:10px;
        padding:5px 12px;
    }
    .about-body{
        display: block;
        margin:75px auto;
        text-align: center;
    }
    .about-left{
        width:30%;
        margin:auto;
    }
    .about-details{
        width:100%;
        margin:20px auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .home-body{
        display: flex;
        flex-direction: column;
    }
    .contact-left form{
        width: 98%;
        margin: auto;
    }
    .skills-body{
        display:grid;
        grid-template-columns: repeat(2,1fr);
        gap:30px 30px; 
    }
    #github-stats{
        width:70%;
        margin:50px auto;
        display: block;
    }
    #github-stats>div{
        width:100%;
        margin: 20px auto;
    }
    .project-card{
        display: block;
    }
    .project-img{
        width:100%;
    }
    .project-info{
        margin-top: 20px;
        width:100%;
    }
    .contact-body{
        width:70%;
        margin: 60px auto;
        display: block;   
    }
    .contact-text{
        width: 100%;
        margin-top:15px; 
    }
    #contact-img{
        width:100%;
    } 
}

/*-------------------------------------For Small Screen------------------------------*/
@media all and (min-width:300px) and (max-width:700px){
    #hamb{
        display: block;
        font-size: 20px;
        color:white;
    }
    #nav-cont{
        width:90%;
    }
    .home-body{
        display: flex;
        flex-direction: column;
    }
    #navbar-menu{
        border:none;
        border-radius: 5px;
        position: absolute;
        left:0;
        top:80%;
        width:50%;
        text-align: center;
        display:none;
        background-color: black;
    }
    #nav-name{
        font-size: 17px;
        font-weight: 500;
    }
    #resume-button-1{
        font-size: 17px;
    }
    #navbar-menu>li{
        border-bottom: white;
        padding:15px 0;
    }
    .home-left{
        width:90%;
        font-size: 8px;
        padding-left: 7%;
        padding-top: 4%;
    }
    #resume-button-2{
        font-size: 10px;
        margin-top:10px;
        padding:3px 8px;
    }
    .home-right{
        width:90%;
    }
    .about-body{
        display: block;
        margin:75px auto;
        text-align: center;
    }
    .about-left{
        width:55%;
        margin:auto;
    }
    .about-details{
        width:100%;
        margin:20px auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #resume-link-2{
        width:50%;
        margin:15px auto;
    }
    .skills-body{
        display:grid;
        grid-template-columns: repeat(1,1fr);
        gap:30px 30px; 
    }
    .skills-body-stat {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px 30px;
    }
    #github-stats{
        width:70%;
        margin:50px auto;
        display: block;
    }
    #github-stats>div{
        width:100%;
        margin: 20px auto;
    }
    .project-card{
        display: flex;
        flex-direction: column;
        padding:12px;
    }
    .project-img{
        width:100%;
    }
    .project-info{
        margin-top: 15px;
        width:100%;
    }
    .project-tech-stack{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap:10px;
    }
    .project-buttons{
        width:70%;
    }
    .contact-body{
        width:90%;
        margin: 60px auto;
        display: block;   
    }
    .contact-left form{
        width: 98%;
        margin: auto;
    }
    .contact-text{
        width: 100%;
        margin-top:15px; 
    }
    #contact-img{
        width:100%;
    } 
}
