> I would still use .footer instead of #footer
Why?
Why?
Of course, you can still do this if you want to. To quote Chris Rock, "you can drive a car with your feet if you want to." But if you work on a large code base that lots of developers have touched, and lots of future developers will touch, you run into these issues all the time. And the bugs that come about can be tough to spot and to fix.
Either remove that, or add the id to the selector with the style.
For me it's a matter of doing things the same way so when I need to make an update to the code in a year it's intuitive.
"Be kind to your future self" is my motto.