*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
html,body{
    height: 100%;
    width: 100%;
}
.header{
    background-image:linear-gradient(rgba(81, 78, 78, 0.3), rgba(81, 78, 78, 0.3)),url(images/dino-reichmuth-A5rCN8626Ck-unsplash.jpg);
    width: 100%;
    min-height: 100vh;
    background-position: center;
    background-size: cover;

}
nav{
    display: flex;
    justify-content:space-between;
    align-items: center;
    padding: 10px 3%;
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.5s;
}
.logo{
    width: 60px;
    cursor: pointer;
    border-radius: 50%;
}
.nav-links li{
    display: inline-block;
    list-style: none;
    margin: 10px 30px;
}
.nav-links li a{
    text-decoration: none;
    color: white;
}
.register-btn{
    background: white;
    color: black;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}
.conatiner{
    padding: 0 7%;
}
.header h1{
    font-size: 4vw;
    font-weight: 500;
    color: aliceblue;
    text-align: center;
    padding-top: 16%;
}
.search-bar{
    background-color: white;
    width: 70%;
    margin:30px auto;
    padding: 6px 10px 6px 20px;
    border-radius: 50px;
}
.search-bar button img{
   width: 16px;
   outline: none;
   border: none;
   border-radius: 50%;
}
.search-bar form{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.search-bar form input{
    display: block;
    border: 0;
    outline: none;
    background: transparent;
}
.search-bar button{
    background: #ff5361;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
}
.location-input{
    flex: 1;
}
.search-bar form label{
    font-weight: 600;
}
/* ................exclusive................ */
.sub-title{
    margin: 40px 10px 10px;
    font-size: 2.2vw;
    font-weight: 500;
    color: #c51818;
}
.exclusive{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;  
}
.ex-images{
    padding: 20px 20px 20px 20px;
    width: 250px;
    height: 140px;
    border-radius: 30px;
}
.exclusive div{
    position: relative;
}
.exclusive div span{
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
}
/* ...............Trending Places............... */
.trending{
    width: 100%;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;   
}
.tren-images{
    padding: 20px 20px 20px 20px;
    width: 300px;
    height: 180px;
    border-radius: 30px;    
}
.trending h3{
    font-weight: 600;
    margin-bottom: 10px;
    margin-left: 20px;
}
/* .......call to action....... */
.cta{
    margin: 20px;
    background-image: linear-gradient(to right,#605757,transparent),url(images/e357234ad0975d61d73b0f2f8933645f.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 5%;
    color: white;
}
.cta h3{
    font-size: 4vw;
    font-weight: 500;
    line-height: 5.3vw;
}
.cta p{
    font-size:18px;
    margin: 10px 0;

}
.cta-btn{
    background: #ff5361;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    margin-top: 20px;
    border-radius: 8px;
    display: inline-block;
}

/* ...........Travellers Stories....................... */
.stories{
    width: 100%;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;  
}
.stories-images{    
    margin: 10px 10px;
    width: 380px;
    height: 400px;
    border-radius: 20px;    
}
.stories div{
    position: relative;
    text-align: center;
}
.stories div p{
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-59%);
    color: white;
    font-size: 26px;
} 
.start-btn{
    text-decoration: none;
    background: #ff5361;
    color: white;
    width: 80%;
    max-width: 350px;
    display: block;
    text-align: center;
    margin: 50px auto;
    padding: 15px;
    border-radius: 30px;
    font-size: 20px;
}
/* ..........About message......... */
.about-msg{
    text-align: center;
    margin: 80px 30px;
    color: #333;
    font-size: 17px;
}
.about-msg h2{
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}
/* .........footer......... */
.footer{
    margin: 80px 30px 10px;
    text-align: center;
}
.footer a{
    text-decoration: none;
    color: #999;
    font-size: 22px;
    margin: 0 10px;
}
.footer hr{
    background: #999;
    height: 1px;
    width: 100%;
    border:0;
    margin: 20px 0;
}
.footer p{
    padding-bottom: 50px;
}
.active{
    position: relative;
}
.active::after{
    content: "";
    background: #fff;
    width: 35px;
    height: 2px;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    bottom: -12px;
    border-radius: 2px;
}
nav .ri-menu-line{
    display: none;
}
/* .........for small screen devices......... */
@media only screen and (max-width:700px){
    .logo{
        position: fixed;
        top: 4%;
        left: 7%;
    }
    nav{
        position: fixed;
        top: 0;
        z-index: 100;
        display: inline-block;
        width: 100%;
        padding:100px 7% 0px;
        background: #000;
        text-align:right;
    }
    .nav-links li{
        margin: 10px 0;
        display: block;
    }
    .register-btn{
        margin: 15px 0 30px;
        display: inline-block;
    }
    nav .ri-menu-line{
        display: block;
        position: fixed;
        top :4%;
        right: 7%;
        color: white;
        font-size: 28px;
    }
    .active::after{
        left:-40px;
        transform: translate(0,50%);
        bottom: 50%;
    }
    .hidemenu{
        max-height: 300px;

    }
    .header h1{
        padding-top: 200px;
        font-size: 7vw;
    }
    .search-bar{
        width: 90%;
        margin: 30px auto;
        padding: 20px 10px 30px;
        border-radius: 5px;
        position: relative;
    }
    .search-bar form{
        display: block;
    }
    .search-bar input{
        border-bottom: 1px solid #ddd;
        width: 100%;
        margin-bottom:20px;
        margin-top: 10px;
        padding-bottom: 10px;
    }
    .search-bar  form button {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%,50%);
    }
    .sub-title{
        font-size: 6vw;
        margin-left: 20px;
    }
    .exclusive{
        /* align-items: center; */
        /* justify-content: center;   */

        flex-wrap: wrap                                    ;
    }
    .ex-images{
        width: 190px;
        height: 150px;
    }
    .sub-title{
        text-align: center;
        font-weight: 600;
    }
    .trending{
        justify-content: center;
    }
    .trending h3{
        text-align: center;
    }
    .stories{
        justify-content: center;
    }
    .stories-images{
        width: 360px;
        height: 230px;
    }
}

/* ...................listing page.................. */
.navbar-white{
    background: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
.navbar-white .nav-links li a{
    color: black;
}
.navbar-white .register-btn{
    background: #ff5361;
    color: white;
}
.navbar-white .ri-menu-line{
    color: #000;
}
.navbar-white .active::after{
    background-color: #ff5361;
}
.list-container{
    margin-top: 50px;
    margin-left: 30px;
    margin-right: 30px;
    /* width: 1200px; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.house-img img{
  width: 100%;
  border-radius: 12px;
}
.left-col{
    flex-basis: 70%;
}
.right-col{
    flex-basis: 25%;
}
.left-col h1{
    color: #333;
    font-weight: 600;
    margin-bottom: 30px;
}
.house{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px 0;
    border-top: 1px solid #ccc;
}
.house-img{
    flex-basis: 40%;
}
.house-info{
    flex-basis: 58%;
    color: #555;
}
.house-info h3{
    font-weight: 600;
    color: #333;
    font-size: 22px;
    margin: 4px 0;
}
.house-info i{
    color: #ff5361;
    font-size: 18px;
    margin: 10px 1px;
}
.house-price{
    text-align: right;
}
.house-price h4{
    font-size: 20px;
}
.house-price h4 span{
    font-size: 16px;
    font-weight: 500;
}
.sidebar{
    border:1px solid #999;
    padding: 20px 30px;
    margin-top:30px;
}
.sidebar h2{
    font-weight: 500;
}
.sidebar h3{
    font-weight: 500;
    margin: 20px 0 10px;
}
.filter{
    display: flex;
    align-items: center;
    color: #555;
    margin-bottom: 10px;
}
.filter p{
    flex: 1;
}
.filter input{
    margin-right: 15px;
    cursor: pointer;
}
.sidebar-link{
    text-align: right;
    margin: 20px 0;
}
.sidebar-link a{
    text-decoration: none;
}
.pagination{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}
.ri-arrow-left-s-line .ri-arrow-right-s-line{
    width: 15px;
    margin: 10px 20px;
}
.pagination span{
    margin: 10px 8px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}
.pagination .current{
    background: #333;
    color: white;
}
/* ...............small screen for listing page...............  */
@media only screen and (max-width:700px){
    .list-container{
        margin-top: 150px;
    }
    .left-col,.right-col,.house-img,.house-info{
        flex-basis: 100%;
    }
    .left-col h1{
        font-size: 25px;
    }
    .house-info h3{
        font-size: 20px;
    }
    .house-info i{
        font-size: 16px;
    }
    .pagination span{
        margin: 10px 2px;
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }
}

/* ......................House-details Page................... */
.house-details{
    padding: 0 6%;
    margin-right: 30px;
}
.house-title{
    margin-top: 50px;
}
.house-title h1{
    font-weight: 600;
}
.house-title .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0;
}
.house-title span{
    margin: 0 20px;
}
.house-title i{
    color: #ff5361;
    font-size: 14px;
}
.gallery img{
    width: 260px;
    display: block;
    border-radius: 10px;
}
.gallery-img1 img{
    width: 540px;
    height: 100%;
}
.gallery{
    display: grid;
    grid-gap: 10px;
    grid-template-areas: 'first first . .''first first . .';
    margin: 20px 0;
}
.gallery-img1{
    grid-area:first;   
}
.small-details h2{
    font-weight: 500;
}
.small-details h4{
    text-align: right;
    font-size: 22px;
}
.line{
    border: 0;
    height: 1px;
    background: #ccc;
    width: 100%;
    max-width: 800px;
    margin: 20px 0 50px;
}
.check-form{
    margin: 30px 0;
    background: white;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 50px;
}
.check-form label{
    display: block;
}
.check-form div{
    padding: 20px;
}
.check-form input{
    background: transparent;
    border: 0;
    outline: none;
}
.check-form button{
    background: #ff5361;
    border: 0;
    outline: none;
    color: white;
    padding: 18px;
    width: 300px;
    border-radius: 8px;
    font-size: 16px;
}
.guest-field{
    flex: 1;
}
.details-list{
    list-style: none;
    margin: 50px 0;
}
.details-list li{
    margin-left: 50px;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #555;
    position: relative;
}
.details-list li span{
    display: block;
    font-weight: 400;
    font-size: 16px;
}
.details-list li i{
    position: absolute;
    top: 5px;
    left: -40px;
}
.home-descr{
    max-width: 700px;
    margin-bottom: 50px;
}
.map{
    margin: 50px 0;
}
.map iframe{
    width: 100%;
    margin-bottom: 30px;
}
.map h3{
    text-align: center;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 30px;
}
.map b{
    display: block;
    margin-bottom: 16px;
}
.host{
    display: flex;
    align-items: center;
}
.host img{
    width: 100px;
    height: 100px;
    margin-right: 30px;
    border-radius: 50%;
}
.host h2{
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: 600;
}
.host i{
    color: #ff5361;
}
.contact-host{
    display: inline-block;
    margin: 40px 0 40px 120px;
    text-decoration: none;
    color: #555;
    padding: 15px 50px;
    border: 1px solid #ff5361;
    border-radius: 8px;
}
/* ................media query for house-details page................. */
@media only screen and (max-width:700px){
    .house-details{
        margin-top: 150px;
    }
    .row p{
        margin-top: 10px;
    }
    
    .gallery{
        grid-template-areas: 'first first''. .''. .';
    }
    .gallery .gallery-img1 img{
        width:100%;
    }
    .gallery img{
        width: 160px;
    }
    .small-details h4{
        text-align: left;
        margin: 10px 0;
        font-size: 20px;
    }
    .check-form {
        padding: 10px 30px;
    }
    .check-form div {
        padding: 20px 0;
        width: 100%;
    }
    .check-form input{
        border-bottom: 1px solid #ccc;
        width: 100%;
        padding-bottom: 5px;
    }
    .check-form buttton{
        font-size:14px;
        margin-top: 10px;
        margin-bottom: 15px;
        border-radius: 4px;
    }
    .map iframe{
        width: 100%;
        margin-left: 10px;
    }
    .host{
        display: block;
        line-height: 28px;
    }
    .contact-host{
        margin: 40px 0;
    }


}