*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
  body {
  
    font-family: sans-serif;
   background-color: whitesmoke;
  }
    .logo {
        color:rgb(25, 209, 209);
        font-size: 30px;
    }

    .logo span {
        color: rgb(223, 12, 12);
    }
    .header{
        background-color: rgb(16, 96, 128);
        margin: 2px;
        height: 100px;
       
    }
    nav ul li{
        list-style-type: none;
        display: inline-block;
        padding: 10px;
    }
    ul li a{
        color: whitesmoke;
        letter-spacing: 0.1rem;
    }
    ul li a:hover{
        color: #ffd358;
        text-decoration: underline;
    }
    .menu li{
     float: left;
     padding: 8px;
    }
    .menu li a{
        text-decoration: none;
    }
    nav .search_box{
        display: flex;
        margin: auto 0;
        height: 35px;
        line-height: 35px;
        position: relative;
        float: left;
        text-align: left;
    }
    nav .search_box input{
        border: none;
        outline: none;
        background: #fff;
        height: 100%;
        padding: 0 10px;
        font-size: 20px;
        width: 130px;
    }
    

    .fa-image-portrait{
     font-size: 20px;
     color: red;
    }
   
    .h1 {
        text-align: center;
        background-color: hsl(23, 67%, 52%);
        color: #fff;
        font-size: 13px;
    }
    .fa-house {
        color: #58ffb7;
        
        
    }
  
    .menu i{
        color: rgb(170, 19, 19);
      
    }
    .slide{
        height: auto;
        width: 180px;
        position: absolute;
        background-color: #fff;
        transition: 0.5s ease;
        transform: translateX(-180px);
    }
    h2{
        color: #8000ff;
        font-weight: 800;
        text-align: right;
        padding: 10px 0;
        padding-right: 30px;
        pointer-events: none;
    }
     ul li {
        list-style: none;
    }
     ul li a{
        color: #011a41;
        font-weight: 500;
        padding: 5px 0;
        display: block;
        text-transform: capitalize;
        text-decoration: none;
        transition: 0.2s ease-out;
    }
    
    ul li:hover a{
        color: #fff;
        background-color: #8000ff;
    }
    ul li a i{
        width: 40px;
        text-align: center;
    }
    input{
        display: none;
        visibility: hidden;
        -webkit-appearance : none;
    }
    .toggle{
        position: absolute;
        height: 30px;
        width: 30px;
        top: 60px;
        left: 20px;
        z-index: 1;
        cursor: pointer;
        border-radius: 2px;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }
    .toggle .common{
        position: absolute;
        height: 2px;
        width: 20px;
        background-color: #8000ff;
        border-radius: 50px;
        transition: 0.3s ease;
    }
    .toggle .top_line{
        top: 30%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .toggle .middle_line{
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .toggle .bottom_line{
        top: 70%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    input:checked ~ .toggle .top_line{
        left: 2px;
        top: 14px;
        width: 25px;
        transform: rotate(45deg);
    }
    input:checked ~ .toggle .bottom_line{
        left: 2px;
        top: 14px;
        width: 25px;
        transform: rotate(-45deg);
    }
    input:checked ~ .toggle .middle_line{
        opacity: 0;
        transform: translateX(20px);
    }
    input:checked ~ .slide{
        transform: translateX(0);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }
    



    .gridbody{
        max-width: 1000px;
        width: 100%;
        height: auto;
        grid-template-columns: repeat(auto-fill, 150px);
        margin: 3px auto;
      
        display: grid;
        
        justify-content: center;
        grid-gap: 20px;
       
    }
    
    .wrapper{
       
        width: 150px;
       
       height:200px;
      
       justify-items: center; 
      justify-content: center;
      padding: 1px;
        display: flex;
        flex-direction: grid;
        flex-wrap: wrap;
      
        gap: 1px;
        font-size: 15px;
      background-color: hsl(23, 67%, 52%);
      border-radius: 10px;
    }
    
    
    .container{
      
        font-size: 20px;
        width: 100%;
      height: 170px; 
        justify-content: center;
        text-align: center;
        text-transform: capitalize;    
    }
    .container .image-container{
        
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        height: 100%;
        justify-content: center;
        
       
    }
 
    .sheader{
        color: whitesmoke;
        font-weight: normal;
        flex: 1;
        font-size: 12px;
        width: auto;
        height: auto;
       text-align: center;
        justify-content: center;
        align-items: center; 
    }
    .footer{
        flex: 1;
        display: flex;
        width: auto;
        height: 20px;
        justify-content: center;
        background-color: rgb(19, 95, 134);
        justify-content: center;  
        border-radius: 6px;
    }
   
    .container .image-container .image{
        height: 100%;
        width: 100%;
       
        cursor: pointer;
    }
    .container .image-container .image img{
        height:100%;
        width:100%;
        object-fit: cover;
        transition: .2s linear;
        border-radius: 10px;
    }
   
    .btn1{
        width: 100px;
        height: 20px;
        position: fixed;
        display: flex;
        right: 0%;
        border-radius: 20px;
        background-color: #afd3e3;
    }
    
    .btn{
        width: 100px;
        height: 20px;
        color: white;
        border-radius: 20px;
        background-color: #14c72c;
       
    }
  


    @media screen and(max-width: 800px) {
        .main-container>div{
            min-height: 400px;
        }
        .content1{
            flex: 100%;
        }
        .Mheader{
            min-height: 90px;
        }
        .footer{
            min-height: 110px;
        }
    }
    @media screen and (max-width: 520px){
        .content2>div{
            flex-direction: column;
        }
    .content2>div>div{
        min-height: 200px;
    }    
    }