added code for media queries