.laser-color {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100px;
  height: 30px;
  position: absolute;
  right: 20px;
  top: 20px;
}
.laser-color__item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 30px;
}
.laser-color__item[data-color=green] {
  background-color: green;
}
.laser-color__item[data-color=blue] {
  background-color: blue;
}
.laser-color__item[data-color=turquoise] {
  background-color: turquoise;
}

* {
  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;
  overflow: hidden;
  cursor: none;
}

.laser-saber-movable {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 5vh;
  height: 19vh;
  -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: translate(-50%, -70%);
      -ms-transform: translate(-50%, -70%);
          transform: translate(-50%, -70%);
  cursor: pointer;
  -webkit-transition: -webkit-transform 400ms;
  transition: -webkit-transform 400ms;
  -o-transition: transform 400ms;
  transition: transform 400ms;
  transition: transform 400ms, -webkit-transform 400ms;
  cursor: none;
  position: absolute;
}
.laser-saber-movable.--right {
  -webkit-transform: rotate(-20deg) translate(-50%, -70%);
      -ms-transform: rotate(-20deg) translate(-50%, -70%);
          transform: rotate(-20deg) translate(-50%, -70%);
}
.laser-saber-movable.--left {
  -webkit-transform: rotate(20deg) translate(-50%, -70%);
      -ms-transform: rotate(20deg) translate(-50%, -70%);
          transform: rotate(20deg) translate(-50%, -70%);
}
.laser-saber-movable.--rightX2 {
  -webkit-transition: -webkit-transform 200ms;
  transition: -webkit-transform 200ms;
  -o-transition: transform 200ms;
  transition: transform 200ms;
  transition: transform 200ms, -webkit-transform 200ms;
  -webkit-transform: rotate(-30deg) translate(-50%, -70%);
      -ms-transform: rotate(-30deg) translate(-50%, -70%);
          transform: rotate(-30deg) translate(-50%, -70%);
}
.laser-saber-movable.--leftX2 {
  -webkit-transition: -webkit-transform 200ms;
  transition: -webkit-transform 200ms;
  -o-transition: transform 200ms;
  transition: transform 200ms;
  transition: transform 200ms, -webkit-transform 200ms;
  -webkit-transform: rotate(30deg) translate(-50%, -70%);
      -ms-transform: rotate(30deg) translate(-50%, -70%);
          transform: rotate(30deg) translate(-50%, -70%);
}
.laser-saber-movable__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;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.laser-saber-movable.--active .laser-saber-movable__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-movable__laser {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 0.8vh;
  height: 0;
  border-radius: 0 0 0.8vh 0.8vh;
  background-color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  -webkit-transform-origin: 50% 0%;
      -ms-transform-origin: 50% 0%;
          transform-origin: 50% 0%;
  -webkit-transform: rotate(180deg) translateX(50%);
      -ms-transform: rotate(180deg) translateX(50%);
          transform: rotate(180deg) translateX(50%);
  -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: 0;
  left: 50%;
}
.laser-saber-movable.--active .laser-saber-movable__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);
  }
}