* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100vh;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #00000a;
}

.laser-saber {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 19vh;
  height: 5vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
  cursor: pointer;
  position: relative;
  top: 24vh;
}
.laser-saber__hilt {
  display: inline-block;
  width: 100%;
  height: 100%;
  -webkit-filter: brightness(0.33);
          filter: brightness(0.33);
  -webkit-transition: 1100ms;
  -o-transition: 1100ms;
  transition: 1100ms;
  -webkit-transition-timing-function: ease-in;
       -o-transition-timing-function: ease-in;
          transition-timing-function: ease-in;
  pointer-events: none;
  -o-object-fit: contain;
     object-fit: contain;
}
.laser-saber.--active .laser-saber__hilt {
  -webkit-transition: 1100ms;
  -o-transition: 1100ms;
  transition: 1100ms;
  -webkit-transition-timing-function: ease-out;
       -o-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
  -webkit-filter: brightness(1) drop-shadow(0px 0px 30px rgba(116, 250, 241, 0.2));
          filter: brightness(1) drop-shadow(0px 0px 30px rgba(116, 250, 241, 0.2));
}
.laser-saber__laser {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 0.8vh;
  height: 0;
  border-radius: 0 0 35% 35%;
  background-color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  -webkit-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
  -webkit-transform-origin: 50% 0%;
      -ms-transform-origin: 50% 0%;
          transform-origin: 50% 0%;
  -webkit-transition-timing-function: ease-in;
       -o-transition-timing-function: ease-in;
          transition-timing-function: ease-in;
  -webkit-transition: 1100ms;
  -o-transition: 1100ms;
  transition: 1100ms;
  -webkit-animation-delay: 700ms;
          animation-delay: 700ms;
  -webkit-box-shadow: 0 0 5px #74FAF1, 0 0 15px #74FAF1, 0 0 30px #74FAF1, 0 0 60px #74FAF1;
          box-shadow: 0 0 5px #74FAF1, 0 0 15px #74FAF1, 0 0 30px #74FAF1, 0 0 60px #74FAF1;
  position: absolute;
  top: 50%;
  left: 18vh;
}
.laser-saber.--active .laser-saber__laser {
  height: 50vh;
  background-color: white;
  -webkit-transition: 1100ms;
  -o-transition: 1100ms;
  transition: 1100ms;
  -webkit-animation-name: boom;
          animation-name: boom;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-transition-timing-function: ease-out;
       -o-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
  -webkit-animation-duration: 3100ms;
          animation-duration: 3100ms;
  -webkit-animation-delay: 700ms;
          animation-delay: 700ms;
}

@-webkit-keyframes boom {
  0% {
    -webkit-box-shadow: 0 0 5px #74FAF1, 0 0 10px #74FAF1, 0 0 20px #74FAF1, 0 0 40px #74FAF1, 0 0 60px #74FAF1, 0 0 80px rgba(116, 250, 241, 0.4), 0 0 100px rgba(116, 250, 241, 0.3), 0 0 120px rgba(116, 250, 241, 0.2);
            box-shadow: 0 0 5px #74FAF1, 0 0 10px #74FAF1, 0 0 20px #74FAF1, 0 0 40px #74FAF1, 0 0 60px #74FAF1, 0 0 80px rgba(116, 250, 241, 0.4), 0 0 100px rgba(116, 250, 241, 0.3), 0 0 120px rgba(116, 250, 241, 0.2);
  }
  42% {
    -webkit-box-shadow: 0 0 5px #74FAF1, 0 0 15px #74FAF1, 0 0 30px #74FAF1, 0 0 60px #74FAF1;
            box-shadow: 0 0 5px #74FAF1, 0 0 15px #74FAF1, 0 0 30px #74FAF1, 0 0 60px #74FAF1;
  }
  100% {
    -webkit-box-shadow: 0 0 5px #74FAF1, 0 0 10px #74FAF1, 0 0 20px #74FAF1, 0 0 40px #74FAF1, 0 0 60px #74FAF1, 0 0 80px rgba(116, 250, 241, 0.4), 0 0 100px rgba(116, 250, 241, 0.3), 0 0 120px rgba(116, 250, 241, 0.2);
            box-shadow: 0 0 5px #74FAF1, 0 0 10px #74FAF1, 0 0 20px #74FAF1, 0 0 40px #74FAF1, 0 0 60px #74FAF1, 0 0 80px rgba(116, 250, 241, 0.4), 0 0 100px rgba(116, 250, 241, 0.3), 0 0 120px rgba(116, 250, 241, 0.2);
  }
}

@keyframes boom {
  0% {
    -webkit-box-shadow: 0 0 5px #74FAF1, 0 0 10px #74FAF1, 0 0 20px #74FAF1, 0 0 40px #74FAF1, 0 0 60px #74FAF1, 0 0 80px rgba(116, 250, 241, 0.4), 0 0 100px rgba(116, 250, 241, 0.3), 0 0 120px rgba(116, 250, 241, 0.2);
            box-shadow: 0 0 5px #74FAF1, 0 0 10px #74FAF1, 0 0 20px #74FAF1, 0 0 40px #74FAF1, 0 0 60px #74FAF1, 0 0 80px rgba(116, 250, 241, 0.4), 0 0 100px rgba(116, 250, 241, 0.3), 0 0 120px rgba(116, 250, 241, 0.2);
  }
  42% {
    -webkit-box-shadow: 0 0 5px #74FAF1, 0 0 15px #74FAF1, 0 0 30px #74FAF1, 0 0 60px #74FAF1;
            box-shadow: 0 0 5px #74FAF1, 0 0 15px #74FAF1, 0 0 30px #74FAF1, 0 0 60px #74FAF1;
  }
  100% {
    -webkit-box-shadow: 0 0 5px #74FAF1, 0 0 10px #74FAF1, 0 0 20px #74FAF1, 0 0 40px #74FAF1, 0 0 60px #74FAF1, 0 0 80px rgba(116, 250, 241, 0.4), 0 0 100px rgba(116, 250, 241, 0.3), 0 0 120px rgba(116, 250, 241, 0.2);
            box-shadow: 0 0 5px #74FAF1, 0 0 10px #74FAF1, 0 0 20px #74FAF1, 0 0 40px #74FAF1, 0 0 60px #74FAF1, 0 0 80px rgba(116, 250, 241, 0.4), 0 0 100px rgba(116, 250, 241, 0.3), 0 0 120px rgba(116, 250, 241, 0.2);
  }
}