:root {
    --navbar-height: 80px;
    --header-img-height: 70px;
    --header-img-width: 133px;
    /* Scaled proportionally from original 60:114 ratio */
}


/* General Page Setup */

body,
html {
    height: 85%;
    margin: 0;
    /* padding-top: 30px; */
    /* Match var(--navbar-height) navbar height */
    font-family: Arial, Helvetica, sans-serif;
}


/* Navigation Bar */

.l1 {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    /* Changed to allow dropdown overflow */
    background-color: #40263b;
    height: var(--navbar-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.l1.nav-hidden {
    transform: translateY(-100%);
}

.l1 li {
    float: left;
}

li button,
.dropbtn1 {
    border: none;
    padding: 0px 15px;
    display: inline-block;
    color: white;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    background-color: #40263b;
    height: var(--navbar-height);
    width: 100%;
}


/* Dropdown Menu */

li.dropdown {
    transition: ease-in-out 0.5s;
    display: inline-block;
}

.dropdown-content {
    transition: all 0.3s ease;
    position: fixed;
    background-color: #f9f9f9;
    width: 100%;
    left: 0;
    z-index: 1001;
    top: var(--navbar-height);
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    border-bottom: 3px solid #5e3356;
    /* Purple accent bar */
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.dropdown-content a {
    transition: background-color ease-in-out 0.1s;
    color: black;
    text-decoration: none;
    display: block;
    text-align: left;
    cursor: pointer;
    padding: 10px 10px;
    /* border-radius: 20px;*/
    /*Gives rounded edges when hovering over dropdown items */
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}


/* Navigation Items */

.NavItem {
    display: flex;
    height: 100%;
    width: 100%;
    font-size: x-large;
    justify-content: center;
    align-items: center;
}

.NavItem button {
    transition: ease-in-out 0.2s;
}

.NavItem button:hover {
    background-color: #332333;
}


/* Header Images */

#img1 {
    padding-top: 5px;
    padding-left: 5px;
    height: var(--header-img-height);
    width: var(--header-img-width);
    position: absolute;
}