Menu color switch depending on sections and open/close

Hi guys,

I’m quite blocked on a new project for an interaction. It’s quite simple:
I have an hamburger menu whose color changes when it leaves the first section (from white to black). So when I open and close the menu on first section, everything is good but when I click on any link to go to another section, if I close the menu, it stays white instead of black.

Do you have an idea on how can I change that?

and the little gif to understand the difference.
Sep-26-2018%2022-02-49


Here is my site Read-Only: Terra Baixa