Solution 1:

I was able to resize the partition immediately after i've disabled the FileVault.

So just disable FileVault > resize partition/APFS container > enable FileVault