Interation only working on homepage

Hi, as the title says I have an interaction in the nav that only works on the homepage.
When you hover over this button, the rectangle should fill and change the text to white. It currently only works on the homepage and I have no idea why it doesn’t work on the other pages.

Somebody knows what to do?

Normally Tablet, and mobile doesn’t have mouse hover. You can only see animation when you hold on button for a second.

Update these changes.