/* Champion Random — Halloween Bats v5 */

.hw-flying-bat {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  color: #17131f;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.hw-flying-bat svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
  filter:
    drop-shadow(1px 0 1px rgba(191,145,240,.9))
    drop-shadow(-1px 0 1px rgba(191,145,240,.9))
    drop-shadow(0 0 4px rgba(145,90,205,.4));
}

.hw-bat-wing {
  animation: hw-flap .095s ease-in-out infinite alternate;
}

.hw-bat-left,
.hw-bat-right {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.hw-bat-right {
  animation-delay: -.047s;
}

@keyframes hw-flap {
  from {
    transform: scaleY(.25);
  }
  to {
    transform: scaleY(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hw-flying-bat {
    display: none;
  }
}
