Unseen Attackers and Targets

You have disadvantage on Fighting tests against a target you can't see. This is true whether you are guessing the target's location or you are targeting a creature you can locate but not see. If the target isn't in the spot you targeted, the Fighting test automatically fails.

When a creature can't see you, you have advantage on Fighting tests against it.