*{

    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}


.sidebar{
    position: fixed;
    right: 0px;
    width: 360px;
    height: 100%;
    background: #042331;
    transition: all .5s ease;
}

.sidebar header{
    font-size: 18px;
    color: white;
    text-align: center;
    line-height: 35px;
    background: #063146;
    user-select: none;
}

.sidebar ul a{
    display: block;
    height: 100%;
    width: 100%;
    line-height: 25px;
    font-size: 12px;
    color: white;
    padding-left: 10px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid black;
    translation: .4s;
}

.sidebar ul li:hover a{
    padding-left: 15px;
    font-size: 13px;
}

.sidebar ul a i{
    margin-right: 16px;
}


#check{
    display: none;
}

label #btn,label #cancel{
    position: fixed;
    cursor: pointer;
    background: #042331;
    border-radius: 3px;
}

label #btn{
    position: fixed;
      right: 40px;
    top: 65px;
    font-size: 55px;
    color: white;
    padding: 6px 12px;
    transition: all .5s;
}

label #cancel{
    position: fixed;
    z-index: 1111;
    right: 10px;
    top: 15px;
    font-size:36px;
    color:white;
    padding: 4px 9px;
    transition: all .5s ease;
}

#check:checked ~ .sidebar{
    right: -380px;
}

#check:checked ~ label #btn{
    right: 100px;

}

#check:checked ~ label #cancel{
    position: fixed;
    right: -300px;
}

#check:checked ~ section{
    margin-left: 250px;
}

section{
    background: url(bg.png) no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    transition: all .5s;
}