Better layout

when page is smaller elements don’t go outside the page