@media  screen and ( max-width: 600px) {
 
    :root {
        --purple: #ff00ae;
        --white: #ffffff;
        --btn-bg: #A40FFF;
        --cursor-bg: #00D1FF;
        --btn-bgopacity: hsla(277, 100%, 53%, .3);
        --bg: rgba(32, 41, 59, 0.992);
        --whiteopc: hsla(0, 0%, 100%, .5);
        --transition: all .5s ease-in-out;
        --cursor: url("./img/cursorPointer.svg"), auto;
        --fsizeTitleMini: 2rem;
      }
      
    .wrapper #nav-section nav *{
        color: var(--bg);
    }
    .wrapper section{
        padding: 0 !important;
    } 
    /* NAV BARS */
    /* small */
    .small-nav{
        display: flex;
        justify-content: space-between;
        padding: 1rem 0;
        padding: 1rem 1rem;
    }
    /* big */
 #nav-section,
.wrapper .sticky,
.wrapper .stickyTop
{
    background: white !important;
    position: fixed;
    inset: 0 3rem 0 0 !important;
    z-index: 9900;
    display: flex;
    height: 100%;
    width: calc(100% - 3rem) !important;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}
#nav-section{
    display: none;
}
.wrapper .sticky  ul li a,
.wrapper .stickyTop  ul li a{
    color: var(--bg) !important ;
}
.wrapper  #hovered{
    color: var(--bg) !important;
}
.wrapper .nav-links li .purpledcolor{
    color: var(--btn-bgopacity) !important;
}
.wrapper .nav-links li #hoveredSticky:hover{
    color: var(--bg) !important;
}
#nav-section  .nav-bar-box{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    min-height: max-content;
}
.nav-logo-box{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
#nav-section .nav-links{
    display: flex;
    padding: 0;
    padding-top: 1rem;
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
}
   .nav-links li{
        width: 100%;
        display: flex;
        align-items: center;
        margin: .3rem 0;
        padding: .5rem;
        overflow: hidden;
    }
    
    .nav-links li a{
        width: 100%;
        padding: 1rem 0;
        color: var(--bg);
        cursor: var(--cursor);
    }
    
    .nav-links li a small{
        display: none;
    } 
    #close-box{
        display: flex;
    }
    #close-box .fa-thin{
        font-size: 2rem;
    }
    #close-box .fa-thin:hover{
        cursor: var(--cursor);
        color: var(--purple)
    }
    .nav-footer{
        display: flex;
        width: 100%;
        margin-top: 4rem;
    }
    .nav-footer *{
        overflow: hidden;
    }
    .nav-footer-box{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .fa-regular{
        font-weight: bolder;
    }
    .copy{
        font-size: 1.2rem;
    }
.nav-footer .nav-footer-box >div{
    padding: .5rem;
}
.nav-footer .nav-footer-box a{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    color: var(--cursor-bg) !important;
    font-weight: bolder;
}
.nav-footer .nav-footer-box a:hover{
    color: var(--cursor-bg);
    text-decoration: underline;
}
.nav-footer .nav-footer-box span{
    margin-top: 1rem;
}
/* Body section */
/* home page */
.homepage .homepage-middle h1{
    font-size: 2rem;
    text-align: center;
    width: 100%;
    font-family: var(--ffamilyH1);
    font-weight: 900;
    margin: 0;
    flex-shrink: 2;
}
.homepage .homepage-middle p{
    font-size: 1rem;
}
.homepage-bottom{
    padding:  0 1rem 0 1rem;
    margin-top: 1rem;
}
 .pageTitle{
    font-size: var(--fsizeTitleMini);
}
.about-header p{
    letter-spacing: 1px;
    padding: 1rem 0 0 0;
    margin: 0;
    font-size: .7rem;
}
.about-body{
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem 1rem 1rem;
    justify-content: space-between;
    position: relative;
    align-items: center;
}
.about-body .about-bg,
.about-body .about-skills
{
    flex: 2 2 30%;
    border-radius: 1rem;
    padding: 1rem;
    width: 80vw;
    margin-bottom: 2rem;
}
.about-body .about-medias{
    display: none;
}
/* experiences page */
.exp1{
    display:  flex;
    flex-direction: column;
}
.exp1 > div{
    display: flex;
    width: 100vw;
}
.exp1 div p{
    padding-left: 0rem;
}
.projectBox{
    display: flex;
}
.phoneRotate{
    width: 60vw;
    position: relative;
}
.phoneRotate img{
    position: absolute;
    left: -0.5rem;
}
.show-project{
    width: 40vw;

}
.exp2{
    padding: 0;
}
.exp2 .bigBoxOtherProj {
    flex-direction: column;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    min-height: fit-content;
}
.exp2 .bigBoxOtherProj .otherProjectsBox{
    display: flex;
    flex: 1 1 40%;
    overflow: hidden;
    width: 100vw;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.otherProjectsBox  .bg{
    background-color: var(--btn-bg);
    position: relative;
    left: -.5rem;
}
.otherProjectsBox .studio{
    padding-right: auto;
}

.otherProjectsBox .nobg{
    position: relative;
    top: 0;
    left: -.5rem;
}

.exp2 .bigBoxOtherProj .otherProjectsBox >div{
    display: flex;
    width: 90vw;
    height: 40vh;
}
.blogs-page{
    padding: 0;
}
/* contact page */
.contact{
    padding: 0rem;
}
.contact-box{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.sent-mails{
    margin-left: 0rem;
    margin-top: 2rem;
}
.contact-box .contact-card{
    border-radius: 1.5rem;
    padding: .5rem;
}
.sent-mails{
    margin-left: 0rem;
    margin-top: 2rem;
    padding: 0;
    width: 95% !important;
}
.greetings .about-medias ul{
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
}
.greetings .about-medias ul li{
    width: 3rem;
    height: 3rem;
}
.greetings .about-medias ul li a i{
    font-size: 1.5rem;
}
.sent-mails{
    margin-left: -0rem !important;
    width: 50vw !important;
}
.contact .contact-card{
    width: 95% !important;
    align-self: center;
}

/* end of medium media */

}
/* start of smaller media */

@media  screen and ( max-width: 380px) {
    .wrapper{
        overflow: hidden !important;
        width: 100vw !important;
    }
    
    .blogs-page{
        width: 100% !important;
    }
    .blogs-page >div{
        width: 95% !important;
    }
    .contact{
        width: 100vw;
    }
    
    .contact .contact-card{
        width: 95% !important;
    }
    
    .wrapper *{
        flex-shrink: 1;
    }
    .exp2 >div .otherProjectsBox{
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
}
