body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #B80909;
    color: #e0e0e0;
    display: block;
    height: auto;
    overflow-x: hidden;
}

h1 {
    text-align: center;
    color: #f8f8f8;
    margin-bottom: 30px;
}


.nav-container {
    background-color: #B80909;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.nav-links {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    color: #f8f8f8;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffa726;
}

/* Mobile responsiveness (small screens) */
@media (max-width: 600px) {
    .nav-links {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .nav-links li {
        margin: 0 10px;
    }

    .nav-container {
        padding: 10px 15px;
    }
}

p {
    padding: 20px;
    max-width: 800px;
    width: 55%;
    margin: 0 auto;
    background-color: #1a1a1a;
    color: #e0e0e0;
    border-radius: 8px;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

img {
    width: 27%;
    margin: calc(0.25%);
    border-radius: 3%;
}

.row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.center {
    justify-content: center;
}

html {
    color-scheme: dark light;
}

/* Snowflakes container */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background-color: #ffffff !important;  /* Ensure snowflakes are white */
    border-radius: 50%;
    opacity: 0.9;
    animation: fall linear infinite;
    filter: brightness(1) !important;  /* Reset dark mode transformation */
}


/* Fall animation (vertical movement) */
@keyframes fall {
    100% {
        transform: translateY(100vh);
    }
}

/* Style for the "Happy New Year" message */
#happyNewYearMessage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    font-weight: bold;
    color: #f44336; /* Festive red */
    text-transform: uppercase;
    padding: 20px;
    border-radius: 10px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-out;
    background-image: url('christmas-new-year.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: shine 2s infinite alternate;
}

/* Shiny effect for the text */
@keyframes shine {
    0% {
        text-shadow: 0 0 5px #fff, 0 0 10px #ff0000, 0 0 15px #ff0000, 0 0 20px #ff6347, 0 0 30px #ff6347, 0 0 40px #ff6347, 0 0 50px #ff6347;
    }
    100% {
        text-shadow: 0 0 10px #fff, 0 0 20px #ff0000, 0 0 30px #ff6347, 0 0 40px #ff6347, 0 0 50px #ff6347, 0 0 60px #ff6347;
    }
}

.countdown-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 2; /* Ensure it stays above other elements */
    text-align: center; /* Centers the title */
}

/* Styling for the title */
.countdown-title {
    width: 100%;
    font-size: 2em;  /* Title size */
    font-weight: bold;
    color: #e0e0e0;  /* Match title color with countdown boxes */
    margin-bottom: 30px;  /* Space between the title and countdown boxes */
    margin-top: 0;
}

/* Styling for the countdown box */
.countdown-box {
    background-color: #00216f;
    color: #e0e0e0;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70px;  /* Fixed height to maintain the desired spacing */
}

.countdown-box h2 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 0;  /* Remove extra space from top */
}

.time {
    font-size: 24px;
    font-weight: bold;
    color: #e0e0e0;
}

.resolutions-container {
    width: 80%; /* Limits the container width */
    max-width: 1000px; /* Max width for large screens */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    margin: 0 auto; /* Center the container horizontally */
    margin-top: 50px; /* Ensure there's space between countdown and resolutions */
}


/* Styling for the ordered list */
.resolutions-container ol {
    list-style-type: decimal; /* Default numbered list style */
    padding-left: 20px; /* Space from the left edge */
}

/* Styling for each list item */
.resolutions-container li {
    margin-bottom: 20px; /* Space between list items */
    line-height: 1.6; /* Increased line height for better readability */
    font-size: 18px;
    padding: 15px; /* Padding inside each list item */
    border-radius: 8px; /* Rounded corners */
    transition: background-color 0.3s ease-in-out; /* Smooth transition on hover */
}

.resolutions-container li:hover {
    background-color:  #DB0B0B; /* Darker shade on hover */
}

/* Additional styling for mobile responsiveness */
@media (max-width: 600px) {
    .resolutions-container {
        width: 90%; /* Slightly wider on smaller screens */
    }

    .resolutions-container li {
        font-size: 16px; /* Adjust font size for smaller screens */
    }
}

.video-container {
    width: 100%;
    max-width: 800px;
    padding-top: 80px;
    margin: 0 auto;
}

iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    max-width: 100%; /* Ensures video adjusts on smaller screens */
    aspect-ratio: 16 / 9; /* Maintains the 16:9 aspect ratio */
}

.video-container, iframe {
    box-sizing: border-box;
}

.space {
    height: 100px;
}

.welcome-message {
    color: #f8f8f8;
}

.dropdown {
    height: 100%;
    position: relative;
}

/* The button inside the nav */
.dropbtn {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0px 5px;  /* good size for clickable area */
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering */
    height: 100%; /* ensure it fills parent li */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 160%; /* now this really means: below navbar */
    left: 0;
    background-color: #B80909;
    z-index: 999;
    min-width: 110px;
    border: 2px solid #820909;
    border-radius: 4px;
    transform: translateX(-24%);
    box-shadow: 0px 5px 10px rgba(184, 9, 9, 1); /* Optional */
}

/* Add an invisible "buffer" element to extend hover */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -20px;      /* 20px above the dropdown */
    left: 0;
    width: 100%;
    height: 20px;    /* buffer height */
    /* transparent background so it's invisible */
    background: transparent;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown menu links */
.dropdown-content a {
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #B80909;
    color: #ff9800;
}

.nav-links li {
    margin: 0 20px;
    height: 100%; /* Add this */
    position: relative; /* Needed for dropdown positioning */
}