Menu animation in mobile adaptive works only once

Good afternoon, I’m just learning to work with Webflow, and I had this problem. In the mobile version, I created an animation for a menu that just opens/closes when clicked. Everything works fine, but only once, when I want to click a second time, the animation doesn’t work and will only work when I refresh the page.
Can you please tell me what it may be related to, I have tried everything ((