/* css reset */
* {
    margin: 0px;
    padding: 0px;
}

html{
    scroll-behavior: smooth;
}

/* CSS variables */
:root {
    --navbar-height: 59px
}

/* navigation bar */
#navbar {
    display: flex;
    position: sticky;
    align-items: center;
    top: 0px;
}

#navbar::before {
    content: "";
    background-color: black;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: 0.6;
}

/*navigation bar: logo and image */
#logo {
    margin: 34px 54px
}

#logo img {
    border-radius: 20px;
    height: 80px;
    margin: 9px 10px;
}

/*navigation bar: list styling */
#navbar ul {
    display: flex;
    font-family: 'Bree Serif', serif;

}

#navbar ul li {
    list-style: none;
    font-size: 1.7rem;
}

#navbar ul li a {
    display: block;
    padding: 3px 34px;
    border-radius: 20px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: 'Cinzel', serif;
}

#navbar ul li a:hover {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0 5px #02ddff;
                
}

/* home section */
#home {
    display: flex;
    flex-direction: column; 
    padding: 10px 200px;
    height: 360px;
    justify-content: center;
    align-items: center;
}

#home::before {
    content: "";
    background: url('/images/bg22.jpg') no-repeat center center/cover;
    position: absolute;
    height: 100%;
    top: 0px;  /* to bring the background image to the topmost point so that no gap will left */
    left: 0px;
    width: 100%;
    z-index: -1;
    opacity: 0.9;
}

#home h1 {
    color: #ffffff;
    text-align: center;
    font-family: 'Sedgwick Ave Display', cursive;
    /* font-family: 'Cinzel', serif; */
}

#home p {
    color: #ffffff;
    text-align: center;
    font-size: 1.5rem;
    font-family: 'Bree Serif', serif;

}

/* services section */
#services {
    margin: 20px;
    display: flex;
}

#services-container{
    padding: 200px 10px 0px 10px ;
    display: flex;

}
#services .box p{
    font-family: 'Bree Serif', serif;
}

div.box {
    border: 2px solid rgb(88, 238, 255);
    border-radius: 44px ;
    padding: 10px;
    background-color: rgb(218, 238, 255);
}


div.box img {
    height: 160px;
    padding: 10px 112px 10px 136px;
    /* display: block;
    margin: auto; */
}

/* clients section */
#client-section{
     height: 344px ;
}

/* here pseudo selector is used to put image
in backgroud */
#client-section::before{
    content: "";
    position: absolute;
    background: url('/foody/images/background2.jpg') no-repeat center center;
     height: 50%;
     width: 100%;
     zoom: 4;
     z-index: -1;
     opacity: 0.4;
}
#clients{
    display: flex; 
    align-items: center;
    justify-content: center;
}
.client-item{
     padding: 34px;
}
#clients img{
    height: 124px;
}

/* contact section */
#contact{
    position: relative;
}
#contact::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1.5;
    background: url('/foody/images/background1.jpg') no-repeat center;
    zoom:9;

}
#contact-box{
    display: flex;
    align-items: center;
    justify-content: center;
}
#contact-box input,
#contact-box textarea{
    width: 100%;
    padding: 0.5rem;
    border-radius: 9px;
    font-size: 1.1rem;


}
#contact-box form{
    width: 48%;
    
}
#contact-box label{
    font-size: 1.3rem;
    font-family: 'Bree Serif', serif;

}
footer{
    background: black;
    color: wheat;
    padding: 9px 20px;
}

/* utility classes */
.h-primary {
    font-size: 3rem;
    padding: 6px;
    font-family: 'Bree Serif', serif;

}
.h-primary-centre{
     text-align: center;
}

.h-secondary {
    font-size: 2.5rem;
    padding: 6px;
    font-family: 'Bree Serif', serif;

}

.h-secondary-centre {
    text-align: center;
    font-family: 'Bree Serif', serif;
    font-size: 2.3rem;
}

.btn {
    padding: 6px 20px;
    border: 3px solid rgb(3, 20, 255);
    background-color: rgb(242, 195, 236);
    border-radius: 12px;
    color: #000000;
    margin: 14px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

.centre {
    text-align: center;
}
