*{
    margin: 0;;
    padding: 0;
    font-family: 'Arial',sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
    font-size: 16px;
}
.navbar{
    position: sticky;
    display: flex;
    justify-content: center;
    align-items: center;
    top:0;
    background-color: #444;
}
.navbar ul{
    list-style: none;
    display: flex;
    margin: 20px 0px;
}
.navbar ul li{
    font-size: 1.1rem;
    font-weight: bold;
}
.navbar ul li a{
    color: #fff;
    padding: 8px 25px;
    transition: all ease-in 0.5s;
}
.navbar ul li a:hover{
    color: #444;
    background-color: #fff;
    box-shadow: 0 0 10px #fff;
}

#home{
    display: flex;
    flex-direction: column;
    background-color:rgba(0, 0, 0, 0.1);
    height: 840px;
    justify-content: center;
    align-items: center;
    color: #fff;
}
#home:before{
    content: '';
    position: absolute;
    top:0;
    right:0;
    background: url("../Images/bk1.jpg") no-repeat center center/cover;
    height: 900px;
    width: 100%;
    z-index: -1;
    opacity: .8;
}
.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 60%;
    left: 10%;
}
.headings{
    text-align: center;
    font-size: 2.5rem;
    line-height: 2.2rem;
    margin: 40px 0px;
}
.main .headings{
    text-align: left;
    font-size: 1.8rem;
}

.main span{
    font-size: 1.5rem;
    color: crimson;
    margin: 40px 0px;
}
.btn{
    padding: 10px 15px;
    border-radius: 1rem;
    background-color: steelblue;
    border: 1px solid #fff;
    color: #fff;
    outline: none;
    transition: 0.6s ease;
}
.btn:hover{
    cursor: pointer;
    background-color: slateblue;
    color: white;
    box-shadow: 0 0 5px #fff,0 0 5px #fff,0 0 5px #fff;
    font-weight: bold;
}
#about{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: 50px;
}
#pic{
    display: flex;
}
#pic img{
    margin: 10px auto;
}
#intro{
    display: flex;
    flex-direction: column;
    text-align: justify;
    padding:10px;
}
#intro h2{
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#intro img{
    margin-top: 10px ;
    width: 30px;
    height: 30px;
}

#projects{
    display: flex;
    flex-direction: column;
    background-color: rgba(39, 38, 38, 0.9);
    color: #fff;
    align-items: center;
    padding: 20px;
}

.gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    box-sizing: border-box;
}
.gallery .title{
    width: 340px;
    margin: 10px 0;
}
.gallery .title p{
    word-wrap: break-word;
    font-size: .8rem;
    margin-bottom: 20px;
}
.gallery .title h3{
    color: #CCC;
}
.gallery .title a{
    color: tomato;
}

.gallery img{
    margin: 5px 0px;
    width: 100%;
    height: 240px;
}

#services{
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.row{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.box{
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 450px;
    border: 1px solid #444;
    margin: 10px;
    align-items: center;
    text-align: justify;
    padding: 10px;
    background:linear-gradient(to top, tomato 50%, white 50%);
    border-radius: 25px;
    background-size: 100% 200%;
    transition: all .5s;
}
.box img{
    /* margin-top: 10px; */
    width: 100px;
    height:100px;
    padding: 10px;
}
.box:hover{
    background-position: left bottom;
    color: #fff;
    border:none;
    box-shadow: 0 0 20px tomato;
}

#iframe-conatiner{
    margin-top: 10px;
}
#contact{
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0,0.8);
    color: #fff;
}
.content{
    display: flex;
    justify-content: center;
    align-items: flex-start
}
.contact-box{
   display: flex;
   margin-right: 20px;
   align-content: center;
   align-items: center;
}
.text-holder a{
    color: #fff;
}
.image-holder{
    margin: .5rem;
    display: flex;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #fff;
    align-content: center;
    align-items: center;
    border-radius: 25px;
}
.social-media-handles{
    margin-top: 5px;
    padding-left: 15px;
}
.social-media-handles img{
    width: 30px;
    height: 30px;
}
.form{
    display:flex;
    width: 280px;
    flex-direction: column;
    align-items: center;
}
.form input{
    width: 100%;
}
#msg{
    margin-top: 15px;
    width: 100%;
    height: 120px;
    resize: none;

}
.input{
    padding: 12px;
    margin: 10px;
    width: 30%;
}
#send{
    color: #fff;
    text-align: center;
    background-color: rgb(72, 162, 235);
    padding: 6px 15px;
    border: 2px solid #fff;
    width: 25%;
    margin: 10px auto;
    border-radius: 10px;
    outline: none;
}
.footer{
    /* border: 1px solid red; */
    margin-top: 20px;
    text-align: center;
    padding: 10px;
}
.footer p{
    font-size: 14px;
}
@media screen and (max-width: 800px) {
    #pic{
        flex-direction: column;
        align-items: center;
    }
    #pic img{
        width: 100%;
    }
    #intro h2{
        text-align: center;
    }
    #iframe-conatiner iframe{
        width: 100%;
    }
    .content{
        flex-direction: column;
        align-items: center;
    }
    .navbar ul{
        flex-wrap: wrap;
        justify-content: center;
        
    }
    .navbar ul li{
        margin: 2px;
    }
  }