What's wrong with this CSS?

TRY THIS CODE

    // solid white background for content
    body:before {
        display: inline-block;
        width: 1125px;
        min-height: 100%;
        height: inherit;
        background-color: white;
        content: " ";
        position: fixed;
        left: 50%;
        right: 0;
        transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
    }
    
    // compatibility for all devices
    @media (max-width: 1139px) and (min-width: 1000px)
    {
        body:before {
            width: 1010px;
        }
    }
    
    .d-header {
        box-shadow: none;
    }
    
    body {
      background: url('http://minecraftrad.io/images/bg1.jpg') no-repeat 50% 50% fixed; 
      background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      -webkit-background-size: cover;

}

JUST FOR BACKGROUND YOU NEED FOR THIS

body {
          background: url('http://minecraftrad.io/images/bg1.jpg') no-repeat 50% 50% fixed; 
          background-size: cover;
          -moz-background-size: cover;
          -o-background-size: cover;
          -webkit-background-size: cover;
 }