Canvas element can't be resized

I’ve added a custom embed with a canvas element in it to create a Stripe style animated background gradient. I am using this CodePen example.

However, no matter what I do I can’t seem to be able to resize the canvas element to be 100vh/vw.

Any ideas why this is? How can I fix this issue?


Here is my site Read-Only: LINK