nav {
    width: 15rem;
    height: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0rem 0.5rem;
    border-right: 1px solid lightgray;
}
nav ~ .container {
    margin-left:16rem;
    width: auto;
    height: 100%;
}

nav input {
    position: absolute;
    clip: rect(0 0 0 0);
}

nav li {
    background: white;
}

nav li.active a {
    background: #eeeeef;
}

nav ul {
    position: relative;
    overflow: hidden;
}

nav > ul > li {
    margin-top: 1rem;
}

nav ul ul > li {
    height: 1.89rem;
}

nav .spacer {
    position: relative;
    float: left;
    width: 1px;
}

nav .spacer ~ li {
    position: absolute;
    top: 0;
    width: 100%;
    box-sizing: border-box;
}

nav .spacer:first-child:nth-last-child(2) {
    height: 1.89rem;
}

nav .spacer:first-child:nth-last-child(3) {
    height: 3.78rem;
}

nav .spacer:first-child:nth-last-child(3) ~ li:nth-child(3) {
    top: 50%;
}

nav .spacer:first-child:nth-last-child(4) {
    height: 5.67rem;
}

nav .spacer:first-child:nth-last-child(4) ~ li:nth-child(3) {
    top: 33.33333%;
}

nav .spacer:first-child:nth-last-child(4) ~ li:nth-child(4) {
    top: 66.66667%;
}

nav .spacer:first-child:nth-last-child(5) {
    height: 7.56rem;
}

nav .spacer:first-child:nth-last-child(5) ~ li:nth-child(3) {
    top: 25%;
}

nav .spacer:first-child:nth-last-child(5) ~ li:nth-child(4) {
    top: 50%;
}

nav .spacer:first-child:nth-last-child(5) ~ li:nth-child(5) {
    top: 75%;
}

nav .spacer:first-child:nth-last-child(6) {
    height: 9.45rem;
}

nav .spacer:first-child:nth-last-child(6) ~ li:nth-child(3) {
    top: 20%;
}

nav .spacer:first-child:nth-last-child(6) ~ li:nth-child(4) {
    top: 40%;
}

nav .spacer:first-child:nth-last-child(6) ~ li:nth-child(5) {
    top: 60%;
}

nav .spacer:first-child:nth-last-child(6) ~ li:nth-child(6) {
    top: 80%;
}

nav .spacer:first-child:nth-last-child(7) {
    height: 11.34rem;
}

nav .spacer:first-child:nth-last-child(7) ~ li:nth-child(3) {
    top: 16.66667%;
}

nav .spacer:first-child:nth-last-child(7) ~ li:nth-child(4) {
    top: 33.33333%;
}

nav .spacer:first-child:nth-last-child(7) ~ li:nth-child(5) {
    top: 50%;
}

nav .spacer:first-child:nth-last-child(7) ~ li:nth-child(6) {
    top: 66.66667%;
}

nav .spacer:first-child:nth-last-child(7) ~ li:nth-child(7) {
    top: 83.33333%;
}

nav .spacer:first-child:nth-last-child(8) {
    height: 13.23rem;
}

nav .spacer:first-child:nth-last-child(8) ~ li:nth-child(3) {
    top: 14.28571%;
}

nav .spacer:first-child:nth-last-child(8) ~ li:nth-child(4) {
    top: 28.57143%;
}

nav .spacer:first-child:nth-last-child(8) ~ li:nth-child(5) {
    top: 42.85714%;
}

nav .spacer:first-child:nth-last-child(8) ~ li:nth-child(6) {
    top: 57.14286%;
}

nav .spacer:first-child:nth-last-child(8) ~ li:nth-child(7) {
    top: 71.42857%;
}

nav .spacer:first-child:nth-last-child(8) ~ li:nth-child(8) {
    top: 85.71429%;
}

nav .spacer:first-child:nth-last-child(9) {
    height: 15.12rem;
}

nav .spacer:first-child:nth-last-child(9) ~ li:nth-child(3) {
    top: 12.5%;
}

nav .spacer:first-child:nth-last-child(9) ~ li:nth-child(4) {
    top: 25%;
}

nav .spacer:first-child:nth-last-child(9) ~ li:nth-child(5) {
    top: 37.5%;
}

nav .spacer:first-child:nth-last-child(9) ~ li:nth-child(6) {
    top: 50%;
}

nav .spacer:first-child:nth-last-child(9) ~ li:nth-child(7) {
    top: 62.5%;
}

nav .spacer:first-child:nth-last-child(9) ~ li:nth-child(8) {
    top: 75%;
}

nav .spacer:first-child:nth-last-child(9) ~ li:nth-child(9) {
    top: 87.5%;
}

nav .spacer:first-child:nth-last-child(10) {
    height: 17.01rem;
}

nav .spacer:first-child:nth-last-child(10) ~ li:nth-child(3) {
    top: 11.11111%;
}

nav .spacer:first-child:nth-last-child(10) ~ li:nth-child(4) {
    top: 22.22222%;
}

nav .spacer:first-child:nth-last-child(10) ~ li:nth-child(5) {
    top: 33.33333%;
}

nav .spacer:first-child:nth-last-child(10) ~ li:nth-child(6) {
    top: 44.44444%;
}

nav .spacer:first-child:nth-last-child(10) ~ li:nth-child(7) {
    top: 55.55556%;
}

nav .spacer:first-child:nth-last-child(10) ~ li:nth-child(8) {
    top: 66.66667%;
}

nav .spacer:first-child:nth-last-child(10) ~ li:nth-child(9) {
    top: 77.77778%;
}

nav .spacer:first-child:nth-last-child(10) ~ li:nth-child(10) {
    top: 88.88889%;
}

nav .spacer:first-child:nth-last-child(11) {
    height: 18.9rem;
}

nav .spacer:first-child:nth-last-child(11) ~ li:nth-child(3) {
    top: 10%;
}

nav .spacer:first-child:nth-last-child(11) ~ li:nth-child(4) {
    top: 20%;
}

nav .spacer:first-child:nth-last-child(11) ~ li:nth-child(5) {
    top: 30%;
}

nav .spacer:first-child:nth-last-child(11) ~ li:nth-child(6) {
    top: 40%;
}

nav .spacer:first-child:nth-last-child(11) ~ li:nth-child(7) {
    top: 50%;
}

nav .spacer:first-child:nth-last-child(11) ~ li:nth-child(8) {
    top: 60%;
}

nav .spacer:first-child:nth-last-child(11) ~ li:nth-child(9) {
    top: 70%;
}

nav .spacer:first-child:nth-last-child(11) ~ li:nth-child(10) {
    top: 80%;
}

nav .spacer:first-child:nth-last-child(11) ~ li:nth-child(11) {
    top: 90%;
}

nav input ~ ul > li {
    transition: ease-in-out 500ms 1ms opacity, ease-in-out 500ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li.spacer:first-child {
    height: 0;
}

nav input ~ ul > li a {
    border-bottom: solid .05rem #eeeeef;
    transition: ease-in-out 500ms border-color;
}

nav input + label .far {
    transform: translateY(-50%);
    transition: ease-in-out 500ms transform;
}

nav input:checked ~ ul > li {
    visibility: hidden;
    opacity: 0;
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav input:checked ~ ul > li.spacer:first-child {
    height: 0;
}

nav input:checked ~ ul > li a {
    border-color: transparent;
}

nav input:checked + label .far {
    transform: translateY(-50%) rotateZ(-90deg);
}

nav input ~ ul > li:first-child:nth-last-child(1),
nav input ~ ul > li:first-child:nth-last-child(1) ~ li {
    transition: ease-in-out 100ms 1ms opacity, ease-in-out 100ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(1) a,
nav input ~ ul > li:first-child:nth-last-child(1) ~ li a {
    transition: ease-in-out 100ms border-color;
}

nav input:checked ~ ul > li:first-child:nth-last-child(1),
nav input:checked ~ ul > li:first-child:nth-last-child(1) ~ li {
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(2),
nav input ~ ul > li:first-child:nth-last-child(2) ~ li {
    transition: ease-in-out 200ms 1ms opacity, ease-in-out 200ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(2) a,
nav input ~ ul > li:first-child:nth-last-child(2) ~ li a {
    transition: ease-in-out 200ms border-color;
}

nav input:checked ~ ul > li:first-child:nth-last-child(2),
nav input:checked ~ ul > li:first-child:nth-last-child(2) ~ li {
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(3),
nav input ~ ul > li:first-child:nth-last-child(3) ~ li {
    transition: ease-in-out 300ms 1ms opacity, ease-in-out 300ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(3) a,
nav input ~ ul > li:first-child:nth-last-child(3) ~ li a {
    transition: ease-in-out 300ms border-color;
}

nav input:checked ~ ul > li:first-child:nth-last-child(3),
nav input:checked ~ ul > li:first-child:nth-last-child(3) ~ li {
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(4),
nav input ~ ul > li:first-child:nth-last-child(4) ~ li {
    transition: ease-in-out 400ms 1ms opacity, ease-in-out 400ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(4) a,
nav input ~ ul > li:first-child:nth-last-child(4) ~ li a {
    transition: ease-in-out 400ms border-color;
}

nav input:checked ~ ul > li:first-child:nth-last-child(4),
nav input:checked ~ ul > li:first-child:nth-last-child(4) ~ li {
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(6),
nav input ~ ul > li:first-child:nth-last-child(6) ~ li {
    transition: ease-in-out 600ms 1ms opacity, ease-in-out 600ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(6) a,
nav input ~ ul > li:first-child:nth-last-child(6) ~ li a {
    transition: ease-in-out 600ms border-color;
}

nav input:checked ~ ul > li:first-child:nth-last-child(6),
nav input:checked ~ ul > li:first-child:nth-last-child(6) ~ li {
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(7),
nav input ~ ul > li:first-child:nth-last-child(7) ~ li {
    transition: ease-in-out 700ms 1ms opacity, ease-in-out 700ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(7) a,
nav input ~ ul > li:first-child:nth-last-child(7) ~ li a {
    transition: ease-in-out 700ms border-color;
}

nav input:checked ~ ul > li:first-child:nth-last-child(7),
nav input:checked ~ ul > li:first-child:nth-last-child(7) ~ li {
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(8),
nav input ~ ul > li:first-child:nth-last-child(8) ~ li {
    transition: ease-in-out 800ms 1ms opacity, ease-in-out 800ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(8) a,
nav input ~ ul > li:first-child:nth-last-child(8) ~ li a {
    transition: ease-in-out 800ms border-color;
}

nav input:checked ~ ul > li:first-child:nth-last-child(8),
nav input:checked ~ ul > li:first-child:nth-last-child(8) ~ li {
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(9),
nav input ~ ul > li:first-child:nth-last-child(9) ~ li {
    transition: ease-in-out 900ms 1ms opacity, ease-in-out 900ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(9) a,
nav input ~ ul > li:first-child:nth-last-child(9) ~ li a {
    transition: ease-in-out 900ms border-color;
}

nav input:checked ~ ul > li:first-child:nth-last-child(9),
nav input:checked ~ ul > li:first-child:nth-last-child(9) ~ li {
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(10),
nav input ~ ul > li:first-child:nth-last-child(10) ~ li {
    transition: ease-in-out 1000ms 1ms opacity, ease-in-out 1000ms 1ms height, ease-in-out 0ms visibility;
}

nav input ~ ul > li:first-child:nth-last-child(10) a,
nav input ~ ul > li:first-child:nth-last-child(10) ~ li a {
    transition: ease-in-out 1000ms border-color;
}

nav input:checked ~ ul > li:first-child:nth-last-child(10),
nav input:checked ~ ul > li:first-child:nth-last-child(10) ~ li {
    transition: ease-in-out 500ms opacity, ease-in-out 500ms height, ease-in-out 0ms 500ms visibility;
}

nav a {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
    padding: 0.5rem 0.5rem 0.5rem calc(1rem + 1.1rem);
    box-sizing: border-box;
}

nav a .far {
    position: absolute;
    top: calc(50% - .05rem);
    left: 0.5rem;
    font-size: 1.4em;
    text-align: center;
    width: 1.1rem;
    transform: translateY(-50%);
}

nav a:active {
    background: none;
}

nav a:hover {
    background: #eeeeef;
}

nav a::before {
    content: '';
    position: absolute;
    top: .1rem;
    right: .1rem;
    bottom: .1rem;
    left: .1rem;
}

nav a:focus::before {
    border: dotted .05rem currentColor;
}

nav label {
    position: relative;
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    margin-bottom: 0px;
}

nav label .far {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    font-size: 0.8rem;
    color: #c3c3c3;
}

nav label::before {
    content: '';
    position: absolute;
    top: .1rem;
    right: .1rem;
    bottom: .15rem;
    left: .1rem;
}

nav input:focus + label::before {
    border: dotted .05rem currentColor;
}

nav .current-user {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: 0.5rem;
    border: .05rem #eeeeef;
    border-style: solid none;
}

nav .current-user .current-user-avatar {
    position: relative;
    color: white;
    width: 3.333em;
    height: 3.333em;
    border-radius: 50%;
    margin-right: 0.5rem;
    background: #37ae83;
}

nav .current-user .current-user-avatar .far {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0;
    transform: translate(-50%, -50%);
}

nav .current-user .current-user-name {
    flex-grow: 1;
}

nav .current-user .far {
    position: static;
    padding: 0 0 0 0.5rem;
    transform: none;
}

nav button.current-user {
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0.5rem;
    margin: 0;
    width: 100%;
    text-align: inherit;
}

nav button.current-user:hover {
    background: #eeeeef;
}

nav button.current-user:active {
    background: none;
}

nav button.current-user .far {
    position: static;
    padding: 0 0 0 0.5rem;
    transform: none;
    font-size: 1.4em;
}

nav .logo {
    display: block;
    padding: 1rem;
}

nav .logo img {
    display: block;
    width: 100%;
    height: auto;
}

nav .logo:hover {
    background: none;
}
