@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500');

* {

  list-style: none;
  text-decoration: none;
}

body {
  font-family: 'Roboto', sans-serif;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #042331;
  transition: all 0.5s ease;
  z-index: 22;
  overflow-y: scroll;
}


.sidebar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #fff;
  background-image: #000;
  border-radius: 3px;
}

.sidebar header {
  font-size: 22px;
  color: white;
  line-height: 70px;
  text-align: center;
  background: #063146;
  user-select: none;
}

.sidebar ul a {
  display: block;
  height: 100%;
  width: 100%;
  line-height: 65px;
  font-size: 20px;
  color: white;
  padding-left: 40px;
  box-sizing: border-box;
  border-bottom: 1px solid black;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.4s;
}

ul li:hover a {
  padding-left: 50px;
}

.sidebar ul a i {
  margin-right: 16px;
}

/* Hide the checkbox input */
#check {
  display: none;
}

/* Button styles */
label #btn,
label #cancel {
  position: absolute;
  background: #042331;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.5s;
}

label #btn {
  left: 40px;
  top: 25px;
  font-size: 35px;
  color: white;
  padding: 6px 12px;
}

label #cancel {
  z-index: 1111;
  left: -195px;
  top: 24px;
  font-size: 30px;
  color: #fff;
  padding: 4px 9px;
}

/* Sidebar open/close transitions */
#check:checked~.sidebar {
  left: 0;
}

#check:checked~label #btn {
  left: 250px;
  opacity: 0;
  pointer-events: none;
}

#check:checked~label #cancel {
  left: 195px;
}

#check:checked~section {
  margin-left: 250px;
}

/* Fix position for icons */
i#cancel,
i#btn {
  position: fixed;
  z-index: 99;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
  .sidebar {
    left: -250px;
    width: 250px;
  }
}