*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body{
    overflow-x: hidden;
}

h2{
    color: #491503;
    text-align: center;
    padding: 40px;
}

/*start header*/
header{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    background-color: transparent;
    position: fixed;
    z-index: 999;
}

.container{
    display: flex;
    justify-content: space-between;
    background-color:transparent;
    align-items: center;
    text-decoration: none;
    padding-top: 10px;
}    

ul{
    display: flex;
}
ul li{
    margin-left:18px ;
    list-style: none;
    position: relative;
    font-weight: bold;
    color: #491503;
}
ul li::after{
    content: "";
    background-color: #491503;
    top: 30px;
    left: 0px;
    width: 0;
    height: 5px;
    position: absolute;
}
ul li:hover::after{
    transition: 0.5s;
    width: 100%;
}
ul li:hover{
    cursor: pointer;
    color:#9c916e;
}
a:link{
    text-decoration: none;
}
ul li a{
    text-decoration: none;
    
}

@media (max-width: 1024px){
    header ul{
        flex-direction: column;
        background-color: rgba(245, 245, 245, 0.716);
    }
}
/*end header*/
/*start info*/
#bg{
    background-image: url(imgs/e97c1c92271677155efd6666443a0fb0.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 45vh;
    width: 100%;
    filter: blur(2px);
    opacity: 0.9;
}
#location{
    width: 85%;
    margin: auto;
    margin-top: 15%;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 400;
}
#category{
    display: flex;
    border: 2px solid #491503;
    border-radius: 50px;
    width: 35%;
    margin: auto;
    justify-content: space-around;
    margin-top: 25px;
}
button{
    background-color: transparent;
}
#gallery h1{
    text-align: center;
    color: #491503;
}

#buttons{
    text-align: center;
}
#buttons button{
    background-color: #491503;
    color: white;
}

/*end info*/
.service{
    margin-top: 2rem;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(2,1fr );
    padding: 2px;
    

}
.service .title{
        font-style: 1.5rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 1.5rem;
        color: #7d2f15;
        font-size: 40px;
}

.service{
    margin-top: 2rem;
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(2,1fr );

}
.service .title{
        font-style: 1.5rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 1.5rem;
        color: #7d2f15;
        font-size: 40px;
}
.site{
        display: grid;
        grid-template-columns: repeat(auto-fill,minmax(30rem,1fr));
        gap: 2rem;
        padding: 50px;
}
.service-content{
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    position: relative;
}
.service-content img{
    height: auto;
    width: 100%;
    max-width: 400px;
}
.servicetitle{
    font-size: 1.5rem;
    font-weight:600 ;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.service-content h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #7d2f15;
    font-size: 30px;
}
.service-content p {
    font-size: 14px;
    color: #524e4e;
    margin-bottom: 8px;
}

.price {
    font-size: 16px;
    font-weight: bold;
    color: #7d2f15;
    align-items: center;
    justify-content: space-around;
    margin-right: 10px;
    
}
.add-button {
    background-color: #7d2f15;
    color: white;
    font-size: 25px;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    right: 0;
}

.add-button:hover {
    background-color: #7d2f15;
}

@media(max-width:1024px){
    #category{
     width: 66%;
    }
    .service-content{
        width: 65%;
    } 
    .site{
        padding: 50px 20px;
    }
 }

/*start footer*/
footer{
    display: flex;
    background-color: #FDF7F4;
    color: #491503;
    padding: 18px 120px;
    justify-content: space-between;
}
.icons {
    text-decoration: none;
    font-size: 20px;
    margin-left: 22px;
}
#cicons{
    margin-top: 20px;
}
.icons a:hover{
    font-size: 25px;
    font-weight: bolder;
}

@media(max-width:1024px){
   footer{
    padding: 20px;
   } 
}
/*end footer*/