How to make the navigation change colour

Hi everyone! I really need some help with a certain feature. I am trying to make the navigation change its colour depending on the block (black on white / white on image) using scroll into view animations but I can’t get it right. Does anyone have an idea what I am doing wrong? Thank you in advance!

https://preview.webflow.com/preview/the-pinnacle-fc?utm_medium=preview_link&utm_source=designer&utm_content=the-pinnacle-fc&preview=d1ac3d38c1c6a6c85aef8fe6b5412a58&pageId=62975071775fd37ef7835cfd&workflow=preview


Here is my site Read-Only: LINK
(how to share your site Read-Only link)