/* IPAD */
@media screen and (max-width:779px) {
    .section-p1{
        padding: 40px;
    }
    #navbar{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        height: 100vh;
        width: 300px;
        position: fixed;
        top: 0;
        right: -300px;
        padding: 80px 0 0 10px;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        background-color: #e3e6f3 ;
        transition: all 0.4s ease;
    }
    #navbar.active{
        right: 0px;
    }
    #navbar li {
        margin-bottom: 25px;
    }
    #mobile{
        display: flex;
        align-items: center;
    }
    #mobile i{
        color: #1a1a1a ;
        font-size: 24px;
        padding-left: 20px;
    }
    #close{
        display: initial;
        font-size: 24px  ;
        color: #222 ;
        position: absolute;
        top: 30px;
        left: 30px;
    }
    .lg-bag{
        display: none;
    }
    #img-slid .slide .info{
        padding: 0 40px;
    }
    #img-slid .slide img 
    {
        object-position: top 30% right 30%;
    }
     #img-slid .slide .info h4{
        padding-bottom: 10px;
    }
    #features
    {
        justify-content: center;
    }
    #features .fe-box{
        margin: 15px;
    }
    #product1 {
        justify-content: center;
    }

    #product1 .pro-continer .pro{
        margin:15px;
    }
    #banner{
        height: 20vh;
    }
    #sm-banner .banner-box{
        min-width: 100%;
        height: 30vh;
        margin-bottom: 20px;
    }
    #sm-banner .banner-box:nth-child(2){
        margin-bottom: 0px;
    }
    #banner3{
        padding: 0 40px;
    }
    #banner3 .banner-box{
        width: 28%;
    }
    #newsLater{
        padding: 40px;
    }
    #newsLater .form{
        width: 70%;
    }
    footer{
        margin: 0;
    }
}

/* mobile */
@media (max-width:477px) {
    #header{
        padding: 10px 30px;
    }
    #navbar{
        width: 225px;
    }
    .section-p1{
        padding: 20px;
    }
    #img-slid .slide .info{
        padding: 0 20px;
    }
    #img-slid .slide .info h4{
        padding-bottom: 7px;

    }
    #img-slid .slide .info h1{
        line-height: 1;
        
    }
    h1{
        font-size: 38px;
    }
    h2{
        font-size: 32px;
    }

    #features .fe-box{
        width: 150px;
        margin: 0 0 15px 0;
    }
    #features{
        justify-content: space-around;
    }
    #product1 .pro-continer .pro{
        width: 100%;
    }
    #banner{
        height: 40vh;
    }
    #sm-banner .banner-box{
        height: 40vh ;
    }
    #sm-banner .banner-box:nth-child(2){
        margin-top: 20px;
    }
    #banner3{
        padding: 0 20px;
    }
    #banner3 .banner-box{
        width: 100%;

    }
    #newsLater .form{
        width: 100%;
    }
    footer .copyright{
        text-align: start;
    }
}