/*
 * Extra choices for Elementor's Motion Effects → Entrance Animation list (group "USS Omaha Memorial").
 * Elementor adds the chosen key as a class plus "animated"; these rules do the rest.
 */

/*
 * Bounce (repeating): the original page's scroll-down arrow. Keeps going, like Tailwind's animate-bounce.
 * Travel is a fixed 10px (the original's 40px arrow moved 25% = 10px); a percentage would depend on the
 * Elementor box around the icon, which is taller than the icon itself.
 */
@keyframes ussBounceForever {
	0%,
	100% {
		transform: translateY(-10px);
		animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
	}

	50% {
		transform: none;
		animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
	}
}

.animated.ussBounceForever {
	animation-name: ussBounceForever;
	animation-duration: 1s;
	animation-iteration-count: infinite;
}

/* Visitors who ask their device for less motion get a still arrow. */
@media (prefers-reduced-motion: reduce) {
	.animated.ussBounceForever {
		animation: none;
	}
}
