How can I block access to my website to an entire country

You can use Cloudflare’s firewall rules.

Here is a guide to get you stated:

Since you didn’t follow the template, I don’t know if this will work for you or not. Admin’s post below explains why your file was deleted.