
    .nav {
  width: 270px;
}

.nav .menu-btn {
  position: absolute;
  top: 4rem;
  background: blue;
  transform: rotateY(45deg);
  color: #fff;
  height: 45px;
  width: 68px;
  z-index: 9999;
  border: 1px solid #333;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.9s ease;
}

.left-nav .menu-btn {
  left: 0;
}

.right-nav .menu-btn {
  right: 0;
}

.left-nav #left-btn:checked ~ .menu-btn {
  left: 270px;
}

.right-nav #right-btn:checked ~ .menu-btn {
  right: 270px;
}

.wrapper .menu-btn i {
  position: absolute;
  font-size: 23px;
  transition: all 0.9s ease;
}

.nav .menu-btn i.fa-times {
  opacity: 0;
}

.nav #left-btn:checked ~ .menu-btn i.fa-times,
.nav #right-btn:checked ~ .menu-btn i.fa-times {
  opacity: 1;
  transform: rotate(-180deg);
}

.nav #left-btn:checked ~ .menu-btn i.fa-bars,
.nav #right-btn:checked ~ .menu-btn i.fa-bars {
  opacity: 0;
  transform: rotate(180deg);
}

.nav .sidebar {
  position: fixed;
  min-height: 500px;
  background: rgb(40, 117, 168);
  height: 100%;
  width: 270px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 2;
}

.left-nav #leftSidebar {
  left: -270px;
}

.right-nav #rightSidebar {
  right: -270px;
}

.left-nav #left-btn:checked ~ #leftSidebar {
  left: 0;
}

@media screen and (min-width: 768px) {
  .left-nav #left-btn:checked ~ #leftSidebar {
    position: relative;
  }
}

.right-nav #right-btn:checked ~ #rightSidebar {
  right: 0;
}

@media screen and (min-width: 768px) {
  .right-nav #right-btn:checked ~ #rightSidebar {
    position: relative;
  }
}

.nav #leftSidebar .list-items,
.nav #rightSidebar .list-items {
  position: relative;
  background: white;
  width: 100%;
  height: 100%;
  list-style: none;
}

.nav .sidebar .list-items li {
  padding-left: 40px;
  line-height: 50px;
  border-top: 1px solid blue;
  transition: all 0.3s ease;
    background: linear-gradient(to right, blue 50% , white 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
}

.nav .sidebar .list-items li:hover {
  background-position: left;
}

.nav .sidebar .list-items a:hover {
  color: white;
}

.nav .sidebar .list-items li:first-child {
  border-top: 1px solid blue;
}

.nav .sidebar .list-items li a {
  color: blue;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  height: 100%;
  width: 100%;
  display: block;
}

.nav .sidebar .list-items li a i {
  margin-right: 20px;
}

.nav .sidebar .list-items .icons {
  width: 100%;
  height: 40px;
  text-align: center;
  position: absolute;
  bottom: 100px;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav .sidebar .list-items .icons a {
  height: 100%;
  width: 40px;
  display: block;
  margin: 0 5px;
  font-size: 18px;
  color: blue;
  background: rgb(40, 117, 168);
  border-radius: 5px;
  border: 1px solid #383838;
  transition: all 0.3s ease;
}

.nav .list-items fa-home {
  background-color: rgb(40, 117, 168);
}
.left-nav, .dropdown-btn {
/*  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  color: #818181;
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;*/
 color: blue;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  height: 100%;
  width: 100%;
  display: block;
}

/* On mouse-over */

/* Main content */
/*.main {
  margin-left: 200px;  Same as the width of the sidenav 
  font-size: 20px;  Increased text to enable scrolling 
  padding: 0px 10px;
}*/

/* Add an active class to the active dropdown button */
/*.active {
  background-color: green;
  color: white;
}*/

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #262626;
  padding-left: 8px;
}
.nav, .left-nav .dropdown-btn li a {
    color: blue;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  height: 100%;
  width: 100%;
  display: block;  
}
