How to make a area capture overlay?

Hello!

I want to make a feature where the enemy territory reduces based on the amount of area the player has captured (Like in this video - screen-20231010-144333.mp4 - Google Drive)

Can anyone please guide in the right direction as to how would I achieve this? Is there a technical term/ concept I could look up on the internet to learn more about it?

Thanks in advance.