changed layouts to css