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

section{
    padding-top: 45px;
    padding-bottom: 55px;
}
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 main*/
#main
{
    background-image: url(imgs/IMG_8266.JPG) ;
    height: 30vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px);
}

/*end main*/

/*start search*/
#search{
    width: 85%;
    margin: auto;
}
#searchbar{
    display: flex;
    justify-content: space-between;
}
#searchbar input{
    display: flex;
    padding: 13px 40%;
    margin: auto;
    border-radius: 20px;
    background-color: #f0ebe9;
    border: 0px solid #f0ebe9;
    outline: none;
    margin-bottom: 55px; 
}
#search i:hover{
    cursor: pointer;
    color: #6c2f1a;
}

@media(max-width:1024px){
    #searchbar input{
     padding: 13px 15%;
    } 
    #search i{
        margin-right:15px ;
    }
    #searchbar{
        text-align: center;
    }
 }
/*end search*/

/*start hotel*/
#popularcities h3{
    color: #491503;
    margin-top: 10px;
    margin-left: 50px;
    font-style: italic;
}

#cards{
    justify-content: space-between;
    display: flex;
    width: 100%;
    margin: auto;
    margin: 50px 0px;
    flex-wrap: wrap;
    
}
.card{
    background-color: white;
    border: 1px solid white;
    min-height: 10em;
    width: 50%;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    margin: auto;
    transition: 0.7s ease;
    }
.card:hover{
    transform: scale(1.1);
}
.card:hover .card-img{
    opacity: 0.8;
}

.card-img img{
    width: 100%;
    height: 40vh;
}

.details{
    padding: 0.2em;   
}
.details{
    color: #491503;
    font-style: italic;
}
.card button{
    background-color: #491503;
}
.next{
    display: flex;
    justify-content: space-between;
}


/*end hotel*/

/*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*/