.dropdown:hover .dropdown-content {
    display: block;
    z-index: 900;
}

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

.our_values {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px 50px 20px 50px;
}

.value {
    background-color: #fff;
    width: 30%;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    padding: 10px;
}

h3 {
    color: #280505;
    font-family: 'Source Serif Pro';
    font-size: 18px;
    font-weight: bolder;
}

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

.mobile_nav_button {
    margin: 0 2px;
}

#upcoming_event_time {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}

.event_details {
    margin: 0 15px;
    line-height: 0.5;
}

#event_name {
    font-weight: bold;
}

.footer {
    background-color: antiquewhite;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 30px;
    text-align: center;
}

#sponsors_section {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.bottom_footer {
    background-color: #300808;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#footer_logo {
    padding-top: 5px;
    padding-left: 5px;
}

button {
    padding: 12px 15px;
    border-radius: 2px;
    font-size: 14px;
    font-family: 'Ek Mukta';
}

#red_fill,
#red_fill_hide,
.toggle_gallery button {
    background-color: green;
    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;
}

body {
    background-color: #FFFDFB;
    margin: 0px;
    overflow-x: hidden;
    font-family: 'Ek Mukta';
}

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


button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #7b2020;
    color: white;
    border: none;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #480e0e;
}

h3 {
    font-weight: bold;
}

.mobile-auth {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 10px;
    font-family: 'Ek Mukta';
    margin-left: 10px;
    margin-right: 10px;
}

.mobile_dropdown:hover .mobile_dropdown-content {
    display: block;
}

.responsive_navbar {
    width: 100%;
    background-color: #fbf7f7;
    color: #191717;
}

.responsive_nav_item {
    position: relative;
}

.nav-button {
    background: none;
    border: none;
    color: #191717;
    width: 100%;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
}

.nav-button:hover {
    background-color: #f1f1f1;
    text-decoration: underline;
}

.responsive_dropdown_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    font-family: 'Ek Mukta';
}

.responsive_dropdown_content a {
    display: block;
    color: #191717;
    padding: 10px;
    text-decoration: none;
    margin-left: 10px;
    font-size: 14px;
}

.responsive_dropdown_content a:hover {
    background-color: #f1f1f1;
}

.responsive_nav_item.active .responsive_dropdown_content {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.responsive_navbar {
    display: none;
}

.responsive_navbar.active {
    display: block;
}

.button_hide {
    display: none;
}

.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;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #7b2020;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #480e0e;
}


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

.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;
}

@media (max-width: 960px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 930px) {
    .our_values {
        flex-direction: column;
        gap: 10px;
    }

    .value {
        width: 90%;
        margin: auto;
    }

    .info_icon {
        width: 80px;
        height: 80px;
    }

    #interac {
        width: 160px;
    }
}

@media (max-width: 900px) {

    .nav_buttons,
    .account_buttons {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    #mobileNavbar {
        display: none;
        width: 100%;
        background-color: #fbf7f7;
    }

    #mobileNavbar.active {
        display: block;
    }

    .nav-button {
        background: none;
        border: none;
        color: #191717;
        width: 100%;
        padding: 10px;
        text-align: left;
        cursor: pointer;
        font-size: 16px;
    }

    .nav-button:hover {
        background-color: #f1f1f1;
    }
}

@media (max-width: 750px) {
    p {
        font-size: 14px;
    }

    li {
        font-size: 14px;
    }
}
