added media queries and altered json