Added media queries to ensure mobile display behaved as expected.