/* salmon-jump.css */
.salmon-image {
  position: fixed;
  cursor: pointer;
  z-index: 9999;
  filter: drop-shadow(0 10px 8px rgba(0,0,0,0.2));
  transition: transform 0.05s ease;
  will-change: left, top, transform;
}

/* Styling for the container to ensure image is properly displayed */
.salmon-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 150px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  pointer-events: none; /* Let clicks pass through to the container */
}

/* Optional: Add a subtle water ripple effect on hover */
.salmon-image:hover {
  filter: drop-shadow(0 0 8px rgba(0,150,255,0.5));
  transition: filter 0.3s ease;
}

/* Animation class for the splash effect */
@keyframes salmonSplash {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.3) rotate(15deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.salmon-splash {
  animation: salmonSplash 0.3s ease;
}