*{
    margin: 0;padding: 0;
    font-family: "Changa", serif;
}
header{
    width: 98%;
    height: 70px;
    background: #5f6f65;
    box-shadow: 0px 0px 8px whitesmoke;
    margin:auto ;
    border-radius: 12px;
}
header img{
    padding: 0 15px;
    width: 70px;
    float: left;
    border-radius: 50%;
    margin:  15px auto;
    
}
header button{
    width: 120px;
    padding: 10px;
    border: none;
    background: none;
    outline: none;
    font-size: 18px;
    margin-top: 12px;
    transition: 1s;
    font-weight: bold;
    border-radius: 6px;
}
#navp{
    
    width: 90%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
header a {
    text-decoration: none;
margin: ;
transition: .5s;
}
header a:hover{
    color:#fff;
}
header button:hover{
color:#fff;
background: #31483f;

}
#navm{
    display: none;
}
body{
    background: #808d7c;

}
.container{

    width: 98%;
    background: #9ca986;
    margin: auto;
    text-align: center;
    
border-radius: 12px;
}
.text{
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    text-align: center;
    background: #c9dabf;
    border-radius: 12px;
margin-top: 10px;
}
.text img{
    width: 600px;
    height: 400px;
    border-radius: 30px;
    padding: 10px;
}
.text h1{
    color: #a54a09;
    margin: auto;
    padding: 10px;
}
.text h2{
    padding: 15px;
    color:#7f3704;
    padding: 10px;
    font-weight:700;
    
}
.text p{
    font-size: 20px;
    width: 400px;
    margin: auto;
    line-height: 40px;
}
.text a{
    display: block;
    text-decoration: none;
    transition: .5s;
}
.text a:hover{
    color: #a41b1b;
    scale: 1.2;
}

.galary{
    background:#ecebdf;
    width: 70%;
    
   text-align: center;
   border-radius: 15px;
   margin:6px auto ;
padding: 10px;
}
.galary h2{
    color: #6d0808;
    margin:10px auto;
}
.photo{
    margin:  auto;
    padding: 10px;
   
}
.photo img{
    width: 50px;
    height: 50px;
    border:#939496 solid 2px;
}
.photo img:hover{
    border: #784e11 solid 3px;
    cursor: pointer;
}
.main{
    width: 500px;
    height: 400px;
    margin: 10px auto ;

    border: #5b5f60 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: 10px;
}
.about{
    background:  #5f6f65;
    border-radius: 12px;
    font-size: 20px;
    margin: 6px 0;
    padding: 10px;
}
.about a{
    text-decoration: none;
    padding: 10px;

    display: block;
    transition: .5s;
    
}
.about a:hover{
    color:white;
    font-size: 21px;
    background: #5b5f60;
}
footer img{
 
    width: 40px;
    border-radius: 50%;
    transition: .5s;

}
footer img:hover{
    transform: scale(1.2);
}

@media (max-width:767px) {
    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: 90%;
        text-align: center;
        background: rgba(255,255,255 ,.3);
        border-radius: 12px;
    
    
    }
    header button{
        font-size: 15px;
    }
    .text img{
        width:90%;
        height: 400px;
        border-radius: 30px;
    padding: 10px;
    
    }
    #open{
    
        background: none;
        font-size: 30px;
        margin: auto 0;
        color: #2013dc;
    }
    #close{
        background: none;
        padding: 5px;
        font-size: 22px;
        color: #990505;
        position: absolute;
        right:100px;
    }
    #close:hover{
        scale: 1.2;
    }
    .text p{
        width: 98%;
        
    }
    .text h2{
        font-size: 20px;
        font-weight: bold;
    }
    .hide{
        display: none;
    }
    .galary{
        width: 90%;
        margin:  10px auto;
    }
    .main{
        width: 90%;
        height: 350px;
    }
}