/* stylus */
.hamburger {
  cursor: pointer;
  padding: 0.5em;
  height: 2em;
  width: 2em;
  position: fixed;
  top: 0.54em;
  z-index: 6;
}
.line {
  margin-top: 1em;
  height: 2px;
  width: 2em;
  background-color: #000;
  position: absolute;
  top: 0;
  transition: 0 0.5s;
}
.line:nth-child(odd) {
  top: 0.5em;
  transition: 0.5s;
}
.line:nth-child(2) {
  top: 1em;
}
.menu {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  transition: 0.5s;
  z-index: -5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.menu a {
  text-decoration: none;
}
.menu .close {
  color: transparent;
  border: 1px solid transparent;
  height: 2em;
  width: 2em;
  position: absolute;
  top: 1em;
  left: 0.9em;
  transition: 0.5s 0.5s;
}
.menu .point {
  font-size: large;
  font-family: Arial, Helvetica, sans-serif;
  padding: 1em 0.5em;
  cursor: pointer;
  transition: 0.5s;
  text-align: center;
  background-color: #6495ed;
  flex: 1;
  align-content: center;
  border-bottom: 1px solid #add8e6;
  background-color: rgba(100,149,237,0.867);
  background-color: rgba(178,198,235,0.867);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu .point:visited {
  color: #333;
}
.menu .point:hover {
  background-color: rgba(178,198,235,0.933);
  opacity: 0.85 !important;
  box-shadow: 0 0 15px #333 inset;
}
.background {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(51,51,51,0.533);
  z-index: -1;
  opacity: 0;
  transition: 1s;
}
.hamburger:focus+.menu {
  left: 0;
  z-index: 5;
  box-shadow: 0 0 15px #808080;
}
.hamburger:focus+.menu .close {
  transition: 0.5s;
}
.hamburger:focus+.menu .close:hover {
  box-shadow: 0 0 15px rgba(221,221,221,0.867);
  cursor: pointer;
}
.hamburger:focus+.menu .point {
  opacity: 1;
}
.hamburger:focus+.menu+.background {
  z-index: 1;
  pointer-events: all;
  opacity: 0.5;
}
.hamburger:focus {
  pointer-events: none;
}
.hamburger:focus .line {
  background-color: #666;
}
.hamburger:focus .line:nth-child(even) {
  opacity: 0;
  transition: 0;
}
.hamburger:focus .line:nth-child(1) {
  transform: rotate(45deg);
}
.hamburger:focus .line:nth-child(3) {
  transform: rotate(-45deg);
}
@media screen and (max-width: 480px) {
  .menu {
    width: 100%;
    left: -100%;
  }
  .menu a {
    text-decoration: none;
  }
}
