Intersection Observer not working

Hello, I am creating a site and for some reason, my nav font color is not changing as I intended it to. Can someone take a look at the code? I have selected my nav bar items with querySelectorAll(".ad") and set it to variable “lst”
Here’s the code https://codepen.io/VeljkoCukic/pen/qBqRGXL