*{
margin: 0;
padding: 0;
font-family: Tahoma,Arial,  sans-serif;
font-style: normal;
}
body{
    background: #1f4e5e;

}
header{
    background: #314b54;
     margin:auto ;
    border-radius: 12px;
     width: 98%;
    height: 70px;
    
    box-shadow: 0px 0px 8px whitesmoke;
    
    border-radius: 12px;
    line-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img{
    width: 60px;
    float: left;
    border-radius: 50%;
margin-left: 10px;
}
header button{
    width: 140px;
    padding: 10px;
    border: none;
    background: none;
    outline: none;
    font-size: 15px;
    margin-top: 12px;
    transition: 1s;
    font-weight: bold;
    border-radius: 6px;
    
}
header a{
text-decoration: none;
color: #ffffff;
}
#navp{
    width: 90%;
    display: flex;
    justify-content: space-around;
}
header button:hover{
color:blue;
background: #0189de;

}
#navm{
    display: none;
}

.container{
    background:rgba(255,255,255,.3);
     width: 98%;

    margin: auto;
    text-align: center;
    
border-radius: 12px;
}
.text{
    background: rgba(255,255,255,.7);
     margin-top:10px;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    text-align: center;
    border-radius: 12px;
}
.text img{
    width: 600px;
    height: auto;
    border-radius: 30px;

    margin-bottom: 10px;
    margin:  10px auto;
}
.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:70%;
    margin: auto;
    line-height: 40px;
    color: #000000;
}
.text a{
    display: block;
    text-decoration: none;
    transition: .5s;
    background:#0d495d;
    width: 200px;
    margin: auto;
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    color:#ffffff
}
.text a:hover{
    
    scale: 1.2;
    

}
footer{
    width: 98%;
    
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 12px;
    margin:  auto 0;
   
   
    position: fixed;
    bottom: 50px;
}
footer img{
 
    width: 70px;
    border-radius: 50%;
    transition: .5s;

}
footer img:hover{
    transform: scale(1.2);
}
#my{
    margin: 0 auto ;
    width: 98%;
    height: 20px;
    display: block;
    background:  #314b54;
    color: #f1f3f4;
    text-decoration: none;
    padding:   10px 0;
    border-radius: 12px;
    font-size: 20px;
    text-align: center;
    line-height: 20px;
}
#my:hover{
    font-size: 22px;
}
@media (max-width:780px) {
    header{
        height: fit-content;
    }
    header img{
        width: 60px;
        margin-top:;
   
    }
    #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: 98%;
        text-align: center;
    
        border-radius: 12px;
    
    
    }
    header button{
        font-size: 15px;
    }
    .text img{
        width:95%;
        height: auto;
        border-radius: 30px;
    margin: 0 auto;
    
    }
    #open{
        background: none;
        font-size: 30px;
        color: #f5f2f2;
        margin-top: -6px ;
        margin-right: -30px;
    }
    #close{
        background: none;
        padding: 5px;
        font-size: 25px;
        color: #3205d5;
        position: absolute;
        right:120px;
    }
    #close:hover{
        scale: 1.2;
    }
    .text p{
        width: 95%;
        padding: 10px;
        font-size: 18px;
    }
    .text h2{
        font-size: 20px;
    }
    .hide{
        display: none;
    }
}