the navigation itself works correctly, its just the css (background color) thats goes out of sync at times, lets keep what we have now. I think the solution has to do with the duration of the animation. I think lowering the duration of animation will fix it. Try messing around with the duration values and see if u can fix it.
if you keep clicking around the different sections the navbar navigates to, you'll notice it sometimes goes out of sync;
for ex. the navbar might indicate that your on the staff section when ur actually on the sponsors section or something.
https://user-images.githubusercontent.com/62922309/188068628-c26e25ea-2cae-48ef-841f-adbeb0d3a4db.mov
the navigation itself works correctly, its just the css (background color) thats goes out of sync at times, lets keep what we have now. I think the solution has to do with the duration of the animation. I think lowering the duration of animation will fix it. Try messing around with the duration values and see if u can fix it.
deliverables
lmk if u need further clarification