
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.house {
    margin-top: 0px 0;
    padding: 46px;
    background-color: #fff;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.image-gallery {
    position: relative;
    text-align: center;
}

.image-gallery img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 8px;
}

/*
#img {
    display: block;
    margin: auto;
    width: 450px;
}
*/

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 32px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transition: 0.6s ease;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0%;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.title_bar {
    width: 100%;
    height: 10%;
    padding-left: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: lightgreen;
}

.nav {
    font-size: 20px;
    color: blue;
}

#remaining {
    background-color: rgb(255, 0, 0);
    flex-grow: 1;
}

#slider {
    width: 100%;
    display: block;
}

#slider2 {
    height: 10%;
    width: 30%;
    position: absolute;
    top: 305px;
    left: 70%;
}

/* -----------------------------------------------------*/
.carousel {
    width: 100%;
    height: 40vh;
    position: relative;
    padding: 0;
    margin: 0;
    top: -10px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 600ms opacity ease-in-out;
    transition-delay: 600ms;
    height: 40vh;
}

.slide > img {
    display: block;
    padding-top: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide[data-active] {
    opacity: 1;
    z-index: 1;
    transition-delay: 0ms;
}

.carousel-button {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    font-size: 4rem;
    top: 10%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-radius: .25rem;
    padding: 0 0.5rem;
    background-color: rgba(0, 0, 0, 0.1);
}

.carousel-button:hover, .carousel-button:focus {
    color: white;
    background-color: rgba(0, 0, 0, .2);
}

.carousel-button:focus {
    outline: 1px solid black;
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.container {
    position: relative;
    min-height: 5vh;
    background: #eee;
}
.container .image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}
.container .image-container .image {
    height: 250px;
    width: 350px;
    border: 10px solid #fff;
    box-shadow: 0 5px 15px rgb(0, 0, 0, .1);
    overflow: hidden;
    cursor: pointer;
}

.container .image-container .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.container .image-container .image:hover img {
    transform: scale(1.1);
}

.container .popup-image {
    position: fixed;
    top: 0; left: 0;
    background: rgb (0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}

.container .popup-image span {
    position: absolute;
    top: 0; right: 29%;
    font-size: 60px;
    font-weight: bolder;
    color: #000;
    cursor: pointer;
    z-index: 100;
}

.container .popup-image img {
    position: absolute;
    top: 5%; left: 20%;
    transform: translate(0%, 0%);
    border: 5px solid #fff;
    border-radius: 5px;
    width: 50%;
    height: 70%;
    object-fit: cover;
}

.container .popup-image table.enlarge {
    position: absolute;
    top: 70%; left: 20%;
    transform: translate(0%, 0%);
    border: 5px solid #fff;
    border-radius: 5px;
    width: 50%;
    background-color: rgba(255, 255, 255, 1);
}
.container .popup-image table.enlarge p.big {
    font-size: 32px;
    font-weight: 900;
    padding: 0;
    margin: 0;
}
.container .popup-image table.enlarge p.small {
    font-size: 18px;
    height: 5%;
    padding: 0;
    margin: 0;
}


@media (max-width:768px) {
    .container .popup-image img {
        width: 95%;
    }
}

/*  house1 css */
.house-image-gallery img {
    /*width: 100%;*/
    width: 95%;
    height: 20%;
    
    border-radius: 8px;
}

p.house-info-big {
    justify-content: left;
    padding: 0px 0px 0px 25px;
    margin: 0px;
    font-size: 24px;
    font-weight: 750;
}

p.house-info-small {
    justify-content: left;
    padding: 0px 0px 25px 25px;
    margin: 0px;
    font-size: 16px;
}

p.house-info-medium {
    justify-content: left;
    padding: 0px 0px 10px 25px;
    margin: 0px;
    font-size: 18px;
}



.house-td1 {
    padding: 30px 0px 0px 0px;
    margin-top: 0px;
    vertical-align: top;
    
    background: white;
    width: 400px;
    height: 100%;
    
}

.house-prev, .house-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    /*margin-top: -22px;*/
    color: white;
    font-weight: bold;
    font-size: 32px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    transition: 0.6s ease;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}


.house-next {
    left: 1200px;
    border-radius: 3px 0 0 3px;
}

.house-prev:hover, .house-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
