added a media query. added styling for browsers with and without display flex