updating media query styles so that mobiles looks good. fixed a flex-box bug in Safari.