*{
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
}
/* navbar selection */
.navbar{
    display: flex;
    background-color: darkgrey;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
}
.navbar ul{
display: flex;
margin: 20px;
list-style: none;
}
.navbar ul li{
    font-size: 20px;
}
.navbar ul li a{
    text-decoration: none;
    padding: 40px;
    color: white;
}
.navbar ul li a:hover{
    color: black;
    text-shadow: 2px 2px 2px black;
}
/* home section */
#home{
    display: flex;
    flex-direction: column;
    background-color: rgba(128, 128, 128, 0);
    height: 850px;
    justify-content: center;
    align-items: center;
    color:rgb(2, 8, 58);
}
#home::before{
    content: "";
    position: absolute;
    background-image: url('https://i.pinimg.com/originals/a6/e7/46/a6e7468371ba3b3c3dc212b3ef54cd9c.jpg');
    height: 850px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
   z-index: -1;

}
.main{
    border: 1px solid rgb(126, 126, 117);
    padding: 40px;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 10%;
    top: 20%;
}
.heading{
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-align: center;
    margin: 20px;
}
.btn{
    padding: 10px 30px;
    background-color: transparent;
    transition: .6s;
}
.btn:hover{
    cursor: pointer;
    box-shadow: 0 0 5px rgb(94, 88, 88),0 0 10px red,0 0 15px rgb(27, 25, 25);
}
/* about */
#about{
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-bottom: 50px;
    background-color: silver;
}
#pic{
    display: flex;
}
#pic img{
    width: 575px;
    height: 400px;
}
#intro{
display: flex;
flex-direction: column;
padding: 20px;
text-align: justify;

}
#intro h2{
    margin-bottom: 40px;
    text-align: center;
}
#project{
    display: flex;
    flex-direction: column;
    background-color: gray;
    align-items: center;
    padding: 20px;
}
.gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.gallery img{
    width: 360px;
    height: 250px;
    margin: 10px;
    transform: scale(0.5s);
}
.gallery img:hover{
    transition: 0.6s;
    border-radius: 50px;
    width: 380px;
}
#service{
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.row{
    display: flex;
}
.box{
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 600px;
    border: 1px solid rgb(114, 106, 106);
    margin: 10px;
    padding: 20px;
    text-align: justify;
    border-radius: 15px;
    background: linear-gradient(to top,rgb(131, 119, 119) 50%,  white 50%);
    background-size: 100% 200%;
    transition: all 0.8s;
}
.box:hover{
    background-position: left bottom;
    color: white;
    border: none;
    box-shadow: 0 0 20 px black;
}
.box img{
    width: 250px;
    height: 250px;
}
p{
    font-family: sans-serif;
}
h1{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin-bottom: 10px;
}
/* contact */
#contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: dimgrey;
}
.form{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.input{
    padding: 10px;
    margin: 5px;
    background-color: rgb(221, 209, 209);
    color: rgb(76, 85, 212);
    
}
#send{
    padding: 10px;
    margin: 5px;
}
#send:hover{
    background-color: chartreuse;
    color: aliceblue;
}