updated media query for tablet and phone