/* Specific Styles for promoCarousel2 */
#promoCarousel2 {
    border: 2px solid #e6e6e6; /* Adjust the color as needed */
    border-radius: 1px; /* Add border radius for a rounded frame */
    overflow: hidden; /* Hide the border that extends beyond the frame */
    margin-top: 20px; /* Add some spacing between the text and the carousel */
}

#promoCarousel2 .carousel-inner img {
    max-height: 20%; /* Adjust the percentage as needed */
    width: auto;
    margin: 0 auto;
    /*display: block;*/
}

#promoCarousel2 .carousel-control-prev,
#promoCarousel2 .carousel-control-next {
    width: 3%; /* Adjust the width as needed */
}

/* Styles for text-section */
.text-section {
    padding: 20px; /* Add padding around the text */
    background-color: #d3d3d3; /* Add background color for the text section */
    border-radius: 2px; /* Add border radius for a rounded frame */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow */
}

.text-section p {
    font-size: 22px; /* Adjust the font size as needed */
    line-height: 1.5; /* Add line height for readability */
    font-family: 'Arial', sans-serif; /* Change to your preferred font */
    color: #333; /* Adjust the text color as needed */
    margin-bottom: 0; /* Remove the default margin */
}

.image-container {
    background-size: cover; /* Adjust as needed */
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    /*height: 100vh; !* Adjust as needed to fill the viewport height *!*/
}

.image-container img {
    border: 2px solid orange;
    border-radius: 5px;
    width: 100%; /* Set the image width to 100% of its container on mobile */
    height: auto; /* Allow the height to adjust proportionally */
    /*width: 100%;*/
}

@media (min-width: 1170px) {
    .image-container {
        background-image: url('/static/images/foroom/banner2.png');
    }
}

@media (max-width: 1170px) {
    .image-container {
        background-image: url('/static/images/foroom/banner1.png');
        margin-top: 10px;
    }

    .image-container img {
        border: 2px solid orange;
        border-radius: 5px;
        width: 100%; /* Set the image width to 100% of its container on mobile */
        height: auto; /* Allow the height to adjust proportionally */
        /*max-height: 120%;*/
        /*width: auto;*/
    }
}
