Converted widths and margins to % and font to em