@media only screen and (max-width : 600px){
    @font-face {
        font-family: Trans-light;
        src: url(./fonts/Transcend\ Light.otf);
    }
   
    .home-container{
        width: 100%;
        height: 600px;
    }
    #logo{
        line-height: 60px;
        padding: 0px 20px;
        font-size: 1.3rem;
    }
    
    nav ul{
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: 430px;
        text-align: center;
        background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.9),rgba(0,0,0,0.7));
        transition: all .5s;
        z-index: 999;
    }

    nav ul li {
        display: block;
    }

    nav ul li a{
        color: #fff;
        text-decoration: none;
        font-size: .8rem;
        line-height: 10px;
    }

    #icon{
        display: block;
        color: #fff;
        font-size: 1.5rem;
    }
    #icon:hover{
        color: #ffda43;
        transition: all .5s;
    }
    #check:checked~ul{
        left: 0;
    }

    .home-section h1{
        font-size: 40px;
        letter-spacing: 5px;
    }
    
    .home-section h6{
        font-size: 1rem;
        letter-spacing: 3px;
        font-weight: 500;
    }
    .home-section button{
        width: 120px;
        height: 40px;
        margin: 10px 0px;
        font-size: 0.65rem;
        letter-spacing: 2px;
        padding: 0;
    }

    /* -----------about------------ */
    .about-conatiner{
        display: grid;
        grid-template-columns: 1fr;
        }  
    
    .about-box-1{
        padding: 10px 12px 15px 12px;
    }
    .about-box-1 p{
        text-align: justify;
    }

    .about-box img{
        height: 500px;
    }

    .about-box-1 h5{
        font-size: 1.7rem;
        line-height: 40px;
   }
   
   .about-box-1 h6{
       margin-top: 20px;
       line-height: 30px;
   }
   
   .about-box-1 p{
       font-size: 0.8rem;
   }
    /* ----------book-------- */
    .book-container{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .book-box-1{
        width: 100%;
        height: 100%;
    }
    .book-box-2{
        width: 100%;
        height: 100%;
    }
    .book-box-2 img{
        min-height: 100%;
        width: 100%;
    }
    .book-container .book-box{
        grid-row-start: 1;
        grid-row-end: 2;
    }
    .book-container .book-box-1{
        grid-row-start: 2;
        grid-row-end: 3;
    }
    .book-box-1 h2{
        font-size: 2rem;
    }
    
    .book-box-1 p{
        font-size: .9rem;
        text-align: justify;
    }
    
    .book-box-1 span{
        font-size: 3rem;
        margin-top: 10px;
    }
    
    .book-box-1 button{
        width: 90px;
        height: 30px;
        font-size: 0.7rem;
        margin-bottom: 10px;
    }
     /* ------------gallery------- */
      .gallery-container{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(6,1fr);
        grid-gap: .1rem;
    }
    .gallery-box:nth-child(1){
         grid-column: 1 / span 4;
    }
    .gallery-box:nth-child(2){
        display: none;
        /* grid-row-start: 9;
        grid-column:  1/ span 4; */
   }
   .gallery-box:nth-child(3){
       grid-row-start: 2;
       grid-column: 1 / span 4;
    }
    .gallery-box:nth-child(4){
        display: none;
         /* grid-row-start: 7;
        grid-row-end: 8;
       grid-column: 1 / span 4;  */
     }
    .gallery-box:nth-child(5){
        grid-row-start: 3;
       grid-column: 1/ span 4;
     }
     .gallery-box:nth-child(6){
        grid-row-start: 4;
       grid-column: 1 / span 4;
     }
     .gallery-box:nth-child(7){
        grid-row-start: 5;
        grid-row-end: 6;
       grid-column: 1 / span 4;
     }
     .gallery-box:nth-child(8){
        grid-row-start: 6;
        grid-row-end: 7;
       grid-column: 1 / span 4;
     }
     .gallery-box:nth-child(9){
        display: none;
        /* grid-row-start: 8;
        grid-row-end: 9;
       grid-column: 1 / span 4;*/
     }
     .gallery-box{
        height: 200px;
    } 
/* ----------------blog--------------------- */
    .blog-title{
        font-size: 2rem;
        line-height: 60px;
        margin-bottom: 0;
    }
    .blog-slider{
        margin: 0;
        padding: 0;
    }
    .blog-box{
        display: grid;
        grid-template-columns: repeat(1,1fr);
     }

    .blog-items{
        width: 100%;
    }

    .blog-box-items img{
       height: 300px;
       width: 100%;
    }

    .blog-user small{
        font-size: .65rem;
    }

    .blog-details{
        margin-top: 40px;
    }
    
    .blog-details h2{
      font-size: 1.3rem;
      line-height: 40px;
    }
    
    .blog-details p{
        font-size: .7rem;
        line-height: 20px;
        text-align: justify;
    }
    .blog-box-items{
        width: 100%;    
    }
        
    .views-show{
        font-size: .5rem;
    }

    .views-show small{
        font-size: .7rem;
    }
    .views{
        font-size: 1rem;
    }

   /* --------contact------------- */
   .contact-container{
    display: grid;
    grid-template-columns: repeat(1,1fr);
   }


.input-container{
    width: 100%;
}
.contact-box{
    height: 400px;
    max-height: 100%
}
.contact-box-2{
    height: 530px;
}

.contact-box h2{
    font-size: 1.6rem;
}

.contact-box h6{
    font-size: .7rem;
}

form label{
    font-size: .9rem;
}

form input{
    height: 35px;
}
form textarea{
    height: 90px;
}
form button{
    width: 110px;
    margin-top: 8px;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-icons i{
    font-size: 1.8rem;
}
.footer{
    width: 100%;
    margin-top:10px;
}
.footer p{
    font-size: .6rem;
}

.portfolio-box{
    display: grid;
    grid-template-columns: 1fr;
}

}