We can use the media query prefers-reduced-motion to detect a user's preference for motion. This is particularly useful when we have users that may have vestibular disorders. In these cases, we can detect it and set motion speed to zero.
prefers-reduced-motion