I see, try this css, this will make the space between menu points percentage based.
So the space between them will get smaller when you resize the window so it wont overlap.
you might want to adjust 10vw to a lower value.
nav.primary li{ margin-right: 10vw; } nav.primary li:last-child{ margin-right: 0; } nav.second_menu li{ margin-right: 10vw; } nav.second_menu li:last-child{ margin-right: 0; }