:root {
    --bar-height: 72px;
    --color-primary: #3B3355;
    --color-primary-light: #8E8DBE;

}

body
{
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #8E8DBE;
}

.u-centered
{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
}

.navbarNavAltMarkup
{
    background-color: #3B3355;
}

.header
{
    display: none;
}

.bar
{
    background: #3B3355;
    width: 100%;
    height: var(--bar-height);
    box-shadow: 0 0 10px  rgba(0, 0, 0, 0.15);
    transition: background 0.15s;
}

.bar--bg
{
    background: var(--color-primary);
}

.bar__content
{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bar__logo
{
    height: 100%;
}

.bar__nav-toggle
{
    cursor: pointer;
}

.bar__nav-toggle > i 
{
    color: #ffffff;
    font-size: 2em;
}

#inpNavToggle
{
    display: none;
}

#inpNavToggle:checked ~ .nav
{
    display: flex;
}

.nav
{
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--bar-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--bar-height));
    padding: 32px;
    background: #3B3355;
    box-sizing: border-box;
}

.nav__link
{
    font-weight: 500;
    padding: 16px 0;
    text-decoration: none;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav__link:hover
{
    opacity: 0.8;
}

@media screen and (min-width: 767px)
{
    .bar__nav-toggle
    {
        display: none;
    }

    .nav
    {
        display: initial;
        position: static;
        width: unset;
        height: unset;
        padding: unset;
        background: transparent;
    }

    .nav__link
    {
        border-bottom: none;
    }

    .nav__link:not(:last-of-type)
    {
        margin-right: 24px;
    }
}
