applying css to main nav