Add box-sizing: border-box to the CSS resets.