html,

body {
  height: 100%;
}


body:after
{
  content : "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("../../../image/bg.png");
  width: 100%;
  height: 100%;
  opacity : 0.4; 
  z-index: -1;
  background-repeat: no-repeat, repeat;
  background-position: center;
}

.centro 
{
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}