*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
body{
    font-family: Tahoma , sans-serif;
    background-color: #fff;
}
textarea{
    width: 200px;
    height: 120px;
    display: inline-block;
    background-color: #edecec;
    resize: none;
}
h1{
    display: block;
    padding-bottom: 6.4px;
    border-bottom: 1.7px solid #12127b;
    font-size: 150%;
    width: 180px;
    margin: 60px auto 28px auto;
    text-align: center;
}
nav{
    position: fixed;
    top: 0px;
    width: 100%;
    text-align: center;
    padding: 12px;
    background-color: #5e9cf2;
    display: block;
}
li{
    list-style: none;
    display: inline-block;
}
a{
    text-decoration: none;
    color: #ebfcfd;
}
a:hover,a:active{
    border-bottom: 2px solid #9300ff;
    
}
label{
    display: inline-block;
    width: 70px;
    padding: 10px 5px;
    
}
input{
    padding:10px 3px;
    border: none;
    border-radius: 5px;
    border-bottom: 2px solid #242477;
    margin: 20px 5px;
}
button{
    width: 20%;
    border-radius: 3px;
    margin: 15px 40%;
    background-color: rgb(8, 107, 131);
    color: white;
    border: none;
    padding: 5px 0px;
    
}
button:hover{
    box-shadow: 0px 2px 4px black;
    transform: translateY(-2px);
}
button:active{
    transform: translateY(2px);
}
.form{
    box-sizing: content-box;
    padding: 10px;
    border-width: .1em;
    border-color: cadetblue;
    border-style: inset
}

.img1{
    width:23%;
    height:20px;
}
p{
    width: 69%;
    border: .5px solid black;
    text-align: justify;
    margin: 18px auto;
    padding: 10px;
}
@media(max-width:528px){
    label{
        margin-bottom: 0px;
        padding-bottom: none;
    }
    
    input{
        margin-top: 0px;
        display: block;
    } 
    .form{
        width: 62%;
    }
    .r{
        display: inline-block;
    }
    .img1{
      width: 40%;
    }
    
}
.forward{
     right: 14;
    top:200;
}
.norward{
    left: 12;
    top:200;
    transform: rotateY(180deg);
}
@media(min-width:550px){
    .form{
        width: 52%;
    }
    input{
        width: 30%;
    }
    label{
        width: 27%;
    }
    .r{
        width: 6%;
    }
    p{
     width: 40%;
    }
}

/*for gallery */
.forward,.norward{
    padding: 3px 10px;
    background-color: rgba(34, 34, 32, 0.67);
    font-size: 200%;
    position: fixed;
    z-index: 4;
    color: #bcdbf2;
    border-radius: 53%;
}
.forward{
     right: 14;
    top:280;
}
.norward{
    left: 12;
    top:281;
    transform: rotateY(180deg);
    
}
.section{
    margin-top: 60px;
}
.section h2{
    width: 35%;
    text-align: center;
    margin: 3px auto;
}
.line:hover {
    border: none;
}
ul{
    margin-bottom: none;
}
.navi{
    font-size: 90%;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-right: 5px;
    padding-left: 5px;
    border-right: 1px solid #881f1f;
}
