body {
    background-color: #000;
    color: #e1e1e1;
    font-family: 'Kanit', sans-serif;
    margin-bottom: 0px;
}

#cod-header {
    background: url('../images/cod-banner.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%;
}

#cod-lobby {
    background: url('../images/cod-lobby.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 */
    padding: 200px 0;
}

.cod-player-name {
    background-color: #e6b500;
    padding: 5px 20px;
    color: #000;
    font-size: 1.2em;
}

#cod-discord {
    background: url('../images/cod-discord.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 */
    padding: 300px 0;
    margin-top: 100px;
}

.btn-yellow-round {
    background-color: #e6b500;
    border-color: #c19800;
    color: #000;
    font-size: 1.5em;
    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;
    }

.btn-yellow {
    background-color: #e6b500;
    border-color: #c19800;
    color: #000;
}

    .btn-yellow:hover {
        background-color: #c19800;
        border-color: #ae8900;
        color: #000;
    }

.cod-overlay-desc {
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    height: 250px;
    display: flex; /* Make it a flex container */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* 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 */
}


.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;
    }

.mt-n-1 {
    margin-top: -100px;
}

/* Default image for mobile devices */
#cod-players {
    background-image: url('../images/players-mobile.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: 60vh;
    width: 100%;
}

.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;
    }

.top-player {
    border-radius: 50%;
}

    .top-player > .rank-1 {
        width: 200px;
        height: 200px;
        background-color: #000;
        border-radius: 50%;
    }

    .top-player.rank-border-1 {
        padding: 20px;
        background-image: -webkit-linear-gradient(to bottom, #000000, #e6b500); /* For Safari 5.1 to 6.0 */
        background-image: -o-linear-gradient(to bottom, #000000, #e6b500); /* For Opera 11.1 to 12.0 */
        background-image: -moz-linear-gradient(to bottom, #000000, #e6b500); /* For Firefox 3.6 to 15 */
        background-image: linear-gradient(to bottom, #000000, #e6b500); /* Standard syntax */
    }

    .top-player > .rank-2 {
        width: 150px;
        height: 150px;
        background-color: #000;
        border-radius: 50%;
    }

    .top-player.rank-border-2 {
        padding: 15px;
        background-image: -webkit-linear-gradient(to bottom, #000000, #00aee6); /* For Safari 5.1 to 6.0 */
        background-image: -o-linear-gradient(to bottom, #000000, #00aee6); /* For Opera 11.1 to 12.0 */
        background-image: -moz-linear-gradient(to bottom, #000000, #00aee6); /* For Firefox 3.6 to 15 */
        background-image: linear-gradient(to bottom, #000000, #00aee6); /* Standard syntax */
    }

    .top-player > .rank-3 {
        width: 100px;
        height: 100px;
        background-color: #000;
        border-radius: 50%;
    }

    .top-player.rank-border-3 {
        padding: 10px;
        background-image: -webkit-linear-gradient(to bottom, #000000, #ad5409); /* For Safari 5.1 to 6.0 */
        background-image: -o-linear-gradient(to bottom, #000000, #ad5409); /* For Opera 11.1 to 12.0 */
        background-image: -moz-linear-gradient(to bottom, #000000, #ad5409); /* For Firefox 3.6 to 15 */
        background-image: linear-gradient(to bottom, #000000, #ad5409); /* Standard syntax */
    }

.other-player {
    padding: 20px 10px;
}

/* For tablets, screens wider than 768px */
@media (min-width: 768px) {
    #cod-players {
        background-image: url('../images/players-tablet.png');
        background-size: auto 100%; /* Adjusted to scale the height to 100% of the container */
        background-position: center center; /* Adjusts the position */
        background-repeat: no-repeat; /* Ensures the image does not repeat */
        height: 70vh;
        width: 100%;
    }
}

/* For desktops, screens wider than 1024px */
@media (min-width: 1024px) {
    #cod-players {
        background-image: url('../images/players.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: 70vh;
        width: 100%;
    }
}

@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%;
    }
}
