adds media queries for navbar