@import url(https://fonts.googleapis.com/css?family=Open+Sans:600);
body {
  background: #efefef;
  display:flex;
  align-items: center;
  height: 105vh;
}

.text-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: dash 4s linear forwards, filling 5s ease-in forwards;
  font-size: 80px;
}

.text-line text {
  font-family: Helvetica,Arial,sans-serif;
  font-weight: bold;
  font-style: normal;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes filling {
  0%, 90% { fill: #fff; fill-opacity: 0; }
  100% { fill: #fff; fill-opacity: 1; }
}


.text {
  position: absolute;
  width: 450px;
  left: 50%;
  margin-left: -225px;
  height: 40px;
  top: 50%;
  margin-top: -20px;
}

p {
  display: inline-block;
  vertical-align: top;
  margin: 0;
}

.word {
  position: absolute;
  width: 100%;
  opacity: 0;
}

.letter {
  display: inline-block;
  position: relative;
  float: left;
  transform: translateZ(25px);
  transform-origin: 50% 50% 25px;
}

.letter.out {
  transform: rotateX(90deg);
  transition: transform 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.letter.behind {
  transform: rotateX(-90deg);
}

.letter.in {
  transform: rotateX(0deg);
  transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.one {
  color: #000;
 /* background: #8e44ad; */

}

.two {
  color: #000;
 /*  background: #2980b9; */

}

.three {
  color: #000;
 /*  background: #c0392b; */

}

.four {
  color: #000;
 /*  background: #16a085; */

}

.five {
  color: #000;
 /*  background: #2c3e50; */

}

.six {
  color: #000;
 /*  background: #2c3e50; */

}


