TransMac does not seem to work for creating bootable macOS USB installers for the last few years. Plus a few years ago Apple changed the macOS 10.11 installer which is now downloaded as a .dmg file, however, the contents of this file is just an app which is used to extract the real installer to the Applications folder. This app requires using a Qualifying Mac from 2008 to 2015. If you have access to such a Mac, then you can use these Apple instructions for creating a bootable macOS 10.11 USB installer:
How to create a bootable installer for macOS - Apple Support
A few years ago I did stumble across some command line instructions for creating a bootable macOS 10.11 USB installer, but those instructions were a bit confusing even for someone who is knowledgeable & familiar with the command line. Plus I've seen posts the comments of those instruction since then mentioning that later versions of the macOS 10.11 .dmg file had changed so those instructions had to be modified. Unfortunately I don't currently have a link to those instructions which are most likely outdated now.
FYI, even if you install macOS 10.11 on the Mac, it will be severely outdated where currently only Chromium based browsers are supported. I don't expect them to be supported for much longer. A better option may be to install Linux Mint on the Mac which would provide an up to date non-Apple OS with support for all the current popular browsers (Firefox, Google Chrome, Vivaldi, etc.) plus access to lots of free open source apps such as LibreOffice. There are even Linux versions of Zoom and Teams available. Linux would probably end up performing a lot better on this older hardware than macOS will (assuming the hard drive is still healthy and the system as 4GB of RAM although Linux can theoretically run with as little as 2GB of RAM if used carefully).