* {
    padding: 0;
    margin: 0;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top {
    padding: 1rem 2rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url(../background/Neighborhood.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    height: auto;
}

.main-logo {
    width: 150px;
}

.bar-side a:hover {
    background-color: gray;
    color: white;
    border-radius: 10px;
}


.bar-side a {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-decoration: none;
    font-size: 17px;
    padding: 7px 15px;
    font-weight: bold;
    color: white;
    transition: .4s;
}

.features {
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.features h1 {
    color: white;
    font-size: 35px;
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.houses-section {
    display: flex;
    justify-content: center;
}

.houses {
    display: grid;
    grid-template-columns: 0fr 0fr 0fr 0fr;
}

.house1,.house2,.house3,.house4 {
    margin: 0 10px;
    backdrop-filter: blur(5px);
    margin-bottom: 2rem;
}

.houses img {
    width: 360px;
    height: 260px;
}

.houses h4 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-bottom: 5px;
}

.houses h2 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-bottom: 10px;
}

.houses h4,.houses h2,.rooms p ,.houses p {
    padding-left: 15px;
    color: white;
}

.rooms {
    display: flex;
    margin-bottom: 5px;
    position: relative;
}

.email a {
    text-align: center;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 5px 10px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    transition: .4s;
    width: 90px;
}

.email a:hover {
    background-color: white;
    color: black;
    font-weight: bold;
}


.footer {
    text-align: center;
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding: 0 4rem;
}

.footer h1{
    margin-bottom: 2rem;
}

.links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.links a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
}

.one-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-write a {
    text-decoration: none;
    color: white;
    font-size: 30px;
    padding: 0 0.3rem;
}

@media all and (max-width: 1530px) {
    .houses img {
        width: 260px;
        height: 220px;
    }

    .email a {
        font-family: Poppins;
        text-align: center;
        text-decoration: none;
        color: white;
        border: 1px solid white;
        padding: 2px 7px;
        position: absolute;
        right: 0px;
        bottom: 4.4rem;
        transition: .4s;
        width: 90px;
        font-size: 15px;
    }

    .houses h2 {
        font-family: Poppins;
        margin-bottom: 5px;
        font-size: 15px;
    }

    .top {
        height: auto;
    }
    
}

@media all and (max-width: 1130px) {
    .houses {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .houses h4 {
        font-family: Poppins;
        margin-bottom: 5px;
    }

    .houses h2 {
        font-family: Poppins;
        margin-bottom: 5px;
        font-size: 15px;
    }

    .email a {
        font-family: Poppins;
        text-align: center;
        text-decoration: none;
        color: white;
        border: 1px solid white;
        padding: 2px 2px;
        position: absolute;
        right: 0px;
        bottom: 3.7rem;
        transition: .4s;
        width: 90px;
    }

    .top {
        height: auto;
    }
}

@media all and (max-width:840px) {
    .houses {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .houses img {
        width: 240px;
        height: 200px;
    }

    .houses h4 {
        font-family: Poppins;
        margin-bottom: 5px;
    }

    .houses h2 {
        font-family: Poppins;
        margin-bottom: 5px;
        font-size: 12px;
    }

    .top {
        height: auto;
        background-attachment: scroll !important;
    }

    .main-logo {
        width: 70px;
    }


    .bar-side a {
        font-size: 15px;
        padding: 2px 7px;
    }


    .email a {
        font-family: Poppins;
        text-align: center;
        text-decoration: none;
        color: white;
        border: 1px solid white;
        padding: 2px 7px;
        position: absolute;
        bottom: 4rem;
        transition: .4s;
        font-size: 11px;
        width: 40px;
    }
}

@media all and (max-width: 480px) {
    .logo-side {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100px;
    }

    .rees {
        display: none;
    }

    .links .hell {
        display: flex;
    }

    .main-logo {
        width: 50px;
        position: absolute;
        left: 5px;
    }

    .bar-side {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .bar-side a{
        font-family: Poppins;
        font-size: 10px;
        padding: 2px 5px;
        border: 1px solid white;
        border-radius: 5px;
    }

    .top {
        height: auto;
        background-attachment: scroll !important;
    }


    .houses p {
        font-size: 12px;
        font-family: Poppins;
    }


    .houses {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .houses img {
        width: 270px;
        height: 170px;
    }

    .houses h2 {
        font-size: 12px;
        font-weight: 300;
    }

    .houses h4 {
        font-size: 14px;
        font-weight: 300;
    }

    .features h1 {
        font-size: 15px;
    }

    .footer {
        padding: 0 1rem;
    }

    .footer h1{
        font-size: 20px;
    }

    .email a {
        width: 40px;
        font-size: 9px;
        bottom: 3.2rem;
    }

    .links {
        flex-direction: column;
    }

    .links a {
        font-size: 14px;
        display: none;
    }


    .features {
        margin-top: 0.5rem;
    }

    .left-write p {
        font-size: 10px;
    }

    .right-write a {
        font-size: 15px;
    }


}
