#menu-bar {
  display: none;
}

header label {
  float: right;
  font-size: 30px;
  margin: 25px 0;
  cursor: pointer;
}

.menu {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 1);
  transition: all 0.5s;
  transform: translateX(-100%);
}

#menu-bar:checked ~ .menu {
  transform: translateX(0%);
}

.menu a {
  display: block;
  color: #bbbbbb;
  height: 50px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: bold;
}

/* Starts Mobile version */
@media (max-width:1024px) {
  .menu a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Ends Mobile version */


/* Desktop version */
@media (min-width:1024px) {
  .menu {
    position: static;
    width: auto;
    height: auto;
    transform: translateX(0%);
    float: right;
    display: flex;
    font-weight: bold;
  }

  .menu a {
    margin-top: 15px;
    border: none;
  }

  .menu a:hover {
    border-bottom: solid 2px #bbbbbb;
    color: #ffffff;
  }

  header label {
    display: none;
  }
}
/* Desktop version */
