@import "base.css";
@import "colors.css";

#header-filler {
    height: 10vh;
    width: 100%;
    position: relative;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999;
    box-shadow: 0 4px 10px -4px #1b0710;
    background-color: var(--murrey);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 10vh;
}

/* Logo */
nav .logo img {
    height: 8vh;
}

/* Menu */
nav ul.menu {
    display: flex;
    gap: 1rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul.menu li {
    display: inline-block;
}

nav ul.menu li.hidden {
    display: none;
}

nav ul.menu li a {
    text-decoration: none;
    color: white;
    font-family: 'Great Vibes', sans-serif;
    font-size: 2rem;
    padding: 0.5rem 1rem;
}

nav ul.menu li a:hover:not(.active) {
    color: var(--cream);
    animation: color-change ease-in-out .25s forwards;
}

nav ul.menu li a.active {
    text-decoration: underline;
}

/* Menu Toggle Button */
nav button.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Mobile Menu Styles */
@media screen and (max-width: 768px) {
    nav ul.menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 10vh;
        left: 0;
        right: 0;
        background-color: var(--murrey);
        text-align: center;
        padding: 1rem 0;
        box-shadow: 0 4px 10px -4px #1b0710;
    }

    nav ul.menu.menu-open {
        display: flex;
    }

    nav ul.menu li {
        margin: 0;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav button.menu-toggle {
        display: block;
    }
}