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

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

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

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

.navbar a {
    text-decoration: none;
}

.navbar-inner {
    height: 100%;
    width: 100%;

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

/* 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;
}

/* element */
.nav-button {
    padding-top: 0;
    padding-bottom: 0;
    height: 40px;
    line-height: 40px;
    color: rgba(0, 0, 0, 0.5);
}

.nav-button:hover {
    color: rgba(0, 0, 0, 0.75);
    transition: all 200ms ease-in-out;
}

.nav-button.active {
    color: rgba(0, 0, 0, 1);
}

/* brand rules */
.brand-container {
    height: 100%;
    display: flex;

    align-items: center;
}

.brand-logo {
    height: 3rem;
}

.brand-logo img {
    height: 100%;
}

.brand-name {
    font-family: var(--brand-font), serif !important;
    font-weight: bold;
    font-size: 1.5rem;
    margin-left: 0.5rem;

    color: var(--text);
    text-wrap: nowrap;
}

/* 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 section */
    .navbar-section {
        justify-content: center;
    }

    /* 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%;
    }
}

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

}

/* xs screen */
@media only screen and (max-width: 576px) {
    .brand-name.brand-name-nav {
        display: none;
    }
}