@charset "utf-8";
/* CSS Document */

.btn-menu {
  position: relative;
  background: #444;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  letter-spacing: 0.1rem;
  font-size: 1rem;
  padding: 1em 2em;
  height: 4em;	
  transition: 0.2s;
}

.btn-menu:hover {
  letter-spacing: 0.2rem;
  padding: 1.1rem 3.1rem;
  background: var(--clr);
  color: var(--clr);
  /* box-shadow: 0 0 35px var(--clr); */
  animation: box 3s infinite;
  cursor: pointer;
}

.btn-menu::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #272822;
}

.btn-menu span {
  position: relative;
  z-index: 1;
}
.btn-menu i {
  position: absolute;
  inset: 0;
  display: block;
}

.btn-menu i::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  left: 80%;
  top: -2px;
  border: 2px solid var(--clr);
  background: #272822;
  transition: 0.2s;
}

.btn-menu:hover i::before {
  width: 15px;
  left: 20%;
  animation: move 3s infinite;
}

.btn-menu i::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  left: 20%;
  bottom: -2px;
  border: 2px solid var(--clr);
  background: #272822;
  transition: 0.2s;
}

.btn-menu:hover i::after {
  width: 15px;
  left: 80%;
  animation: move 3s infinite;
}

@keyframes move {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes box {
  0% {
    box-shadow: #27272c;
  }
  50% {
    box-shadow: 0 0 25px var(--clr);
  }
  100% {
    box-shadow: #27272c;
  }
}


