*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
  body {
  
    font-family: sans-serif;
   background-color:#edeae2;
  }
  .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;
}
.h1 {
    text-align: center;
    color: white;
    background-color: rgb(4, 100, 129);
  
}

.fa-image-portrait{
 font-size: 20px;
 color: red;
}

.h1 {
    text-align: center;
    background-color: rgb(16, 96, 128);
    color: #fff;
    font-size: 10px;
}
.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: #e8e8e8;
    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: 100%;
    margin: 3px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, 150px);
    justify-content: center;
    grid-gap: 20px;
   
   
   
}


.btn{
    background: rgb(13, 223, 79);
    color: white;
    width: 95px;
    height: 20px;
    font-size: 10px;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
}
.wrapper{
   width: 150px;
   height: 220px;
    padding: 1px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1px;
    border-radius: 10px;
    font-size: 10px;
   background-color: rgb(16, 96, 128);
   
}
.main-container{
    flex: 1;
    width: 100%;
    height: 165px;
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 1px;
    
}

.Mheader,  .content1, .content2>div>div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
   
}

.footer{
    height: 20px;
    background-color: rgb(13, 153, 223);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content1{
    width: 100%;
    height: 100%;
}
.content1 a{
    width: 100%;
    height: 100%;
}
.content1 img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.subcontent2{
    color: white;
    font-weight: normal;
  font-size: 12px;
    width: auto;
    height: auto;
   text-align: center;
    justify-content: center;
    align-items: center;
   
}

.content2{
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2px;
}
.content2>div{
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2px;
}
@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;
}    
}












