This morning I created an Electrum wallet (3.1.0) and transfered 1BTC. 1 hour later 2 withdraws were made, and now my wallet is empty. I lost the 1 BTC I had there.
I had 2 FA activated how is that even possible.
Also how come it didn't ask the hacker 2FA to withdraw?
If you really had 2FA 'activated' the most likely 2 things which happened (in my opinion) are those:
1) You have downloaded a malicious version of electrum and therefore didn't have any real 2FA activated.
2) You are completely compromised. Someone has access to a) your PC and b) has either cloned your mobile or cloned your GA code(s).
You should definetely scan your system for any malware. And to be on the safe side you should setup a fresh OS install.
Additionally, the next time you are going to store BTC: Make sure to store relatively high amounts (like 1 BTC is currently) safe offline (hardware or paper wallet).