Custom blocks for animated videos not showing up in mobile layout

So, in the site I’m working on, we put a couple of custom code blocks in to render some background animations. We did this because it was the only way we could figure out how to make the animations stay crisp but scale down the size to have a quick load.

We are nearly finished getting things working, but noticed today that when scaling down to mobile, our blocks are disappearing in mobile. I’m not primarily a developer (more designer), so it’s not immediately apparent how to resolve this.

Link to the site: