moved media queries

Grouped media queries with other global styles. Eliminated some black
lines.