body {
  background: #000;
}

#containor {
  background: #ccc;
  width: 600px;
  height: 250px;
  margin: 50px auto;
  text-align: center;
  display: block;
  box-shadow: 0 90px 120px 10px #000 inset;
  overflow: hidden;
}

.stick,
.hand2 {
  height: 50px;
  width: 5px;
  background: #000;
  display: inline-block;
  margin-top: 150px;
  -webkit-transition: all 0.3s;
          transition: all 0.3s;
  -webkit-transform-origin: 0 0;
  -webkit-animation: thing 0.5s alternate infinite ease-out;
  -moz-transition: all 0.3s;
          transition: all 0.3s;
  -moz-transform-origin: 0 0;
  -moz-animation: thing 0.5s alternate infinite ease-out;
}

@-webkit-keyframes thing {
  0% {
    -webkit-transform: rotate(-20deg);
  }
  100% {
    -webkit-transform: rotate(20deg);
  }
}

@-moz-keyframes thing {
  0% {
    -moz-transform: rotate(-20deg);
  }
  100% {
    -moz-transform: rotate(20deg);
  }
}
.stick2,
.hand1 {
  height: 50px;
  width: 5px;
  background: #000;
  display: inline-block;
  margin-left: -10px;
  margin-top: 150px;
  -webkit-transition: all 0.3s;
          transition: all 0.3s;
  -webkit-transform-origin: 0 0;
  -webkit-animation: thing2 0.5s alternate infinite ease-in;
  
  -moz-transition: all 0.3s;
          transition: all 0.3s;
  -moz-transform-origin: 0 0;
  -moz-animation: thing2 0.5s alternate infinite ease-in;
}

@-webkit-keyframes thing2 {
  0% {
  
    -webkit-transform: rotate(20deg);
  }
  100% {
  
    -webkit-transform: rotate(-20deg);
  }
}

@-moz-keyframes thing2 {
  0% {
    -moz-transform: rotate(20deg);
  }
  100% {
    -moz-transform: rotate(-20deg);
  }
}
.stick2::after,
.stick::after,
.stick2::before,
.stick::before {
  content: '';
  width: 10px;
  height: 5px;
  background: #000;
  display: inline-block;
  position: absolute;
  margin-top: 45px;
}

.stick2::before,
.stick::before {
  margin-top: -5px;
  width: 10px;
  height: 10px;
  margin-left: -8px;
  border-radius: 20px;
}

.hand1,
.hand2 {
  height: 35px;
  margin-top: 250px;
}

.hand1 {
  margin-left: -9px;
  -webkit-animation: hand1 0.5s alternate infinite linear;
   -moz-animation: hand1 0.5s alternate infinite linear;
}

.hand2 {
  -webkit-animation: hand2 0.5s alternate infinite linear;
  -moz-animation: hand2 0.5s alternate infinite linear;
}

@-webkit-keyframes hand1 {
  0% {
    -webkit-transform: rotate(80deg);
  }
  100% {
    -webkit-transform: rotate(-90deg);
  }
}
@-moz-keyframes hand1 {
  0% {
    -moz-transform: rotate(80deg);
  }
  100% {
    -moz-transform: rotate(-90deg);
  }
}
@-webkit-keyframes hand2 {
  0% {
    -webkit-transform: rotate(-10deg);
  }
  100% {
    -webkit-transform: rotate(10deg);
    margin-top: 252px;
  }
}
@-moz-keyframes hand2 {
  0% {
    -moz-transform: rotate(-10deg);
  }
  100% {
    -moz-transform: rotate(10deg);
    margin-top: 252px;
  }
}
.body {
  display: inline-block;
  position: absolute;
  margin: -140px 0 0 3px;
}

.hand1::before,
.hand2::before {
  content: '';
  width: 8px;
  height: 5px;
  border-radius: 50%;
  background: #000;
  position: absolute;
  margin-top: 33px;
  margin-left: -5px;
}

.head {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000;
  position: absolute;
  margin-top: 85px;
  margin-left: -10px;
}

.head::before {
  content: '.';
  color: #fff;
  font: bold 1em calibri;
  position: absolute;
  margin-top: -10px;
  margin-left: 0px;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
          transition: all 0.3s;
}

.head::after {
  content: '.';
  color: #fff;
  font: bold 1em calibri;
  position: absolute;
  margin-left: -2px;
  margin-top: -10px;
  text-align: right;
  width: 10px;
  height: 10px;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
          transition: all 0.3s;
}

.torso {
  background: #000;
  height: 40px;
  width: 10px;
  display: block;
  position: absolute;
  margin-top: 249px;
  margin-left: -7px;
  border-radius: 100%;
  -moz-transform: scale(2.2, 1.3) skewY(-30deg);
  -webkit-transform: scale(2.2, 1.3) skewY(-30deg);
}

.overall {
  margin-top: 52px;
  display: inline-block;
  cursor: pointer;
  -moz-animation: overall 15s 1 forwards ease-in-out;
  -webkit-animation: overall 15s 1 forwards ease-in-out;
}

@-webkit-keyframes overall {
  0% {
    margin-left: -700px;
  }
  80% {
    margin-left: 550px;
    -webkit-transform: skewX(0deg);
  }
  90% {
    margin-left: 600px;
    -webkit-transform: skewX(-15deg);
  }
  100% {
    margin-left: 700px;
    -webkit-transform: skewX(-25deg);
  }
}
@-moz-keyframes overall {
  0% {
    margin-left: -700px;
  }
  80% {
    margin-left: 550px;
    -moz-transform: skewX(0deg);
  }
  90% {
    margin-left: 600px;
    -moz-transform: skewX(-15deg);
  }
  100% {
    margin-left: 700px;
    -moz-transform: skewX(-25deg);
  }
}
.overall:hover > .head::after {
  margin-left: -4px;
}

.overall:hover > .head::before {
  margin-left: -5px;
}