Need menu to collapse when browser window is narrow

@russian-dima Heyo! I’ve been playing around with it a bit more and yep! I do see that it detects the size of the window every 3 seconds! What code would I add to make the current long menu collapse into a hamburger/drop down menu once the window is at 1600px width or less?

https://xenguy.wixsite.com/website-1

Right now if you resize the window, the menu intersects with the logo in the middle of the header once the window is at less than 1600px width, I just want it to not intersect and instead make the hamburger menu appear instead, hopefully this makes sense!