*{
    margin: 0;padding: 0;
    font-family: "Changa", serif;
}
header{
    width: 95%;
    height: 70px;
    background: #3a3902;
    box-shadow: 0px 0px 8px whitesmoke;
    margin:auto ;
    border-radius: 12px;
}
header img{
    width: 40px;
    float: left;
    border-radius: 50%;
    margin-top: 6px;
    margin-left: 8px;
    
}
header button{
    width: 140px;
    padding: 10px;
    border: none;
    background: none;
    outline: none;
    font-size: 18px;
    margin-top: 12px;
    transition: 1s;
    font-weight: bold;
    border-radius: 6px;
    
}
header button a{
    color:#ffffff;
}
#navp{
    width: 90%;
    display: flex;
    justify-content: space-around;
}
header a{
    text-decoration: none;

}
header button:hover{
color:blue;
background: #0189de;
}
#navm{
    display: none;
}
body{
    background: #40432e;
gap: 5px;
}
.container{

    width: 95%;
    background:  #7f8465;
    margin: auto;
    text-align: center;
    
border-radius: 12px;
}
.text{
    margin-top:10px;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    text-align: center;
    background: #9ca280;
    border-radius: 12px;

}
.text img{
    width: 600px;
    height: 500px;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 10px;
}
.text h1{
    color: #291313;
    margin: auto;
    padding: 10px;
}
.text h2{
    padding: 10px;
    color: #2d1c1c;
    padding: 10px;
    font-weight:bolder;
}
.text p{
    font-size: 23px;
    width: 400px;
    margin: auto;
    line-height: 40px;
    color: #000000;
}
.text a{
    display: block;
    text-decoration: none;
    transition: .5s;
    background: #c4dcad;
    width: 200px;
    margin: auto;
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.text a:hover{
    color: #c79090;
  transform: scale(1.2);
    
    background: #40432e;
}

.galary{
    background: rgba(255, 255, 255, .2);
    width: 80%;
    
   text-align: center;
   border-radius: 15px;
   margin:6px auto ;
padding: 20px 0;
}
.galary h2{
    color: #6d0808;
    margin:0 auto;
}
.photo{
    margin:  auto;
    padding: 10px;
   
}
.photo img{
    width: 50px;
    height: 50px;
    border:#939496 solid 2px;
}
.photo img:hover{
    border: #d7f225 solid 3px;
    cursor: pointer;
}
.main{
    width: 500px;
    height: 400px;
    margin: 10px auto ;

    border: #b7b7f5 solid 3px;
   
}
.main img{
    width: 100%;
height: 100%;
}
footer{
    width: 98%;
    background: ;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 12px;
    margin:  auto;
   
   
    position: fixed;
    bottom: 50px;
}
footer img{
 
    width: 50px;
    border-radius: 50%;
    transition: .5s;

}
footer img:hover{
    transform: scale(1.2);
}
#my{
    margin: auto 0;
    width: 100%;
    height: 20px;
    display: block;
    background: #1f2001;
    color: #f1f3f4;
    text-decoration: none;
    padding:   10px 0;
    border-radius: 15px;
    font-size: 20px;
    text-align: center;
}
@media (max-width:780px) {
    header{
        height: fit-content;
    }
    #navp{
        display: none;
    }
  header  #navm{
        display: flex;
        align-items:flex-start;
        flex-direction:column ;
        
    }
    .text{
        margin-top:5px;
        margin-left: auto;
        margin-right: auto;
        width: 95%;
        text-align: center;
        background:#9ca280 ;
        border-radius: 12px;
    
    
    }
    header button{
        font-size: 15px;
    }
    .text img{
        width:95%;
        height: 300px;
        border-radius: 30px;
    margin: 0 auto;
    
    }
    #open{
        background: none;
        font-size: 30px;
        color: #f5f2f2;
    }
    #close{
        background: none;
        padding: 5px;
        font-size: 22px;
        color: #e80a0a;
        position: absolute;
        right:100px;
    }
    #close:hover{
        scale: 1.2;
    }
    .text p{
        width: 90%;
        padding: 10px;
    }
    .text h2{
        font-size: 20px;
    }
    .hide{
        display: none;
    }
    .galary{
        width: 90%;
        margin:  10px auto;
    }
    .main{
        width: 90%;
        height: 350px;
    }
}