media queries for the list width and navbar styling