Cursor resets animation when clicking on a link that opens another page

I have made a custom cursor animation when the cursor grows on hover and lowers opacity. That works well, my issue is that whenever I click a link that opens a page it reverses the state of the animation.

Can someone help me out with this issue?

Here is my public share link: [LINK]1
(how to access public share link)