Navbar open/close issue


I’ve created a navbar myself that opens 100vh when you click the hamburger. I’ve made two types of interactions for closing it.

The first interaction is by clicking the X image on the top right of the page, which is works perfectly.
The second interaction is when a user click on one of the nav-links, then the navbar should be close (works until here), but then when you click the hamburger again, to open it, you have to click it twice because it didn’t reset the first interaction.


After clicking the links, I had to double click the hamburger to open the menu again…

Links below.
Thanks in advance,
Asaf :slight_smile:

Here is my public share link: [LINK][1]

And the live site: