body, html {
  height: 100%;
  min-height: 100%;
}

body {
  background: linear-gradient(to bottom, #f6f7fc 0%, #d5e1e8 40%);
  transform-style: preserve-3d;
  transform: perspective(800px);
}

.image {
  width: 1000px;
  height: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -300px 0 0 -400px;
  border-radius: 5px;
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

div[class*="layer-"] {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: 0 0;
  -webkit-transition: 0.1s;
  transition: 0.1s;
}

.image .layer-1 { background-image: url(img/sky.png); }

.image .layer-2 { background-image: url(img/backtrees.png); }

.image .layer-3 { /*top: 0;
    bottom: 0;
    left: 0;
    right: 0;*/
background-image: url(img/middlemtn.png); }

.image .layer-4 { background-image: url(img/superman.png); }

.image .layer-5 { background-image: url(img/girl.png); }

.image .layer-6 { background-image: url(img/leftmtn.png); }

.image .layer-7 { background-image: url(img/grass.png); }
