styling the text and centering