new layout with flexbox, added mobile first layout, media query when going tablet