body {
  background: #89B582;
}

.birthday {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-size: 10em;
  font-family: 'Oswald', sans-serif;
  color: #fff;
  text-shadow: 0px 3px rgba(0, 0, 0, 0.1);
}
.birthday span {
  display: inline-block;
  vertical-align: middle;
}

.current {
  position: relative;
}
.current span:nth-child(2) {
  -webkit-animation: hide 1s 1.5s ease forwards;
          animation: hide 1s 1.5s ease forwards;
}
/*.current:after {
  position: absolute;
  left: 5px;
  content: "Jahre";
  font-size: 20px;
  opacity: 0.5;
  -webkit-animation: opacity
}*/

/*.current:after {
  animation: auftVersch 5s;
  position: absolute;
  left: 5px;
  content: "Jahre";
  font-size: 20px;
  animation: auftVersch 5s;*/
  /*opacity: 0.5;*/
 /* -webkit-animation: opacity
}*/

@keyframes auftVersch {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

.frontend {
  position: relative;
  left: 70px;
  -webkit-animation: move 0.75s 1s ease forwards;
          animation: move 0.75s 1s ease forwards;
}
.frontend:after {
  position: absolute;
  left: -85px;
  content: "Viel Gluek und Gesundheit wuenschet mer dir!";
  font-size: 20px;
  opacity: 0.5;
  white-space: nowrap;
  -webkit-animation: hide 0.5s 1s ease forwards;
          animation: hide 0.5s 1s ease forwards;
	-webkit-animation-delay: 5s;
}

.frontend-text:after {
  content: "0";
  position: absolute;
  left: 100%;
  
  -webkit-animation: f-right 0.75s 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
          animation: f-right 0.75s 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
.frontend-text:before {
  content: "0";
  position: absolute;
  right: 100%;
  -webkit-animation: f-left 0.75s 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
          animation: f-left 0.75s 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.current,
.frontend,
.plus {
  display: inline-block;
}

.plus {
  -webkit-animation: hide 0.3s 1s ease forwards;
          animation: hide 0.3s 1s ease forwards;
}

@-webkit-keyframes hide {
  to {
    opacity: 0;
  }
}

@keyframes hide {
  to {
    opacity: 0;
  }
}
@-webkit-keyframes show {
  to {
    opacity: 1;
    top: 40px;
  }
}
@keyframes show {
  to {
    opacity: 1;
    top: 40px;
  }
}
@-webkit-keyframes f-left {
  100% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    opacity: 1;
  }
}
@keyframes f-left {
  100% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    opacity: 1;
  }
}
@-webkit-keyframes f-right {
  100% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
    opacity: 1;
  }
}
@keyframes f-right {
  100% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
    opacity: 1;
  }
}
@-webkit-keyframes move {
  to {
    left: -250px;
  }
}
@keyframes move {
  to {
    left: -250px;
  }
}
@-webkit-keyframes cake {
  to {
    font-size: 28em;
    color: rgba(255, 255, 255, 0.1);
  }
}
@keyframes cake {
  to {
    font-size: 28em;
    color: rgba(255, 255, 255, 0.1);
  }
}
.final {
  position: absolute;
  font-size: 58px;
  left: 48%;
  top: -10px;
  line-height: 1.3;
  opacity: 0;
  -webkit-animation: show 1s 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
          animation: show 1s 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
.final span {
  display: block;
}

.fa-birthday-cake {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-size: 5em;
  color: rgba(255, 255, 255, 0);
  -webkit-animation: cake 1s 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
          animation: cake 1s 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
