added media queries to index