html, body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    overflow-x: hidden;
    background-color: #000 !important;
    color: #000080; /* Corrected the color code for text color */
    font-family: 'roboto', sans-serif;
}

.bg-dark-blue {
    background: #000 !important; /* Set the black background */
    transition: background 1s ease-in-out; /* Add a transition for smooth background color change */
}

.earth-container {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    background-color: #000 !important; /* Added background color */
}


.earth-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1; /* Ensure it's behind the splash.gif */
}

.splash-gif {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160%; /* Default size */
    height: auto;
    object-fit: contain;
    z-index: 2;
    opacity: 1; /* Start fully visible */
    visibility: visible;
    /* Transition for both opacity and visibility */
    transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s; /* Immediate change in visibility after opacity transition */
}

    .splash-gif.hide {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s; /* Controls fade out */
    }

.content-wrapper {
    position: relative;
    z-index: 1;
    transform: translateY(100%); /* Start off-screen */
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s linear 0.5s; /* Ensure the transition is quick */
}

    .content-wrapper.show {
        transform: translateY(0); /* Move into view */
        opacity: 1;
        visibility: visible;
    }


@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Smaller devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .splash-gif {
        width: 171%; /* Increased by 90% */
    }
}

/* Smaller devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .splash-gif {
        width: 184.5%; /* Increased by 105% */
    }
}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .splash-gif {
        width: 143.5%; /* Increased by 105% */
    }
}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .splash-gif {
        width: 123%; /* Increased by 105% */
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .splash-gif {
        width: 102.5%; /* Increased by 105% */
    }
}

#countdown {
    font-family: 'Courier New', monospace;
    font-size: 30px; /* Adjust the font size to your preference */
    padding: 10px;
    background: #000;
    color: #0F0; /* Green text, typical of digital clocks */
    display: inline-block;
    border-radius: 5px; /* Rounded corners for the digital clock box */
    margin: 0 auto; /* Center the clock if it's within a block that allows for centering */
    width: auto; /* Auto width to fit the content */
}

.host-banner {
    width: 340%; /* Set the width to 340% (3.4 times the original width) */
    margin: 0 auto; /* Center the banner horizontally */
}


/* Spon1 Ad/Banner */
.spon1-banner {
    width: 340%;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
    height: 234px !important; /* Add !important to override other rules */
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .banner-text h2 {
        font-size: 36px;
        font-weight: bold;
    }

/* SPON1 Cards Container */
.spon1 .col-6.cards-container .img-card {
    width: 180px; /* Adjust the width to match the host section cards */
    height: 234px; /* Adjust the height to match the host section cards */
    background-size: cover;
    background-position: center;
    margin-right: 10px; /* Spacing between cards */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-radius: 10px;
}

.host-text-info {
    font-size: 34px; /* Adjust the font size to your liking */
    color: #ffffff; /* This example sets the color to white, adjust if necessary */
    /* Additional styling options */
    font-weight: bold; /* Makes the text bold */
    padding: 5px 0; /* Adds some padding above and below the text for spacing */
    display: inline-block; /* Allows the size to fit the content, and can be used along with text-align for positioning */
}

.spon1-text-info {
    font-size: 34px; /* Adjust the font size to your liking */
    color: #ffffff; /* This example sets the color to white, adjust if necessary */
    /* Additional styling options */
    font-weight: bold; /* Makes the text bold */
    padding: 5px 0; /* Adds some padding above and below the text for spacing */
    display: inline-block; /* Allows the size to fit the content, and can be used along with text-align for positioning */
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

    .overlay-text h2 {
        font-size: 41.2px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .overlay-text h3 {
        font-size: 33.4px;
    }

.content {
    padding: 20px;
    background: linear-gradient(to bottom, #4169E1, #ADD8E6);
    transform: translateY(100%);
    transition: transform 1s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

    .content.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

.img-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
}

.img-card:last-child {
    margin-right: 0;
}

/* HOST Cards Container */
.host .col-6.cards-container .img-card {
    width: 180px; /* Adjust the width to match the entertainment section cards */
    height: 234px; /* Adjust the height to match the entertainment section cards */
    background-size: cover;
    background-position: center;
    margin-right: 10px; /* Spacing between cards */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-radius: 10px;
}

/* Host Ad/Banner */
.host-banner {
    width: 340%; /* Set the width to 340% (3.4 times the original width) */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
    height: 234px; /* Adjust the height as needed */
}

/* Spon1 Ad/Banner */
.spon1-banner {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFF;
    height: 180px; /* Adjust the height as needed */
}

/* Cards Container */
.cards-container {
    display: flex;
    overflow-x: auto;
    padding: 0 10px; /* Add some padding to the sides */
}

/* Individual image cards */
.img-card {
    flex: 0 0 auto;
    width: 180px; /* Adjust the width as needed */
    height: 234px;
    background-size: cover;
    background-position: center;
    margin-right: 10px; /* Spacing between cards */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-radius: 10px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.tablink {
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

    .tablink.active-tab {
        background-color: #017AD2;
        border-radius: 20px;
    }

.tab-content {
    display: none;
    text-align: center;
    margin-top: 20px;
}

    .tab-content.active {
        display: block;
    }

    .tab-content h2 {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .tab-content h3 {
        font-size: 18px;
    }

.host img.img-fluid,
.spon1 img.img-fluid {
    width: auto; /* Auto width to maintain aspect ratio */
    height: 100px; /* Fixed height for uniformity */
    margin-right: 10px; /* Space between images */
    border-radius: 5px; /* Soften the edges */
}

.host .row,
.spon1 .row {
    border: none !important;
}


/* Text Styling for Host and spon1 Sections */
.host-text,
.spon1-text {
    font-size: 1.25rem; /* Slightly larger for emphasis */
    color: #FFD700; /* Golden text color for visibility against dark/complex backgrounds */
    margin-top: 10px; /* Space above the text */
}

#countdown {
    font-family: 'Courier New', monospace;
    font-size: 18px;
}
/* Custom font sizes for splash page headings */
.text-center h2.fs-1 {
    font-size: 32px; /* Setting font size directly in pixels */
}

.text-center h3.fs-2 {
    font-size: 26px; /* Setting font size directly in pixels */
}

/* Styling text in the host section */
.host .row .col-6 p {
    font-size: 18px; /* Example font size, adjust as needed */
    color: #ffffff; /* Assuming you want to keep the white color */
    /* Add any other text styling properties here */
}

/* Styling text in the spon1 section */
.spon1 .row .col-6 p {
    font-size: 18px; /* Example font size, adjust as needed */
    color: #ffffff; /* Assuming you want to keep the white color */
    /* Add any other text styling properties here */
}

.custom-host-spon1-img {
    width: calc(20% - 10px); /* Or another size that makes it slightly smaller than the cards in img-grid mt-3 */
    height: calc(180px - 10px); /* Or another size that makes it slightly smaller than the cards in img-grid mt-3 */
    /* Other properties if necessary */
}
/* Existing .img-card size for reference */
.img-card {
    width: 30%; /* Example size */
    height: 180px; /* Example size */
    /* Other styling */
}

/* New CSS to match the size of the host and spon1 images to the img-card */
.host img.img-fluid,
.spon1 img.img-fluid {
    width: 27.5%; /* Slightly smaller than the .img-card */
    height: calc(180px - 20px); /* Slightly less height than the .img-card */
    margin-right: 10px; /* Ensure there's some space between the images */
}

/* Add this if you want a min-width to ensure they don't get too small on narrower screens */
.host img.img-fluid,
.spon1 img.img-fluid {
    min-width: 150px;
}

/* Add custom classes for the text in host and spon1 to control the size */
.host-text,
.spon1-text {
    font-size: 1rem; /* Example font size, adjust as needed */
}

.app-download {
    display: flex; /* Use Flexbox */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally in the cross axis */
    justify-content: center; /* Center children vertically in the main axis if needed */
    text-align: center; /* Ensure text aligns to the center for browsers that don't support Flexbox */
    padding: 20px; /* Add some padding for spacing */
}

    .app-download a {
        display: block; /* Ensure the anchor tag is block level for margin auto to work */
        margin-top: 20px; /* Add some space between the text and the button */
    }

    .app-download img {
        width: 200px; /* Maintain image width */
        height: auto; /* Maintain aspect ratio */
        display: block; /* Make the image a block-level element */
    }

.qr-code {
    text-align: center;
    margin: 20px 0;
}

.qr-scanner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px auto;
}

    .qr-scanner video {
        max-width: 90vw;
        height: auto;
        border-radius: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
        display: block;
        margin: 20px auto;
    }

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 0;
    border: none;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 640px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}
