Added media queries to grid