Need help with css using the minimal theme

I want to get minimal theme to look like this on windows so I can keep the titlebar hidden. I’ve been told it is doable with some css magic.
Screenshot 2022-08-22 132800

Does anyone have css to move the close, max, and min buttons to this position.

Thanks in advance