* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    color: white;
    text-align: center;
    overflow: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    background: #121212;
    color: white;
    padding: 0;
    text-align: center;
}
.top-bar {
    background: #1a1a1a;
    color: white;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
}
.scan-btn {
    background: #FFD700;
    color: black;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: 0.3s ease;
}
.scan-btn:hover {
    background: #ffc107;
}
.container {
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    background: linear-gradient(135deg, #2d2d2d, #000000);
    border-radius: 12px;
    box-shadow: 0 0 30px rgb(255 204 0 / 54%);
}
.header {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}
.fee {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
}
form {
    display: flex;
    flex-direction: column;
}
input {
    margin: 8px 0;
    padding: 12px;
    border: 1px solid #FFD700;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    text-align: center;
    background: black;
    color: white;
    transition: 0.3s;
}
input::placeholder {
    color: #aaa;
}
input:focus {
    border-color: #ffc107;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}
.radio-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 12px 0;
}
.radio-group label {
    font-size: 14px;
    font-weight: 400;
}
button {
    background-color: #FFD700;
    color: black;
    padding: 12px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease;
    margin-top: 10px;
}
button:hover {
    background: #000000;
    color: #eaa924;
    border: solid 1px #eaa924;
}

/* Modal Popup */
#overlay, #nominate-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
}
#qr-popup, #nominate-popup {
    display: none;
    position: fixed;
    width: 400px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    z-index: 1000;
    box-shadow: 0px 0px 15px rgba(255, 204, 0, 0.5);
}
#qr-popup h3, #nominate-popup h3 {
    color: #FFD700;
    margin-bottom: 15px;
}
#qr-popup button, #nominate-popup button {
    background: red;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}
#qr-popup button:hover, #nominate-popup button:hover {
    background: darkred;
}

/* Background Slideshow */
.slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slideshow::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); 
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeZoom 12s infinite;
    z-index: 0; /* Ensures the overlay stays above */
}

.slide:nth-child(1) {
    animation-delay: 0s;
}
.slide:nth-child(2) {
    animation-delay: 4s;
}
.slide:nth-child(3) {
    animation-delay: 8s;
}

/* Background Animation */
@keyframes fadeZoom {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: 1;
        transform: scale(1.1);
    }
    40% {
        opacity: 1;
        transform: scale(1.2);
    }
    50% {
        opacity: 0;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* Top Bar */
#the2_top_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0px 7vw;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10;
}

#the2_top_bar img {
    width: 100px;
}

#the2_top_bar a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    margin: 0 15px;
    transition: color 0.3s ease;
}

#the2_top_bar a:hover {
    color: #f3cb3b;
}

#the2_top_bar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

#the2_top_bar ul li {
    margin-right: 15px;
}


#event a:hover {
    background-color: #5a1cd7;
    color: white;
}

/* Main Content */
#content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px; /* Add padding for smaller screens */
}

#textual h2 {
    font-size: 25px;
    font-weight: 300;
    text-transform: capitalize;
    margin-bottom: 20px;
}

/* Countdown Timer */
.countdown {
    display: flex;
    margin-top: 20px;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.time-box {
    padding: 25px 20px;
    border-radius: 10px;
    width: 120px;
    text-align: center;
}

.time-box span {
    font-size: 50px;
    font-weight: bold;
}

.time-box p {
    font-size: 18px;
    font-weight: 500;
}

.purple { background-color: #4b0076; }
.dark-pink { background-color: #a4007a; }
.pink { background-color: #d2008f; }
.bright-pink { background-color: #ff0080; }

/* Register Button */
#register {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px;
}

#register:hover {
    background-color: rgb(0, 0, 0);
    color: white;
    border: 2px solid white;
}

#top_panel {
    display: flex;
    align-items: center;
}

#logo {
    position: relative;
    width: 100%; /* Make logo responsive */
    max-width: 512px; /* Limit maximum size */
}

#tagline {
    text-align: right;
    margin-left: 25px;
}

/* New Section */
.new-section {
    position: absolute;
    bottom: 0%; 
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100vw;
    gap: 20px;
    padding: 7px 25px;
    background-color: #eaa924;
    z-index: 10;
}

.new-text {
    font-size: 22px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.new-btn {
    padding: 12px 20px;
    border: none;
    font-size: 20px;
    background-color: rgb(0, 0, 0); /* Gold button */
    color: rgb(255, 255, 255);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.new-btn:hover {
    background-color: #ffffff; /* Slightly darker gold */
    color: black;
    border: 2px solid black;
}
.mobile-break {
    display: none; /* Hide by default */
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    #the2_top_bar ul {
        flex-direction: column; /* Stack navigation items vertically */
        align-items: center;
    }
    .mobile-break {
        display: block; /* Show only on mobile */
    }

    #the2_top_bar ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    #content {
        padding: 10px;
    }

    #textual h2 {
        font-size: 20px;
    }

    .time-box {
        width: 100px;
        padding: 15px 10px;
    }

    .time-box span {
        font-size: 40px;
    }

    .time-box p {
        font-size: 16px;
    }

    #logo {
        width: 80%;
    }

    .new-section {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .new-text {
        font-size: 16px;
    }

    .new-btn {
        font-size: 16px;
        padding: 10px 15px;
    }
    
}

@media (max-width: 480px) {
    #the2_top_bar {
        padding: 10px;
    }
    .mobile-break {
        display: block; /* Show only on mobile */
    }

    #the2_top_bar img {
        width: 80px;
    }

    #textual h2 {
        font-size: 18px;
    }

    .countdown {
        gap: 6px;
    }

    .time-box {
        width: 80px;
        padding: 10px;
    }

    .time-box span {
        font-size: 30px;
    }

    .time-box p {
        font-size: 14px;
    }

    #logo {
        width: 70%;
    }

    .new-text {
        font-size: 14px;
    }

    .new-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}
/* Hamburger Menu Styling */
.hamburger-icon {
    font-size: 30px;
    color: white;
    cursor: pointer;
    display: none; /* Hidden by default, visible only on small screens */
}

/* Hide the menu on mobile and show on toggle */
#the2_top_bar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

#the2_top_bar ul li {
    margin-right: 15px;
}

/* Show the menu when hamburger is clicked */
#the2_top_bar.active ul {
    display: flex;
    flex-direction: column; /* Stack menu items vertically */
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    position: absolute;
    top: 60px; /* Account for top bar height */
    left: 0;
    padding: 20px 0;
    text-align: center;
}

#the2_top_bar.active ul li {
    margin: 10px 0; /* Adjust the margin between menu items */
}

/* Responsive design for tablets and mobile (max-width 768px) */
@media (max-width: 845px) {
    #the2_top_bar {
        flex-direction: column;
        justify-content: space-between;
        padding: 15px;
    }

    #the2_top_bar img {
        width: 80px;
    }

    .hamburger-icon {
        display: block; /* Show hamburger icon */
        position: absolute;
        right: 27px;
        top: 29px;
    }

    #the2_top_bar ul {
        display: none; /* Hide menu by default on mobile */
    }

    /* Adjustments for better readability on smaller screens */
    #content {
        padding: 10px;
    }
    #tagline{
        font-size: 16px;
    }
    #textual h2 {
        font-size: 20px;
    }

    .time-box {
        width: 100px;
        padding: 15px 10px;
    }

    .time-box span {
        font-size: 40px;
    }

    .time-box p {
        font-size: 16px;
    }

    .new-section {
        flex-direction: column;
        gap: 10px;
    }

    .new-text {
        font-size: 16px;
    }

    .new-btn {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #the2_top_bar img {
        width: 80px;
    }

    .time-box {
        width: 80px;
    }

    .time-box span {
        font-size: 30px;
    }
    #tagline {
        font-size: 7px;
    }
    .time-box p {
        font-size: 14px;
    }

    #logo {
        width: 70%;
    }

    .new-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}
/* Modal Styling */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 50%;
    border-radius: 10px;
    text-align: center;
  }
  
  .close {
    float: right;
    font-size: 24px;
    cursor: pointer;
  }
  
  /* Style inputs */
  form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
form button {
    padding: 10px 20px;
    background: #eaa924;
    color: #000000;
    border: none;
    cursor: pointer;
}
  

/* Modal container - hidden by default */
.modal {
  display: none; /* Hidden until triggered */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  z-index: 999;
  align-items: center;  /* Center content vertically */
  justify-content: center;  /* Center content horizontally */
}

/* Modal content */
.modal-content {
  position: relative; /* For positioning the close button */
  background: #222222;
    width: 75%;
    max-width: 100%;
    padding: 45px;
    border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-height: 80vh;
  overflow-y: auto;
  text-align: justify;
}

/* Close button positioned within modal-content */
.close {
    position: absolute;
    top: 0px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    color: #ffffff;
}

/* Styling for paragraphs */
.modal-content p {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Cards container */
.cards-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

/* Individual card styling */
.card {
  flex: 1;
  background: #000;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card h2 {
  color: #eaa924;
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  font-size: 18px;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    padding: 20px;
  }
  .cards-container {
    flex-direction: column;
  }
  .card {
    width: 100%;
    margin-bottom: 15px;
  }
}
@media screen and (min-width: 1920px) {
    #logo{
        max-width: 43%!important;
    }
}