@charset "utf-8";


nav {
  display: flex;
  align-items: center;
    margin-top: 10px;
    margin-left: 10px;
    padding: 10px;
    background-color: #000;
}
@media screen and (max-width: 200em) {
  nav nav {
    display: inline;
  }
}

.menu__box {
  display: flex;
  flex-direction: row;
  list-style-type: none;
}
@media screen and (max-width: 200em) {
  .menu__box {
    flex-direction: column;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    margin: -600px 0 0 0;
    padding: 0.6em 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 1px 0 6px rgba(0, 0, 0, 0.2);
    z-index: 5;
    transition-duration: 0.5s;
  }
}

.red {
  color: #f06c64;
}

.menu__item {
  display: flex;
  flex-direction: column;
  padding: 0 1em 0 1.9em;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}
@media screen and (max-width: 200em) {
  .menu__item {
    display: block;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 18px;
    transition-duration: 0.5s;
  }
  .menu__item:hover {
    background-color: #4f5464;
  }
}

#menu__toggle {
  opacity: 0;
    display: none;
}
#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
  background: #f06c64;
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
  background: #f06c64;
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
  margin: 0;
}

.menu__btn {
  transition-duration: 0.25s;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  position: relative;
  bottom: 2px;
  width: 30px;
  height: 26px;
  cursor: pointer;
  z-index: 6;
}
.menu__btn span {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #fff;
}
.menu__btn span::before {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #fff;
  content: "";
  top: -8px;
  transition-duration: 0.25s;
}
.menu__btn span::after {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #fff;
  content: "";
  top: 8px;
  transition-duration: 0.25s;
}
@media screen and (min-width: 200em) {
  .menu__btn {
    display: none;
  }
}