.frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  height: 460px;
  margin-top: -200px;
  margin-left: -200px;
  border-radius: 2px;
  box-shadow: 4px 8px 16px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #37474F;
  /* fallback*/
  background: center/cover no-repeat url(../img/photo-1452827073306-6e6e661baf57.jpg);
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.center {
  position: absolute;
  top: 40%;
  left: 25%;
  transform: translate(-50%, -50%);
  animation: hovering 4s ease-in-out infinite;
}

/*head*/
.head {
  position: absolute;
  width: 150px;
  height: 150px;
  top: -50px;
  left: 78px;
  background: #12c2e9;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  -webkit-clip-path: polygon(21% 53%, 52% 22%, 69% 47%, 51% 40%, 45% 70%);
  clip-path: polygon(21% 53%, 52% 22%, 69% 47%, 51% 40%, 45% 70%);
}

/*body*/
.body {
  width: 150px;
  height: 180px;
  background: #12c2e9;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  -webkit-clip-path: polygon(82% 13%, 95% 28%, 85% 64%, 0% 99%, 57% 35%, 50% 19%, 0 0);
  clip-path: polygon(82% 13%, 95% 28%, 85% 64%, 0% 99%, 57% 35%, 50% 19%, 0 0);
}

/*wing*/
.wing-1 {
  position: absolute;
  width: 180px;
  height: 180px;
  top: -14%;
  background: #12c2e9;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to top, #f64f59, #c471ed, #12c2e9);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to top, #f64f59, #c471ed, #12c2e9);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  -webkit-clip-path: polygon(1% 1%, 69% 24%, 56% 53%);
  clip-path: polygon(1% 1%, 69% 24%, 56% 53%);
  z-index: 2;
}

.wing-2 {
  position: absolute;
  width: 100px;
  height: 100px;
  top: -12%;
  left: -20%;
  transform: rotateX(55deg);
  background: #12c2e9;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  -webkit-clip-path: polygon(0% 39%, 40% 1%, 67% 18%);
  clip-path: polygon(0% 39%, 40% 1%, 67% 18%);
  z-index: -1;
}

.wing-3 {
  position: absolute;
  width: 150px;
  height: 120px;
  top: -25%;
  left: -25%;
  transform: rotateX(-55deg) rotateY(-20deg) rotateZ(-20deg);
  background: #12c2e9;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  -webkit-clip-path: polygon(0% 39%, 40% 1%, 67% 18%);
  clip-path: polygon(0% 39%, 40% 1%, 67% 18%);
  z-index: 3;
}

@keyframes hovering {
  0%, 100% {
    transform: translate(-50%, -55%);
  }
  50% {
    transform: translate(-50%, -50%);
  }
}