"Gas estimation failed" when deploying on mainnet

Hello everyone! I have a problem deploying a contract through remix. It deploys fine on goerli testnet but when I try to do it on mainnet it gives me Gas estimation failed error pop up (image below). I tried increasing gas limit but it didn't help. Can anyone help me out? Sending my contract through pastebin.