I believe, although not 100% sure without looking at the css itself, but you might want to take a look at this link so that you’re only targeting the exact element you want and not all the sub-nav pages. If you have a link that would be helpful also, but hope this link helps get you started in the meantime.
https://css-tricks.com/child-and-sibling-selectors/