You can switch to full-screen mode by clicking on the gear icon ⚙️ in the upper right corner of the window and then the button with the arrows. You can leave full-screen mode by pressing the ESC key.