/*
Custom CSS for TemplateMo 561 Purple Buzz

https://templatemo.com/tm-561-purple-buzz

*/

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    flex-shrink: 0;
    /* Prevents the footer from shrinking */
    width: 100%;
    margin-top: auto;
    /* This pushes the footer to the bottom */
}

.banner-wrapper {
    flex: 1 0 auto;
    /* This makes the main content area expand to fill available space */
    background-color: #212934;
    /* Match your site's background color */
}

/* Ensure no extra margin or padding on the last element */
body>*:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Custom styles for carousel with background image */
.carousel-item {
    min-height: 600px;
    /* Set a minimum height for the carousel */
    position: relative;
}

.carousel-item[style*="background-image"] {
    background-attachment: scroll;
    /* Better background behavior */
    background-position: center center;
}

/* Special styling for the training carousel item */
.carousel-item[style*="training-01.jpg"] {
    background-position: center bottom !important;
    /* Show more of the bottom part of the image */
}

.carousel-item[style*="background-image"] .row {
    min-height: 600px;
    /* Ensure the overlay covers the entire item */
    width: 100%;
    margin: 0;
}

.carousel-item[style*="background-image"] .banner-heading,
.carousel-item[style*="background-image"] .banner-body {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    /* Add text shadow for better readability */
}

/* Disclaimer styling for carousel */
.carousel-disclaimer {
    color: white;
    font-size: 1.1rem;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 550px;
    line-height: 1.3;
    position: relative;
    width: 100%;
}

.learning-disclaimer {
    display: block;
    position: relative;
    margin-top: 15px;
    margin-left: auto;
    color: white;
    padding: 8px 0px;
    font-size: 0.75rem;
    max-width: 600px;
    text-align: left;
    border-radius: 4px;
    z-index: 10;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.table-btn {
    color: white;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 25px;
    padding: 5px 15px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}


/* 14px */
.fs-14 {
 font-size: 0.875rem; 
}

/* 12px */
.fs-12 {
 font-size: 0.75rem; 
}

/* 10px */
.fs-10 {
 font-size: 0.625rem;
}


.wrapper {
    background-color: #d8d8d8;

}

.wrapper>div>div {
    margin-bottom: 12px;
}

.playlist-card iframe {
    width: 100%;
    height: 200px;
    padding: 5px;
    border: 1px solid #A9A9A9;
}

.playlist-header {
    background-color: #122040;
    padding: 10px;
}

.playlist-header h5 {
    color: white;
    margin: 0;
}

.narrow-col {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}



/* Special handling for 1366x768 resolution */
@media (max-width: 1366px) {
    .carousel-disclaimer {
        font-size: 1.1rem;
        max-width: 450px;
        margin-top: 5px;
        margin-bottom: 5px;
        padding-right: 10px;
    }

    .align-content {
        bottom: 90px;
    }

    .carousel-content {
        padding-top: 15px;
        top: 50px;
    }
}

/* Further refinements for smaller screens */
@media (max-width: 992px) {
    .carousel-disclaimer {
        font-size: 1rem;
        max-width: 350px;
    }

    .learning-disclaimer {
        font-size: 0.7rem;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .carousel-disclaimer {
        font-size: 1rem;
        max-width: 280px;
    }

    .learning-disclaimer {
        font-size: 0.65rem;
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .carousel-disclaimer {
        font-size: 0.65rem;
        max-width: 230px;
    }
}

/* Make sure the carousel content looks good on all screen sizes */
@media (max-width: 768px) {

    .carousel-item,
    .carousel-item[style*="background-image"] .row {
        min-height: 500px;
    }
}

@media (max-width: 575px) {
   .navbar-brand {
    margin-left: 20px;
    text-wrap: auto;
   }
}