/*CSS Reset*/
*{
    margin: 0;
    padding: 0;
 }

 html{
     scroll-behavior: smooth;
     min-height: 100vh;
     width: 100vw;
 }
 /* Navigation bar */
 #navbar{
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 8vh;
    width: 100vw;
    position: sticky;
    top: 0%;
    z-index: 2;
    background-color: black;
}

 /* Navigation bar: Logo and Image */

#logo img{
    margin: 0.2rem;
    height: 3.3rem;
    width: 4rem;
    margin-left: 1rem;
}

/* Navigation bar: List styling */
#navbar ul{
    display: flex;
    font-family: 'Rubik', sans-serif;
    position: absolute;
    right: 0%;
}

#navbar ul li{
    list-style: none;
    font-size: 1.3rem;
}
#navbar ul li a{
    color: white;
    text-decoration: none;
    padding: 7px;
    display: flex;
    justify-content: space-evenly;
}
#navbar ul li a:hover{
    color: white;
    background-color: green;
}

/* Home section */
#home{
    min-height: 48rem;
    width: 100vw;
    background: url("../img/bg1edited.jpg") no-repeat center center/cover ;
    animation-name: img;
    animation-duration: 3s;
}

@keyframes img{
    0%{
        height: 20rem;
        opacity: 0.5;
    }
}

.home-content{
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 0rem;
    justify-content: center;
    align-items: center;
    animation-name: home-animation;
    animation-duration: 3s;
    top: 37rem;
    left: 0rem;
    margin: 0 auto;
}

@keyframes home-animation{
    0%{
        top: -10rem;
        opacity: 0;
    }
}


#home h1{
    color: white;
    text-align: center;
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;

}
#home p{
    color: black;
    text-align: center;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}
/* Services Section */
#services-container{
    background-color: rgb(186, 245, 163);
    min-height: auto;
    width: 100vw;
}
#services{
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
#services .box{
    padding: 2rem;
    border-radius: 7px;
    background-color: ivory;
    border: 2px solid grey;
    margin: 1rem;
}
#services .box img{
    height: 8rem;
    margin: auto;
    display: block;
}
#services .box p{
    font-family: 'Montserrat', sans-serif;
}

#client-section{
    min-height: 45vh;
    width: 100vw;
    position: relative;
}
#client-section::before{
    content: "";
    position: absolute;
    background: url('../img/bg3.jpg') no-repeat center center/cover;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.9;
}

.client-item{
    display: flex;
    flex-wrap: wrap;
    padding: 1.2rem;
    margin: 0rem 1rem;
    justify-content: space-evenly;
}
.client-item img{
    display: flex;
    justify-content: center;
    height: 6rem;
    padding: 1rem;
}

/* Contact Section */
#contact{
    position: relative;
    min-height: 30vh;
    width: 100vw;
}
#contact::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
    background: url("../img/contactus.jpg") no-repeat center center/cover;
}
#contact-box{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 1rem;
}
#contact-box input, textarea{
    width: 100%;
    padding: 0.5rem;
    border-radius: 9px;
    font-size: 1.1rem;
}
#contact-box form{
    width: 40%;
}
#contact-box label{
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    color: white;
}
footer{
    background: black;
    color: white;
    padding: 1rem 1.5rem;
}
/* Utility classes */
.h-primary {
    position: relative;
    font-size: 3.8rem;
    padding: 1rem;
    font-family: 'Montserrat', sans-serif;
}
#services-container h1{
    animation-name: services;
    animation-duration: 2s;
    animation-delay: 1s;
}
#client-section h1{
    animation-name: services;
    animation-duration: 2s;
    animation-delay: 1.5s;
}
#contact h1{
    animation-name: services;
    animation-duration: 2s;
    animation-delay: 2s;
}
@keyframes services{
    50%{
        font-size: 4.2rem;
    }
}
.h-secondary{
    font-size: 2.3rem;
    padding: 1rem;
    font-family: 'Montserrat', sans-serif;
}
.btn{
    padding: 0.5rem 0rem;
    border: 2px solid greenyellow;
    background-color: black;
    color: white;
    margin: 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    width: 8rem;
}
.btn:hover{
    background-color: rgb(39, 170, 39);
}
.center{
    text-align: center;
}
#contact form{
    display: flex;
    flex-direction: column;
}
.btn2{
    padding: .5rem 2rem;
    border: 2px solid greenyellow;
    background-color: black;
    color: white;
    margin: 1rem;
    border-radius: 7px;
    font-size: 1.5rem;
    cursor: pointer;
    width: 7rem;
    display: flex;
    justify-content: center;
}
.btn2:hover{
    background-color: rgb(39, 170, 39);
}
h1{
    color: white;
}
@media only screen and (min-width: 1440px) {
    [id*="home"] {
        min-height: 23vh;
    }
}

@media only screen and (max-width: 460px) {
    *{
        font-size: 1rem;
        font-weight: lighter;
    }
    #services-container h1{
        font-size: 2.3rem;
    }
    #client-section h1{
        font-size: 2.3rem;
    }
    #contact h1{
        font-size: 2.3rem;
    }
}
