*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: sans-serif;
}

nav{
    display: inline-block;
    float: right;
    right: 20px;
}
.top{
    width: 100%;
    background-color:rgba(94, 156, 242, 0.84);
    padding: 10px;
    position: fixed;
    top: 0px;
    z-index: 2;
}
.logo{
    position: relative;
    display: inline-block;
    width: 30%;
    }

.list{
     float: left;
     list-style: none;
     padding: 5px;
}
a{
    font-size: 110%;
    color: #ffffff;
    text-decoration: none;
    padding-bottom: 2.3px;
}
a:hover{
    border-bottom: 1.1px ridge #1f40af;
}
.homep{
    margin-top: 50px;
    background-image: linear-gradient(rgba(105, 105, 105, 0.21),rgba(25, 25, 25, 0.63)),url(1.JPG);
    height: 80vh;
    background-size:cover;
    background-position: center;
    background-attachment: fixed;
    
}
.heading{
    font-size: 120%;
    width: 39%;
    color: #ffffff;
    position: relative;
    font-family: arial;
    top:36%;
    left: 34%;
    text-shadow: 0px 2px 4px black;
}
.heading a{
    font-size: 110%;
    color: #fff;
    border-radius: 120px;
    padding: 5px 15px;
    border: 1.5px solid #8fea8f;
}
.heading a:hover{
    background-color: rgba(99, 212, 116, 0.46);
}


.gallery {
    width: 33.33%;
    font-size: 0px;
    min-width: 170px;
    background-color: cadetblue;
    display: inline-block;
    overflow: hidden;
}
.gallery img{
    transform: scale(1);
    display: inline-block;
    width: 100%;
    min-width: 170px;
    transition: transform 0.6s ease-out;
}

@media(max-width:619px){
    *{
        font-size: 98%;
    }    
.gallery {
    width: 65%;
    margin: 1px;
    margin-left: 17.5%;
    background-color: cadetblue;
    display: inline-block;
    border-radius: 2px;
    border: .5px solid black;
}
.gallery img{
    display: inline-block;
    width: 100%;
}
}
@media(min-width:800px){
    .logo{
        width: 170px;
    }
}
.gallery img:hover{
    transform: scale(1.2);
}
.button1{
    text-align: center;
    width: 100px;
    border-radius: 3px;
    margin: 25px auto;
    background-color: rgb(8, 107, 131);
    color: white;
    border: none;
    padding: 5px 0px;
    
}