refactor css and Divs