
@keyframes moveInRight {
    0% {
        transform: translateX(10rem);
        opacity: 0;
    }

    50% {
        transform: translateX(-1rem);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


body {
    background-color: #101319 ;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}



/* Header */

.menu {
    display: flex;
    justify-content: space-between;
    background-color: #2b303a;
    align-items: center;
    padding: 20px 20px;
}

.logo-image{
    width: 300px;
    height: 100px;
    overflow: hidden;
    margin-top: -6px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.menu-container {
    display: flex;
    gap: 53px;
    
}

ul {
    list-style: none;
}

.menu-container a:hover {
    color: #6B0504;

}

.a {
    text-decoration: none;
    color: #e0b7b6;
    transition: all 0.2s ease-in-out;
    list-style: none;
    font-size: 20px;

}

.head {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right bottom, rgba(255, 58, 58, 0.605), rgba(255, 251, 231, 0.3)), url(../img/spooky-castle-in-fog.webp);
    background-size: cover;
    padding-bottom: 90px;
    
}

.cls-1{
    fill:#6B0504;
}

.btn1 {
    background-color: #55090A ;
    margin: 0;
    padding-right: 50px;
    padding-left: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-decoration: none;
    font-size: 30px;
    color: #e0b7b6;

}


.texbtn {
    padding-left: 40px;
    margin-top: -150px;
    
}

.h1 {
    font-size: 50px;
    font-weight: lighter;
    animation: moveInRight 2s ease-in;
}

.subh1 {
    font-size: 60px;
    margin-top: -30px;
    font-weight: bold;
}













/* listings */

.List {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 20px;
    padding-top: 40px;
}

.btnimg {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.551), rgba(0, 0, 0, 0.462)),url(../img/home\ house\ 1.jpg);
    padding: 200px 200px;
    background-size: cover;
}

.m2 {
    width: 400px;
}

.name1 {
    font-size: 20px;
    color: #ece2e2;
}

.pinfo {
    display: flex;
    gap: 20px;
    margin-top: -25px;
}
.des {
    font-size: 15px;
    color: #ece2e2;
    font-weight: lighter;
    margin-top: -20px;
}

.pi {
    font-size: 15px;
    color: #ece2e2;
    font-weight: lighter;
    gap: 20px;

}

.price {
    text-decoration: none;
    background-color: #55090A;
    color: #ece2e2;
    padding-right: 40px;
    padding-left: 40px;
    padding-top: 20px;
    padding-bottom: 20px;

}

.btnimg1 {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.451), rgba(0, 0, 0, 0.451)),url(../img/home\ house\ 2.jpg);
    padding: 200px 200px;
    background-size: cover;
}

.btnimg2 {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.551), rgba(0, 0, 0, 0.462)),url(../img/listing3.jpg);
    padding: 200px 200px;
    background-size: cover;
}

.btnimg3 {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.551), rgba(0, 0, 0, 0.462)),url(../img/listing4.jpg);
    padding: 200px 200px;
    background-size: cover;
}

.btnimg4 {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.551), rgba(0, 0, 0, 0.462)),url(../img/listing5.jpg);
    padding: 200px 200px;
    background-size: cover;
}

.btnimg5 {
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.551), rgba(0, 0, 0, 0.462)),url(../img/listing6.jpg);
    padding: 200px 200px;
    background-size: cover;
}

.price:hover {
    background-color: #55090aa4;
    color: #101319;
    border-color: #55090A;
    border-width: 20px;
    transform: scale(0.8);
}

.num {
    color: #ece2e2;
    font-size: 20px;
    font-weight: lighter;
}




@media ( max-width: 1400px) {

    .List {
        flex-direction: column;
        align-items: center;
    }
    .h1 {
        padding-top: 180px;
    }
    .menu {
        flex-direction: column;
    }
}

