How to make a ball that bounces off edges of viewport

Is it possible to create an animation like this in Webflow?

I want to have a ball like this moving around the back of my homepage, but the attempts I’ve made so far always end up moving off the page

Here is my public share link: Webflow - Cole's Supercool Project
(how to access public share link)