.red_fill a,
.red_fill_hide a {
    text-decoration: none;
    color: white;
}

.red_fill,
.red_fill_hide {
    background-color: #7b2020;
    color: white;
    border-style: none;
}

.red_fill:hover,
.red_fill_hide:hover {
    background-color: #480e0e;
    cursor: pointer;
}

.red_fill_hide {
    display: none;
}

.red_outline {
    border-width: 1px;
    background-color: #fbf7f7;
    border-color: #7b2020;
    color: #7b2020;
}

.red_outline:hover {
    cursor: pointer;
    background-color: #7b2020;
    color: white;
}

.mobile_nav_button {
    margin: 0 2px;
}

.get_involved_buttons {
    display: inline-block;
    background-color: #7b2020;
    border-width: 2px;
    border-color: #FFFDFB;
    color: #FFFDFB;
    font-size: 18px;
    border-style: solid;
    text-decoration: none;
    padding: 12px 15px;
    font-family: 'Ek Mukta';
    border-radius: 2px;
    text-align: center;
}

.get_involved_buttons:hover {
    cursor: pointer;
    background-color: #fbf7f7;
    color: #7b2020 !important;
    text-decoration: none;
}

body {
    margin: 0px;
    overflow-x: hidden;
}

p {
    font-family: 'Ek Mukta';
}

.overlay,
.register_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.login-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    width: 300px;
}

.form-link {
    text-align: left;
    display: block;
}

.form-link a {
    font-size: 14px;
    text-decoration: underline;
    color: #7b2020;
    padding: 0;
}

.form-link a:hover {
    color: black;
}

.form-link p {
    font-size: 14px;
}

label {
    display: block;
    text-align: left;
}

#nextBtn,
#prevBtn,
#nextBtnMobile,
#prevBtnMobile {
    padding: 10px 20px;
    background-color: #7b2020;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

input.invalid,
select.invalid,
textarea.invalid {
    border: 2px solid red;
}

/* Progress bar styles */
.progress-container {
    width: 100%;
    background-color: #ccc;
    border-radius: 4px;
    height: 8px;
    margin: 20px 0;
}

.progress-bar {
    height: 8px;
    background-color: #7b2020;
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease-in-out;
}

.tab {
    display: none;
}

.form-header {
    font-size: 18px;
}

.form-div {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.form-checkbox,
.form-confirm {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 14px;
}

.page_header {
    margin-left: 15px;
    margin-top: 5px;
}

.event_name {
    margin-left: 15px;
    font-family: 'Source Serif Pro';
}

.video-container {
    aspect-ratio: 16 / 9;
    width: 90%;
    margin: 0 auto;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
  }
  
  .video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  @media (min-width: 900px) {
    .video-container {
      width: 65%;
    }
  }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-left: 15px;
    margin-right: 15px;
}

@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 750px) {
    .get_involved {
        display: flex;
        flex-direction: column;
    }

    #sponsors_section {
        display: flex;
        flex-direction: column;
    }

    .button_hide {
        display: block;
    }

    .red_fill_hide {
        display: block;
    }
}

.image-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #ccc;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.extra {
    display: none;
}

.view-more-btn {
    margin: 20px;
    display: block;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.lightbox-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 2rem;
}

.lightbox-arrow {
    font-size: 50px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    pointer-events: all;
    user-select: none;
}

.close-lightbox {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}


.toggle_gallery {
    margin: 15px;
}
