Changed max-width to 1020px;
Changed max-width to em instead of pixels.