@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
 }

.container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    animation: animate 16s ease-in-out infinite;
}

.outer{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.2);
}

.details{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.details h1{
    font-size: 3em;
    color: #fff;
}

.details h2{
    text-transform: capitalize;
    color: #fff;
}

.details h2 span:nth-child(){
    color: red;
}
.details h2 span:nth-child(){
    color: blue;
}


@keyframes animate {
    0%,100% {
        background-image: url(/images/1.png);
    }
    25% {
        background-image: url(/images/2.png);
    }
    50% {
        background-image: url(/images/3.png);
    }
    75% {
        background-image: url(/images/4.png);
    }
}

/* Set the container to occupy the full viewport */
.container-under-slideshow {
    position: absolute;
    top: 100%; /* Position it below the slideshow */
    width: 100%;
    height: calc(100vh - slideshowHeight); /* Calculate the height, subtracting the slideshow height */
    background-color: #f2f2f2; /* Background color */
    overflow-y: auto; /* Add vertical scroll if content overflows */
}

/* Define the height of the slideshow (adjust this value) */
.slideshow {
    height: 60vh; /* Adjust this value as needed */
}

/* Add styles for the content within the container */
.container-under-slideshow p {
    font-size: 16px;
    color: #333;
    margin: 20px; /* Adjust the margin as needed */
}

/* Example styles for an image within the container */
.container-under-slideshow img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
    margin: 0 auto; /* Center the image horizontally */
}

.deskripsi h2{
    text-align: center;
    font-weight: 50;
    font-size: 25px;
}

.price-atas h2{
    font-size: 50px;
    font-weight: 200;
}

/* CSS for the centered button */
.centered-button {
    text-align: center;
    margin-top: 20px; /* Adjust the margin as needed */
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 25px;
}

.btn:hover {
    background-color: #0056b3; /* Change the color on hover */
}

.harga h2 {
    font-size: 40px;
    font-weight: 500;
    text-align: center;
}

.harga h3 {
    font-size: 40px;
    text-align: center;
}

.gapenting{
    display: flex;
}

.gapenting h2{
    text-align: center;
}

.cta-button {
    text-align: center;
    margin-top: 20px; /* Adjust the margin as needed */
    color: greenyellow;
}

.cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: green;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 25px;
}

.cta-btn:hover {
    background-color: green; /* Change the color on hover */
}

/* Media Queries */

/* Small screens (phones) */
@media (max-width: 575px) {

    /* Keyframes animation for the image */
@keyframes animate {
    0%, 100% {
        background-image: url(/images/1.png);
        background-size: cover; /* Ensure the image covers the container */
        background-position: center center; /* Center the background image */
    }
    25% {
        background-image: url(/images/2.png);
        background-size: cover;
        background-position: center center;
    }
    50% {
        background-image: url(/images/3.png);
        background-size: cover;
        background-position: center center;
    }
    75% {
        background-image: url(/images/4.png);
        background-size: cover;
        background-position: center center;
    }
}

    .details h1 {
        font-size: 2em; /* Adjust font size for smaller screens */
    }

    .details h2 {
        font-size: 1.5em; /* Adjust font size for smaller screens */
    }

    .price-atas h2 {
        font-size: 40px; /* Adjust font size for smaller screens */
    }

    .harga h2,
    .harga h3 {
        font-size: 30px; /* Adjust font size for smaller screens */
    }
}

/* Medium screens (tablets) */
@media (min-width: 576px) and (max-width: 991px) {
    .details h1 {
        font-size: 2.5em; /* Adjust font size for medium screens */
    }

    .details h2 {
        font-size: 2em; /* Adjust font size for medium screens */
    }

    .price-atas h2 {
        font-size: 45px; /* Adjust font size for medium screens */
    }

    .harga h2,
    .harga h3 {
        font-size: 35px; /* Adjust font size for medium screens */
    }
}

/* Large screens (desktops) */
@media (min-width: 992px) {
    .details h1 {
        font-size: 3em; /* Reset font size for large screens */
    }

    .details h2 {
        font-size: 2em; /* Reset font size for large screens */
    }

    .price-atas h2 {
        font-size: 50px; /* Reset font size for large screens */
    }

    .harga h2,
    .harga h3 {
        font-size: 40px; /* Reset font size for large screens */
    }
}
