body, body * {
    margin: 0;
    padding: 0;
    vertical-align: top;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.main-header {
    width: 1200px;
    margin: 20px calc(50% - 600px) 0;
    display: inline-block;
}

/* logo */

.logo {
    width: 100px;
    height: 30px;
    float: left;
    margin-top: 5px;
}

.main-header-right-side {
    float: right;
}

.main-menu {
    margin-top: 10px;
    float: left;
    margin-right: 30px;
}

.menu-link {
    color: #333;
    font-size: 20px;
    line-height: 20px;
    height: 20px;
    display: inline-block;
    text-decoration: none;
    margin-right: 30px;
}

.menu-link:hover{
    padding-bottom: 5px;
    color: red;
    border-bottom: 3px solid red;
}

.menu-link:last-child{
    margin-right: 0;
   
}

/* User avatar */
.user-avatar {
    width: 40 px;
    height: 40px;
    float: right;
    border-radius: 50%;
    cursor: pointer;
}

main{
    display: inline-block;
    width: 1200px;
    margin: 20px calc(50% - 600px) 40px;
}

.hero{
    width: 100%;
    min-height: 280px;
    padding: 30px;
    margin-bottom: 30px;
    background-color: aquamarine;
    background-image: url(../img/hero-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
} 

.hero > div{
    width: 30%;
}

.main-title {
    margin-bottom: 30px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.form > .filter {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
}

.form .filter-btn {
    padding: 8px 35px;
    background-color: white;
    color: #889EF9;
    border: none;
    border-radius: 6px;
}
.form .filter-btn:hover {
    box-shadow: 0 2px 8px #88f8;  
    cursor: pointer;  
}



.form .filter-btn.active {
    background-color: #889EF9;
    color: white;
}
.form > .search {
    display: flex;
    gap: 15px;
    width: 100%;
    padding: 10px;
    background-color: white;
}

.form label{
    display: none;
}
.form .input {
    width: 0;
    font-size: 20px;
    padding: 15px 5px;
    flex-grow: 1;
    border: none;
}

::placeholder{
    font-size: 15px;
    color: #ccc;
    font-style: italic;
}

.form .search-btn {
    padding: 10px 20px;
    font-size: 18px;
    line-height: 20px;
    border-radius: 8px;
    background-color: #ff9376;
    color: white;
    text-decoration: none;
    text-transform: capitalize;
    border: 2px solid #ff9376;
    box-shadow: 0 4px 8px #ff9376;
    float: left;
}




.neighborhood {
    float: left;
    width: 60%;
    margin-right: 30px;
}

.recommended {
    float: right;
    width: calc(40% - 30px);
}

.section-title {
    width: 100%;
    margin-bottom: 30px;
}
.section-title > .title {
}
.section-title > .description {
}

.neighborhood-listing {
    width: 100%;
}
.neighborhood-listing > .listing-item {
    width: calc((100% - 2 * 30px) / 3);
    margin-right: 30px;
    float: left;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.neighborhood-listing > .listing-item.last-item {
    margin-right: 0;
    margin-bottom: 20px;
}

.neighborhood-listing .item-image {
    width: 100%;
    height: 250px;
    object-position: center;
    object-fit: cover;
}

.neighborhood-listing .last-item .item-image {
    height: 190px;
}

.neighborhood-listing .item-size {
    background-color: #889EF9;
    color: #ffffff;
    position:absolute;
    top: 0;
    right: 0;
    padding: 15px 10px;
    border-radius: 0 0 0 20px;
}

.neighborhood-listing .item-details {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(3px);
}
.neighborhood-listing .location {}
.neighborhood-listing .name {}


.btn{
    padding: 10px 20px;
    font-size: 18px;
    line-height: 20px;
    border-radius: 8px;
    background-color: #ff9376;
    color: white;
    text-decoration: none;
    text-transform: capitalize;
    border: 2px solid #ff9376;
    box-shadow: 0 4px 8px #ff9376;
    float: left;
}

.btn:hover{
    background-color: white;
    color: #ff9376;
}

.recommended-listing {
    width:100%;
}
.recommended-listing > .listing-item {
    display: flex;
    gap: 0 10px;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    align-items: center;
    position: relative;
}

.recommended-listing > .listing-item:last-child{
    margin-bottom: 0;
}

.recommended-listing .item-image {
    width: 25%;
    height: 120px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}
.recommended-listing .item-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: calc(75% - 40px);
}

.recommended-listing .item-price {
    font-weight: bold;
    font-size: 20px;
}
.recommended-listing .location-street {
    font-size: 18px;
}
.recommended-listing .location-city {
    font-size: 16px;
}
.recommended-listing .item-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    font-size: 14px;
}

.recommended-listing .feature {
    
}
.recommended-listing .feature > .fa {
    color:#889EF9;
    margin-right: 5px;
}

.recommended-listing .bookmark {
    height: 30px;
    width: 20px;
    position: absolute;
    top: -3px;
    right: 30px;
    font-size: 30px;
    color:#889EF9;
    cursor: pointer;
}

.recommended-listing .bookmark > .fa-bookmark, 
.recommended-listing .bookmark:hover > .fa-bookmark-o,
.recommended-listing .bookmark.active > .fa-bookmark-o,
.recommended-listing .bookmark.active:hover > .fa-bookmark {
    display: none;
}

.recommended-listing .bookmark:hover > .fa-bookmark,
.recommended-listing .bookmark.active > .fa-bookmark,
.recommended-listing .bookmark.active:hover > .fa-bookmark-o {
    display: block;
}
