added media queries and buttons