begin styles and layout