layout and padding styles, changed content div to main element