replaced media queries with classes