.gallery-pump-image {
  position: relative;
}

.gallery-pump-image > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #f8ffff;
  stroke-width: 5;
  stroke-linecap: round;
  pointer-events: none;
}

.gallery-pump-image path {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-pump-image path {
    opacity: .65;
    stroke-dasharray: 8 21 3 14;
    animation: gallery-water-flow .55s linear infinite;
  }

  .gallery-pump-image path:nth-child(2) {
    animation-delay: -.2s;
    opacity: .52;
    stroke-width: 4;
  }

  .gallery-pump-image path:nth-child(3) {
    animation-delay: -.35s;
    opacity: .52;
  }

  .gallery-pump-image .gallery-water-splash {
    opacity: .5;
    stroke-dasharray: 4 16 8 18;
    stroke-width: 4;
    animation-duration: 1s;
    animation-name: gallery-water-splash;
  }

  @keyframes gallery-water-flow {
    to { stroke-dashoffset: -46; }
  }

  @keyframes gallery-water-splash {
    0% { opacity: 0; }
    35% { opacity: .6; }
    100% { opacity: 0; stroke-dashoffset: -46; }
  }
}
