How to make header go up?

So before adding an image, the header was situated properly and normally. But after I added in the image, the arrangement became weird. Is there something I did wrong?

Also, the main part it automatically extended the height on its own. (compare the length of the main part to the first pic's main part. Its longer now? But i want it to stay the same size)

These are my codes.. is there something I did wrong?