Instead of using 2 different selectors to assign styling and then another to negate it. Use the :not selector for more precise selection…