resizing text and padding for main content