html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background-color: #d5d2e2;
}

.header {
  color: #323f5c;
  position: fixed;
  top: 30px;
  left: 50px;
  font-size: 28px;
}

.ink {
  position: fixed;
  bottom: -50px;
  right: -80px;
  width: 450px;
  font-size: 0;
  opacity: .7;
}

.ink img {
  width: 100%;
}

.container {
  width: 70vw;
  position: fixed;
  top: 0;
  left: 0;
  transform-style: preserve-3d;
  transform: translate(-15vw, 275px) rotateX(45deg) rotateZ(45deg);
  height: calc(100vh - 280px);
  transform-origin: 50% 100%;
}

.container .list {
  position: relative;
  width: 900px;
  transform: translate3d(0, 0, 0);
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.container .list .item {
  width: 300px;
  box-sizing: border-box;
  padding: 15px;
  transform-style: preserve-3d;
  font-size: 0;
}

.container .list .item .img-wraper {
  position: relative;
  width: 100%;
}

.container .list .item .img-wraper::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #fff;
  transform: scale(0.8);
  transition: all .3s;
  opacity: .6;
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.8);
}

.container .list .item .img-wraper img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .2s ease-out;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
}

.container .list .item .img-wraper img:nth-child(1) {
  z-index: 4;
  position: relative;
}

.container .list .item .img-wraper img:nth-child(2) {
  z-index: 3;
}

.container .list .item .img-wraper img:nth-child(3) {
  z-index: 2;
}

.container .list .item:hover .img-wraper::after {
  opacity: .2;
  transform: scale(1);
  box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.8);
}

.container .list .item:hover .img-wraper img:nth-child(1) {
  transform: translate3d(-120px, -120px, 0);
}

.container .list .item:hover .img-wraper img:nth-child(2) {
  transform: translate3d(-80px, -80px, 0);
}

.container .list .item:hover .img-wraper img:nth-child(3) {
  transform: translate3d(-40px, -40px, 0);
}
