@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Gabarito:wght@900&family=Heebo&family=Hind+Siliguri:wght@300;400;500&family=Montagu+Slab:opsz,wght@16..144,100;16..144,200;16..144,300;16..144,400;16..144,500;16..144,600;16..144,700&family=Poppins:wght@200;300;400;900&family=Zen+Dots&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3)),url(images/banner.png);
    background-position: center;
    background-size: cover;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5%;
}

.logo{
    width: 140px;
    cursor: pointer;
}

.nav-links li{
    list-style: none;
    display: inline-block;
    margin: 10px 30px;
}

.nav-links li a{
    text-decoration: none;
    color: white;
}

.register-btn{
    background: #fff;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.active{
    position: relative;
}

.active::after{
    content: '';
    position: absolute;
    background: #fff;
    width: 25px;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    border-radius: 2px;
}

.container{
    padding: 0 7%;
}

.header h1{
    font-size: 4vw;
    font-weight: 500;
    text-align: center;
    color: #fff;
    padding-top: 22%;
}

.search-bar{
    background: #fff;
    width: 70%;
    margin: 30px auto;
    padding: 6px 10px 6px 30px;
    border-radius: 50px;
}

.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 form button{
    background: #ff5361;
    border: none;
    outline: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
}

.search-bar form label{
    font-weight: 600;

}

.search-bar form button img{
    width: 15px;
    padding-top: 7px;
}

.search-bar form .location-input{
    flex: 1;
}



/* --------------exclusives----------- */


.sub-title{
    margin: 50px 0 20px;
    font-size: 2.2vw;
    font-weight: 500;
    color: #333;
}

.exclusives{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    grid-gap: 30px;
}

.exclusives div img{
    width: 100%;
    border-radius: 10px;
}

.exclusives div{
    position: relative;
}

.exclusives div span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center; 
    color: #fff;
}

/* trending place? */
.trending{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    grid-gap: 30px;
    margin-bottom: 30px;
}

.trending div img{
    width: 100%;
    border-radius: 10px;
}


 /* --------cta? -----------*/
 .cta{
    margin: 80px 0;
    background: linear-gradient(to right,#3f2321,transparent),url(images/banner-2.png);
    background-position: center;
    background-size: cover;
    padding: 5%;
    color: #fff;
    border-radius: 10px;
 }

 .cta h3{
    line-height: 5.3vw;
    font-weight: 500;
    font-size: 4vw;
 }

 .cta p{
    font-size: 18px;
    margin: 10px 0;
 }

 .cta-btn{
    background: #ff5361;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 8px;
    margin-top: 20px;
    display: inline-block;
 }

 /* --------stories -----------*/
 .stories{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    grid-gap: 30px;
}

.stories div img{
    width: 100%;
    border-radius: 10px;
}

.stories div{
    position: relative;
    text-align: center;
}

.stories p{
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    font-size: 26px;
}

.start-btn{
    text-decoration: none;
    background: #ff5361;
    color: #fff;
    width: 80%;
    max-width: 350px;
    display: block;
    text-align: center;
    margin: 60px auto;
    padding: 15px;
    border-radius: 50px;
}

 /* --------about-msg-----------*/
 .about-msg{
    text-align: center;
    margin: 80px 0;
    color: #333;
    font-size: 17px;
 }

 .about-msg h2{
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 500;
 }

 
 /* --------footer-----------*/
 .footer{
    margin: 80px 0 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: 15px;
 }

 #navBar i{
  display: none;
 }

/* nav .fa-bars{
    display: none;
} */
  
 /* --------for small screen devices-----------*/

 @media only screen and (max-width:700px) {
    .logo{
        position: fixed;
        top: 4%;
        left: 7%;
    }

    nav{
        position: fixed;
        width: 100%;
        padding: 100px 7% 0;
        top: 0;
        z-index: 100;
        display: inline-block;
        background: #000;
        text-align: right;
        max-height: 80px;
        overflow: hidden;
        transition: max-height 0.5s;
    }

    nav .nav-links li{
        margin: 10px 0;
        display: block;
    }

    .register-btn{
        margin: 15px 0 30px;
        display: inline-block;
    }

    #navBar i{
      display: block;
     }

    nav .fa-bars{
        display: block;
        position: fixed;
        top: 4%;
        right: 7%;
        color: #fff;
        font-size: 28px;
    }
    .active::after{
        left: -40px;
        transform: translateX(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 form 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;
    }

    .cta{
        padding: 15% 5%;
    }

    .cta h3{
    font-size: 7vw;
    line-height: 8vw;
    }

    .cta p{
        font-size: 14px;
    }

    .cta-btn{
         padding: 6px 15px;
         border-radius: 4px;
         margin-top: 10px;
         font-size: 14px;
    }

    .stories p{
        font-size: 22px;
    }

    .about-msg{
        font-size: 15px;
    }
 }

  /* -------Listing--page-----------*/
  .navbar-white{
    background: #fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
  }
  .navbar-white .nav-links li a{
    color: #000;
  }

  .navbar-white .register-btn{
    background: #ff5361;
    color: #fff;
  }

  nav.navbar-white .fa-bars{
    display: none;
  }

  .navbar-white .active::after{
    background: #ff5361;
  }

  .list-container{
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .left-col{
    flex-basis: 70%;
  }

  .right-col{
    flex-basis: 25%;
  }

  .right-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-img img{
    width: 100%;
    background-repeat: 12px;
    border-radius: 10px;
  }

  .house-info h3{
    font-weight: 500;
    color: #300;
    font-style: 22px;
    margin: 4px 0;
  }

  .house-info i{
    color: #ff5361;
  }

  .house-price{
    text-align: right;
  }

  .house-price h4{
    font-size: 20px;
  }

  .house-price h4 span{
    font-size: 16px;
    font-weight: 500;
  }

  .right-col .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;
  }

  .pagination img{
    width: 15px;
    margin: 10px 20px;
  }

  .right-arrow{
    transform: rotate(180deg);
  }

  .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: #fff  ;
  }

    
  @media (max-width:700px) {
    nav.navbar-white .fa-bars{
        color: #000;
        display: block;
      }
    .list-container{
        margin-top: 150px;
    }
    .left-col, .right-col, .house-img, .house-info{
        flex-basis: 100%;
    }

    .left-col h1{
        font-size: 22px;
    }

    .house-info h3{
        font-size: 18px;
    }

    .house-info i{
        font-size: 16px;
    }

    .pagination span{
        margin: 10px 2px;
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }
  }


  