body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    position: fixed;
    background: #22242a;
    padding: 20px;
    width: 100%;
    height: 30px;
}

header h2 {
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    text-size-adjust: 22px;
}

header span {
    color: #1Dc4e7;
}

header a {
    padding: 5px 10px;
    background: #19b3d3;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    float: right;
    margin: -30px 40px 0 0;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    transition: .5s ease-in-out;
    transition-property: background;
}

header a:hover {
    background: #1391aa;
}

.sidebar {
    background: #2f323a;
    margin-top: 70px;
    position: fixed;
    left: 0;
    width: 250px;
    height: 100%;
    transition: .5s;
    transition-property: left;
}

.sidebar a {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
    line-height: 50px;
    padding-left: 30px;
    box-sizing: border-box;
    transition: .5s;
    transition-property: background;
}

.sidebar a:hover {
    background: #19b3d3;
}

.sidebar i {
    padding-right: 10px;
}

label #sidebar_but {
    z-index: 1;
    color: #fff;
    position: fixed;
    cursor: pointer;
    left: 300px;
    font-size: 20px;
    margin: 4px 0;
    transition: .5s;
    transition-property: color;
}

label #sidebar_but:hover {
    color: #19b3d3;
}

#check:checked~.sidebar {
    left: -190px;
}

#check:checked~.sidebar a span {
    display: none;
}

#check:checked~.sidebar a {
    font-size: 20px;
    margin-left: 179px;
    width: 71px;
}

.bg {
    margin-left: 250px;
    height: 100vh;
    background: url('../img/bg.png');
    /* background-size: cover; */
    transition: .5s;
    transition-property: margin-left;
}

#check:checked~.bg {
    margin-left: 60px;
}

#check {
    display: none;
}