
.cd-background-wrapper {
  background-color: #fff;
  position: relative;
  overflow: hidden;
  -webkit-perspective: 10000px;
  perspective: 10000px;
  height: 100% !important;
  pointer-events: all;
  z-index: 0;
}

.cd-floating-background {
  position: relative;
  bottom: 0;
  right: 0;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  z-index: 1;
}
.cd-floating-background.is-absolute {
  position: absolute;
  z-index: 1;
}
.cd-floating-background img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* fixes a Firefox bug - images not correctly rendered*/
  background-color: rgba(255, 255, 255, 0.01);
  z-index: 1;
}
.cd-floating-background img:not(:first-child) {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
}
.cd-floating-background img:first-child {
  -webkit-transform: translateZ(25px);
  -ms-transform: translateZ(25px);
  transform: translateZ(25px);
  z-index: 1;
}
.cd-floating-background img:nth-child(2) {
  -webkit-transform: translateZ(145px);
  -ms-transform: translateZ(145px);
  transform: translateZ(145px);
  z-index: 1;
}
.cd-floating-background img:nth-child(3) {
  -webkit-transform: translateZ(200px);
  -ms-transform: translateZ(200px);
  transform: translateZ(200px);
  z-index: 1;
}
.no-preserve-3d .cd-floating-background {
  /* we target browsers that don't support preserve-3d and show just a standard image - no effect visible */
  position: relative;
  z-index: 1;
}
