html {
  height:100%;
}

body {
  margin:0;
}

.bg {
  animation:slide 10s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, #5A015A 50%, #f3eef6 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2 {
  animation-direction:alternate-reverse;
  animation-duration:12s;
}

.bg3 {
  animation-duration:14s;
}

@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}


.bg4 {
  background-image: url("bg-new.jpg");
  bottom:0;
  position:fixed;
  right:-50%;
  left:-50%;
  top:0;
  z-index:-1;
  background-size:100vw;   
  background-repeat:no-repeat;
  background-position:center center; 
}