Align footer and nav - CSS

  • Hello!

    Sorry to bother you.

    I'm with some troubles editing the margins from the footer, pageNavigation and Nav bars. I've tried multiple ways but without succeeding. I want to add and align margins to those sections and make sure it fits with the rest of the body. Also margins should adjust automatically varying the width of the page, as the body does. Do you have any idea on how i can do that?

    In addition, i want one single image on the background of the whole html page, because when i do

    html, body{
    background-image: "x";
    background-repeat: no repeat;
    background-position: cover;

    only the body part is filled. Anyway, if i had previously margins to footer , for exemple, margin won't be cover with the background image . :x

    Can someone help me?

    Thank you for your consideration.