/* main nav rules */
.navbar {
    /* proportions */
    width: 100%;
    height: 4rem;
    padding: 0;

    /* font */
    font-size: 1.25rem;

    /* colors */
    background-color: var(--nav-color);
    border-bottom: 1px solid var(--gray);

    position: sticky;
    top: 0;
    z-index: 1010;
}

.navbar a {
    text-decoration: none;
}

.navbar-inner {
    height: 100%;
    width: 100%;
    max-width: var(--page-w);
    margin: auto;

    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

/* nav buttons (used in navbar and sidebar) */
.nav-button-a {
    text-decoration: none;
}

.nav-button {
    padding: 0.5rem;
    order: 1;

    height: 3rem;

    display: flex;
    flex: 1 1 auto;
    align-items: center;

    color: var(--text-inactive);
    font-family: var(--main-font), sans-serif;

    text-wrap: nowrap;

    cursor: pointer;

    user-select: none;
}

.nav-button:hover {
    color: var(--text-light);
    transition: color 200ms ease-in-out;
}

.nav-button.active {
    color: var(--text);
}

.nav-button .label {
    order: 1;
}

.nav-button .icon {
    order: 2;

    padding-left: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* dropdown */
.nav-button-container {
    position: relative;
}

.dropdown-container {
    position: absolute;
    display: none;

    background-color: var(--white);
    border: 2px solid var(--gray);
    padding: 0 2rem;
}

.nav-button-container:hover .dropdown-container {
    display: block;
}

/* button container */
.navbar-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    order: 1;
    flex: 1 1 auto;

    height: auto;
}

/* main navbar position */
.navbar-section.left {
    order: 0;
    flex: 0 0 auto;
    margin: 0;
}

.navbar-section.right {
    order: 2;
    flex: 0 0 auto;
    margin: 0;
}

/* responsive buttons */
.responsive-menu-button {
    flex: 0 0 auto;
    display: none;
    padding: 0 0.5rem;
    cursor: pointer;
    font-size: 2rem;
}

.responsive-menu-button i {
    padding: 0;
}

.navbar-section.responsive-section {
    order: 10;
}

/* Responsiveness */
/* lg screen */
@media only screen and (max-width: 1200px) {

}

/* md screen */
@media only screen and (max-width: 992px) {
    /* navbar main */
    .navbar {
        height: unset;
    }

    .navbar-inner {
        flex-wrap: wrap;
    }

    /* navbar buttons within sections  */
    .navbar-section .nav-button {
        margin-left: auto;
        margin-right: auto;
    }

    /* buttons that activate responsive menu's */
    .responsive-menu-button {
        display: flex;
        margin: 0;
    }

    /* responsive section */
    .responsive-section.compress {
        overflow: hidden;
        height: 0;
    }

    .responsive-section {
        justify-content: left;
        overflow: hidden;
        transition: height .2s ease-in-out;
        flex-basis: 100%;
        align-items: start;
        flex-direction: column;
    }

    .responsive-section.right {
        flex-basis: 100%;
    }

    /* dropdown responsive */
    .nav-button .icon {
        padding-left: 0;
        padding-right: 0.5rem;
        order: 0;
    }

    .dropdown-container {
        position: unset;
        display: block;
        background-color: unset;
        border: unset;

        padding: 0 0 0 3rem;
    }
}

/* sm screen */
@media only screen and (max-width: 768px) {

}

/* xs screen */
@media only screen and (max-width: 576px) {

}