added media queries and styling of popups