Max-width was changed to 767 to prevent overlap, which produces artifacts when screen width is exactly 768 pixels.