* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font: 12px 'Open Sans', sans-serif;
    color: #212121;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100%;
}

input[data-function*='swipe'] {
    position: absolute;
    opacity: 0;
}

label[data-function*='swipe'] {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1;
    display: block;
    width: 42px;
    height: 42px;
    font: 42px fontawesome;
    text-align: center;
    color: #333;
    cursor: pointer;
    transform: translate3d(0, 0, 0);
    transition: transform .3s;
}

label[data-function*='swipe']:hover {
    color: #004424;
}

input[data-function*='swipe']:checked~label[data-function*='swipe'] {
    transform: translate3d(280px, 0, 0);
}

label[data-function*='swipe']:checked {
    display: block;
}

label:nth-child(2) {
    display: none;
}

input[data-function*='swipe']:checked~label:nth-child(2) {
    display: block;
    transform: translate3d(280px, 0px, 0px);
}

input[data-function*='swipe']:checked~label:nth-child(3) {
    display: none;
}

.headings {
    flex: 1;
    padding: 20px 30px;
    background: rgb(255, 255, 255);
    transform: translate3d(0, 0, 0);
    transition: transform .3s;
}

input[data-function*='swipe']:checked~.headings {
    transform: translate3d(80px, 0px, 0px);
}

input[data-function*='swipe']:checked~.sidebar {
    transform: translate3d(0px, 0px, 0px);
}

input[data-function*='swipe']:checked~.sidebar .menu li {
    width: 100%;
}

.sidebar {
    transform: translate3d(-280px, 0px, 0px);
    position: fixed;
    width: 280px;
    background: #2c2c2c;
    color: #eee;
    left: 0;
    height: 100%;
    transition: all .3s;
}

.menu li {
    padding: 5px;
    list-style: none;
    width: 0%;
    top: 100px;
}

.menu li a {
    color: #fff;
    border: 2px solid rgb(255, 255, 255);
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    display: block;
    text-decoration: none;
    padding: 5px 5px 5px 0;
    margin: 0 20px;
}

.menu li a:hover {
    background-color: #004424;

}

h1 {
    margin: 30px 0;
    font-size: 45px;
    font-weight: 280;
    text-align: center;
}

p {
    margin: 30px 0;
    position: fixed;
    font-size: 45px;
    font-weight: 280;
    font-size: 30px;
    left: 300px;
    right: 300px;
}