Match the camera to screen

Hi!

I am making a 2D game and i cant figure out how to match the Main Camera to the game screen, it seems like you only can change the proportional size of the Main Camera, not change the x-size and the y-size seperatly, or atleast i havent found a way to do that.

Can anyone help me with this?

Thanks in advance!

look in the viewport section , there is always four attributes : offsetX , offsetY , width , height.