/* header */
#headeranimation {
  color: #999;
  text-transform: uppercase;
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  line-height: 36px;
  width: 100%;
  padding: 10px 0;
}

#headeranimation>span {
  margin-bottom: 10px;
}

#flip {
  height: 55px;
  overflow: hidden;
}

#flip>div>div {
  color: #fff;
  padding: 0px 0px 0px 0px;
  height: 50px;
  margin-bottom: 50px;
  font-size: 36px;
  line-height: 50px;
  display: inline-block;
}

#flip div:first-child {
  animation: show 5s linear infinite;
}

#flip div div {
  background: #42c58a;
}

#flip div:first-child div {
  background: #4ec7f3;
}

#flip div:last-child div {
  background: #DC143C;
}

@keyframes show {
  0% {
    margin-top: -270px;
  }

  5% {
    margin-top: -180px;
  }

  33% {
    margin-top: -180px;
  }

  38% {
    margin-top: -90px;
  }

  66% {
    margin-top: -90px;
  }

  71% {
    margin-top: 0px;
  }

  99.99% {
    margin-top: 0px;
  }

  100% {
    margin-top: -270px;
  }
}


/* About Section
********************************************************************* */
.aboutshow {
  animation: aboutshow 1.5s ease-in forwards;
}

@keyframes aboutshow {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Skills Section
********************************************************************* */

#skillbox1 {
  transform: translateX(-500px);

}
#skillbox2 {
  transform: translateX(500px);

}
#skillbox3 {
  transform: translateX(-500px);

}
#skillbox4 {
  transform: translateX(500px);

}
#skillbox1.skillshow {
  transform: translateX(-500px);
  animation: skbox1 1s ease-in forwards;
}

#skillbox3.skillshow {
  transform: translateX(-500px);
  animation: skbox3 1s ease-in forwards;
  animation-delay: 1s;
}

#skillbox2.skillshow {
  transform: translateX(500px);
  animation: skbox2 1s ease-in forwards;
  animation-delay: 0.5s;
}

#skillbox4.skillshow {
  transform: translateX(500px);
  animation: skbox4 1s ease-in forwards;
  animation-delay: 1.5s;
}


@keyframes skbox1 {
  0% {
    transform: translateX(-500px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes skbox2 {
  0% {
    transform: translateX(500px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes skbox3 {
  0% {
    transform: translateX(-500px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes skbox4 {
  0% {
    transform: translateX(500px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

.balls {
  position: absolute;
  border-radius: 100%;
  opacity: 0.7;
}

/* portfolio Section
********************************************************************* */

#mypofbox.active {
  animation: work 0.5s linear forwards;
}

@keyframes work {
  0% {
    opacity: 0;
    transform: rotate(-1080deg) scale(0);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

