*
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hr
{
    display: block;
    margin: auto;
    height: 2px;
    padding: 1px;
    background-color: black;
}
.social
{
    position: absolute;
    top: 88vh;
    left: 50%;
    transform: translateX(-50%);
    /* border-top: 1px solid white; */
}
.social i
{
    padding: 5px 5px;
    cursor: pointer;
    font-size: 20px;
}
#g-btn
{
    display: none;
}


/* NAVIGATION START */

.navbar
{
    box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.5);
}

/* NAVIGATION END */

/* HOME START */
#home
{
    background-image: url(img/bg1.jpg);
    height: 100vh;
    background-size: cover;
    background-position: bottom;
}

.heading
{
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.icon
{
    display: inline;
}
.shadow
{
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
}
/* HOME END */

/* GALLERY START */

#g1
{
    padding-top: 120px;
    padding-bottom: 60px;
}
#g1 img
{
    transition: .5s ease-in-out;
}
#g1 img:hover
{
    transform: scale(1.03);
}


/* GALLERY END */

#gallery img
{
    cursor: pointer;
    transition: .5s ease-in-out;
}
#gallery img:hover
{
    transform: scale(1.02);
}
/* SERVICES START */

#services p
{
    text-align: justify;
}
#services h3
{
    margin-bottom: 25px;
}
#services img
{
    width: 75%;
}

/* SERVICES END */

/* ABOUT START */
#about p
{
    text-align: justify;
}
/* ABOUT END */

/* CONTACT START */

.con-form input, textarea
{
    width: 100%;
    margin: 10px 0px;
    border: none;
    border-bottom: 1px solid black ;
    outline: none;
}
.con-i i
{
    font-size: 22px;
    cursor: pointer;
    margin: 20px 0px;
    transition: .5s ease-in-out;
}
.con-i i:hover
{
    opacity: .5;
}

/* CONTACT END */

/* FOOTER START */

#footer
{
    box-shadow:0px 0px 25px 0px rgba(0,0,0,0.5);
}
.icon-f i
{
    display: inline;
    margin: auto;
    font-size: 25px;
    cursor: pointer;
    margin-bottom: 10px;
}
/* FOOTER END */


/* MEDIA QUERY START */

@media only screen and (max-width: 992px)
{
    #btn-n
    {
        display: none;
    }
    #second-row
    {
        display: none;
    }
    #g-btn
    {
        display: block;
        margin: auto;
        width: 50%;
    }

}
@media only screen and (max-width: 768px)
{
   #gallery img
   {
       padding: 5px 0px;
   }
   #r1
   {
       order: 1;
   }
   #r2
   {
       order: 0;
   }
   .con-i
   {
       margin-top: 70px;
   }
   .con-i i
   {
       margin-top: 20px;
   }
   #services img
   {
       width: 100%;
   }
   #g1 img
    {
        padding: 10px 0px;
    }
    #g1 img:hover
    {
        transform: none;
    }
}

@media only screen and (max-width: 576px)
{
    #btn
    {
        display: block;
        margin: auto;
        width: 50%;
    }
    #gallery img:hover
    {
        transform: none;
    }
}

/* MEDIA QUERY END */