Replace units in media queries

since rem are not supported in safari I replaced it with em