body {
    background-color: #211d15;
    color: #e1e1e1;
    font-family: 'Kanit', sans-serif;
    margin-bottom: 0px;
}

#overlay-header {
    background: url('../images/overlay-background-overlay.png');
    background-size: auto 100%; /* Adjusted to scale the height to 100% of the container */
    background-position: center center;
    background-repeat: no-repeat; /* Ensures the image does not repeat */
    height: 80vh;
    margin-bottom: 10vh;
    width: 100%;
    position: relative;
}


.header-content {
    position: absolute;
    bottom: 120px;
    right: 0;
    margin: auto;
}

    .header-content > a {
        height: 250px;
        width: 250px;
        background-color: rgba(40,40,40,0.9);
        text-decoration: none;
        color: #fff;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        padding-top: 70px;
    }

.featured-sec > #live-wrapper {
    height: 250px;
    width: 470px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    border: solid 1px #ffd800;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-image: url('../images/home-live-thumbnail.png');
    background-position: center center;
    background-size: cover;
}

    .featured-sec > #live-wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1); /* Adjust the overlay effect as needed */
        z-index: 1;
    }

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.live-indicator {
    width: 20px; /* Size of the circle */
    height: 20px; /* Size of the circle */
    background-color: red; /* Color of the circle */
    border-radius: 50%; /* Makes the div a circle */
    animation: flash 2s infinite; /* Apply the animation */
    position: absolute;
    top: 30px; /* Adjust this value to move closer/further from the bottom */
    right: 30px; /* Center horizontally */
    transform: translateX(-50%); /* Adjust horizontal position to truly center */
    z-index: 2; /* Ensure it appears above the ::before pseudo-element */
}

.featured-sec > .feat {
    height: 250px;
    width: 470px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.featured-sec > #feat-one::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/overlay-thumb-cod.png');
    background-position: center center;
    background-size: cover;
    opacity: 0.9;
}

.featured-sec > #feat-two::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/overlay-thumb-minecraft.png');
    background-position: center center;
    background-size: cover;
    opacity: 0.9;
}


.live-cod-code {
    font-size: 4em;
    font-weight: bold;
    text-align: center;
    margin-top: 120px;
    color: #c19800;
    position: relative;
    z-index: 2; /* Higher than ::after pseudo-element */
}

#home-ja-streamers {
    position: relative;
    height: 450px;
    width: 100%;
}

    #home-ja-streamers > #steamer-wrapper {
        position: absolute;
        top: -220px;
    }

#home-community {
    padding: 100px 0;
    background-color: #000;
    margin-top: 200px;
}

.btn-yellow-round {
    background-color: #e6b500;
    border-color: #c19800;
    color: #000;
    font-size: 2em;
    padding: 10px 30px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

    .btn-yellow-round:hover {
        background-color: #c19800;
        border-color: #ae8900;
        color: #000;
    }

.social-icon {
    color: #a9a9a9;
    cursor: pointer;
}

    .social-icon:hover {
        color: #e6b500;
    }

.text-yellow {
    color: #e6b500;
}

/* Base styles for all screen sizes */
#associates-container {
    justify-content: center; /* Center aligns items */
    flex-wrap: wrap; /* Allows items to wrap onto the next line */
}

    #associates-container > div {
        margin: 5px; /* Adds some space around each image */
        margin-bottom: 30px;
        flex: 0 0 auto; /* Prevents flex items from growing or shrinking */
    }


.associate-link {
    position: relative !important;
    display: block !important;
}

    .associate-link img {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important; /* Ensure the image takes the full width of its parent */
        height: auto !important; /* Maintain aspect ratio */
        transition: opacity 0.3s ease !important;
    }

        .associate-link img.normal {
            position: relative !important;
        }

        .associate-link img.hover {
            opacity: 0 !important;
        }

    .associate-link:hover img.hover {
        opacity: 1 !important;
    }

    .associate-link:hover img.normal {
        opacity: 0 !important;
    }

.video-thumb {
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    display: block; /* Ensure the image does not have extra space below it */
}

.video-container {
    position: relative; /* This makes it a reference for the absolute positioning of the overlay and icon */
}

    .video-container a {
        display: block;
        position: relative;
        text-decoration: none;
    }

/* Overlay styles */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5; /* Black background with 50% opacity */
    border-radius: 30px; /* Match the image's border radius */
    transition: opacity 0.3s ease; /* Smooth transition for the hover effect */
}

/* Adjust the YouTube icon's initial and hover colors */
.youtube-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* This centers the icon perfectly */
    color: grey; /* Initial icon color */
    font-size: 48px; /* Adjust size as needed */
    transition: color 0.3s ease; /* Smooth transition for the hover effect */
}

/* Hover effects */
.video-container:hover .youtube-icon {
    color: #e6b500; /* Change icon color to red on hover */
}

.video-container:hover .video-overlay {
    opacity: 0; /* Remove the black background on hover */
}


.overlay-sec {
    height: 85vh;
    position: relative;
    background: url('../images/overlay-background-nfs.png') center center / cover no-repeat;
    margin-bottom: 10vh;
    width: 100%;
}

.overlay-thumb {
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    transition: transform 0.5s ease, border 0.5s ease;
    margin: 2px; /* Ensure there's space for the pulsing effect */
    will-change: transform; /* Optimize for transform changes */
}

    .overlay-thumb.active-thumb {
        animation: pulse 1.5s infinite ease-in-out;
    }


.cod-overlay-img {
    -webkit-border-top-left-radius: 50px;
    -webkit-border-top-right-radius: 50px;
    -moz-border-radius-topleft: 50px;
    -moz-border-radius-topright: 50px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    height: 250px;
    /*display: flex;*/ /* Make it a flex container */
    /*flex-direction: column;*/ /* Stack children vertically */
    /*justify-content: end;*/ /* Center children vertically */
    /*align-items: center;*/ /* Center children horizontally, if you also want horizontal centering */
    background-size: cover; /* Ensure the background covers the div */
    background-position: center; /* Center the background image */
}

.cod-overlay-desc {
    -webkit-border-bottom-right-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-bottomright: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    background-color: #fff;
    padding: 10px 20px;
}

    .cod-overlay-desc a{
        text-decoration:none;
        color:#111111;
    }

    .downloadable-overlay {
        height: 600px;
        -webkit-border-radius: 50px;
        background-position: center center;
        background-repeat: no-repeat; /* Ensures the image does not repeat */
        -moz-border-radius: 50px;
        border-radius: 50px;
        position: relative;
    }

    .downloadable-overlay > .downloadable-overlay-desc {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        border: solid 3px transparent; /* Maintain border size but make it transparent */
    }

    50% {
        transform: scale(1.05); /* Subtle scaling */
        border: solid 3px #e6b500; /* Highlighted border */
    }
}

#overlay-nav {
    background-color: rgba(0,0,0,0.4);
    position: absolute;
    bottom: 0;
    width: 100%;
}


#overlay-header {
    background: url('../images/overlay-background-overlay.png');
    background-size: auto 100%; /* Adjusted to scale the height to 100% of the container */
    background-position: center center;
    background-repeat: no-repeat; /* Ensures the image does not repeat */
    height: 80vh;
    margin-bottom: 10vh;
    width: 100%;
    position: relative;
}

#overlay-detail-header {
    height: 80vh;
    margin-bottom: 10vh;
    width: 100%;
    position: relative;
}

/* Add any additional styles you previously had here */




.mt-n-1 {
    margin-top: -100px;
}


@media (max-width: 1200px) {
    .mt-n-1 {
        margin-top: 50px;
    }
}

/* For tablets, screens wider than 768px */
@media (max-width: 992px) {
    .mt-n-1 {
        margin-top: 0px;
    }
}

@media (min-width: 1700px) {
    .col-xxxl-8 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .offset-xxxl-2 {
        margin-left: 8.33333333%;
    }

    .offset-xxxl-3 {
        margin-left: 16.66666667%;
    }

    .col-xxxl-6 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .offset-xxxl-4 {
        margin-left: 25%;
    }

    .col-xxxl-4 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 2200px) {
    .col-xxxl-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .offset-xxxl-2 {
        margin-left: 16.66666667%;
    }

    .offset-xxxl-3 {
        margin-left: 25%;
    }

    .col-xxxl-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .offset-xxxl-4 {
        margin-left: 33.33333333%;
    }

    .col-xxxl-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}
