#navigation {
    position: fixed;
    width: 100%;
    height: 4.5rem;
    /* width: calc(100% - 8rem); */
    max-width: 1640px;
    display: flex;
    flex-direction: row;
    margin-top: 2rem;
    padding-left: 4rem;
    padding-right: 4rem;
    justify-content: space-between;
    align-items: start;
    z-index: 600;
}

#navigation-items {
    display: flex;
    flex-direction: row;
    height: 100%;
    padding: 0 2rem;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    /* isolation: isolate; */
    background: linear-gradient(180deg, rgba(0, 20, 39, 0.88) 0%, rgba(0, 8, 16, 0.88) 100%);
    box-shadow: 0px 32px 48px -40px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(24px);
    border-radius: 12px;
    overflow: hidden;
}

#navigation-items a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: rgba(0, 201, 254, 1);
}

#navigation-items a.active {
    color: rgba(255, 255, 255, 1);
}

#navigation-items a:hover:before {
    content: "";
    position: absolute;
    margin-top: 1.75rem;
    width: 100%;
    border-bottom: 2px solid rgba(243, 243, 243, 1);
    mix-blend-mode: color-dodge;
    box-shadow: 0px 0px 16px 4px rgba(194, 194, 194, 1);
}

#navigation-items a.active:before {
    content: "";
    position: absolute;
    margin-top: 1.75rem;
    width: 100%;
    border-bottom: 2px solid rgba(243, 243, 243, 1);
    mix-blend-mode: color-dodge;
    box-shadow: 0px 0px 16px 4px rgba(194, 194, 194, 1);
}

#nav-hideable-items,
#nav-visible-items {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    height: 100%;
    width: fit-content;
    align-items: center;
}

/* Underline for selected item, may not need box-shadow? */

#divider-nav {
    width: 1px;
    height: 1.5rem;
    background-color: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

#nav-menu-button {
    display: none;
}

/* Tablet */
@media (max-width: 991px) {
    #navigation {
        height: 4rem;
        padding: 0 3rem;
        margin-top: 1.5rem;
    }
}

/* Mobile (May actually want this a bit smaller in width) */
@media (max-width: 890px) {
    #navigation {
        padding: 0 1.5rem;
    }

    #navigation-items {
        padding-left: 1.5rem;
        padding-right: 1rem;
        flex-direction: column;
    }

    #nav-visible-items {
        order: 0;
    }

    #nav-hideable-items {
        display: none;
        order: 1;
    }

    #navigation-items.menu-active {
        height: fit-content;
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }

    /* Show nav-hideable-items when menu button is active */
    #navigation-items.menu-active #nav-hideable-items {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: fit-content;
        margin-bottom: 1rem;
        align-items: start;
    }

    #navigation-items a.active:before {
        margin-top: 1.25rem;
    }

    #hire-me-nav {
        order: 0;
    }

    #divider-nav {
        order: 1;
    }

    #nav-menu-button {
        display: flex;
        order: 2;
    }
}