Unfortunately, it sounds like you don't have a problem with Electrum wallet, you have a problem with security
If what you are claiming is true, that all the coins were transferred from your addresses, then someone has managed to get hold of the private keys or seed words for your wallet. Are you able to post the transactions IDs?
Also, if you have been hacked, it is quite likely that you have some sort of malware on your PC... I would cease all bitcoin related activities on this machine until you are confident that it is no longer compromised. You should either scan your PC with AntiMalware tools (Try
this guide) or to be completely sure, format your computer and reinstall the OS from scratch.
It might seem dramatic, but it guarantees the malware is gone and is what I would personally do...