made changes to index, added media queries