To change the page setup and margins in Google Docs, follow these steps:
Open your Google Docs document.
Click on the "File" tab in the top left corner of the screen.
In the drop-down menu, select "Page Setup."
A "Page Setup" dialog box will appear. Here you can adjust the page orientation, paper size, and margins.
Under the "Paper size" section, you can select a specific paper size or choose "Custom" to set a custom size.
In the "Orientation" section, you can choose between "Portrait" (vertical) or "Landscape" (horizontal) orientation.
To adjust the margins, go to the "Margins" section. You can select a predefined margin option or click on "Custom Margins" to set your own values.
In the "Custom Margins" dialog box, you can manually adjust the margins by entering values for the top, bottom, left, and right margins.
Once you have made the desired changes, click on the "OK" button to apply the new page setup and margins to your document.
Note: The changes you make to the page setup and margins will be applied to the entire document.