This guide helps to configure the hibernation on a default Fedora35 (also worked fine in previous Fedora34) installation by using a swap file. The Fedora35 installation comes with btrfs as default filesystem. Also, it comes with a zram swap device:
$ swapon
NAME TYPE SIZE USED PRIO
/dev/zram0 partition 8G 0B 100