body {
    overflow-x: hidden;
}

.apartment-container {
    display: flex;
    flex-direction: row;
    margin: 2% 10% 2% 10%;
}

.apartment-flex-left {
    width: 40%;
    display: flex;
    flex-direction: column;

}

.apartment-flex-right {
    width: 60%;
    display: flex;
    flex-direction: column;
}


.slika {
    width: 100%;
}

.apartment-button-container {
    flex-grow: 1;
    position: relative;

}

.booking-button {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-block;
    padding: 12px 30px;
    background-color: #4CAF50;
    /* Green background */
    color: white;
    /* White text */
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 15px;
    /* Rounded corners */
    transition: background-color 0.3s, transform 0.3s;
    /* Smooth transition for hover effect */
    font-size: 24px;
    border: none;
    /* No border */
    cursor: pointer;
    /* Cursor changes to pointer to indicate it's clickable */
}

.booking-button:hover {
    background-color: #45a049;
    /* Darker shade of green on hover */
    transform: scale(1.05);
    /* Slightly increase the size of the button */
}

.apartment-button-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8vw;
    /* Set the width of the left part */
    height: 100%;
    background-color: #F9F0EC;
    /* Set the background color of the left part */
    z-index: 1;
    /* Move it behind the content of the div */
}

.apartment-title {
    background-color: white;
    padding: auto;
    text-align: center;
    margin: 20% 1em 10% 1em;
    font-size: 3em;

}

.apartment-description {
    padding: 6vw 0 6vw 8vw;
    background-color: #F9F0EC;
}

.number-of-people {
    margin-right: 2em;

}

.apartment-description-intro {
    padding-bottom: 2em;
    font-size: 1.5em;
}

.apartment-description ul li {
    margin-bottom: 1em;
}



hr {
    border: 2px solid #FAC8A8;
    margin-top: 1em;

    width: 40%;
}



/* Slideshow container */
.slideshow-container {
    width: 100%;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -4vw;
    color: white;
    font-weight: bold;
    font-size: 4vw;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.mySlides img {
    display: block;
    margin: 0;
    padding: 0;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

@media only screen and (max-width: 1150px) {
    .apartment-description-intro {
        padding-bottom: 2em;
        font-size: 1.2em;
    }

    .apartment-description {
        padding: 3vw 0 3vw 4vw;
    }

    .apartment-title {
        font-size: 48px;
    }

    hr {
        width: 70%;
    }

}

@media only screen and (max-width: 760px) {
    .apartment-container {
        flex-direction: column;
        margin: 1.5em;
    }

    .apartment-flex-left,
    .apartment-flex-right {
        display: block;
        width: 100%;
        margin-top: 1em;
    }

    .apartment-title {
        font-size: 3em;
        text-align: left;
        margin: 0 0 1em 0;
    }

    hr {
        margin-top: 0.5em;
        width: 60%;
        float: left;
        border: 1px solid #FAC8A8;
        ;

    }

    .booking-button {
        background-color: rgb(76, 175, 80, 0.4);
        font-size: 1em;
        padding: 1em;
    }

    .prev,
    .next {
        padding: 0.6em;
        font-size: 1.5em;
        margin-top: -1.5em;
    }

}

.booking-button {
    display: none;
}