Changed media queries for portrait and landscape mode