/****************
****  INTRO  ****
*****************/
#intro .container {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  animation-duration: 1s;
}

/*******************
****  ABOUT ME  ****
*******************/
#aboutMe h2,
#aboutMe .separator {
  -webkit-animation-name: fadeOutt;
  animation-name: fadeOutt;
  animation-duration: 1s;
  opacity: 0;
}
#aboutMe.active h2,
#aboutMe.active .separator {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
  animation-duration: 1s;
  opacity: 1;
}
#aboutMe .columnsContainer div.column:nth-child(1) {
  -webkit-animation-name: fadeOutt;
  animation-name: fadeOutt;
  animation-duration: 1s;
  opacity: 0;
}
#aboutMe.active .columnsContainer div.column:nth-child(1) {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  animation-duration: 1s;
  opacity: 1;
}
#aboutMe .columnsContainer div.column:nth-child(2) {
  -webkit-animation-name: fadeOutt;
  animation-name: fadeOutt;
  animation-duration: 1s;
  opacity: 0;
}
#aboutMe.active .columnsContainer div.column:nth-child(2) {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
  animation-duration: 1s;
  opacity: 1;
}

/*******************
*****  CAREER  *****
*******************/
#career .container {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
  animation-duration: 1s;
  opacity: 0;
}
#career.active .container {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  animation-duration: 1s;
  opacity: 1;
}

/***********************
*****  CONTACT ME  *****
***********************/
#contactMe .container {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
  animation-duration: 1s;
  opacity: 0;
}
#contactMe.active .container {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  animation-duration: 1s;
  opacity: 1;
}
/********************
****  PORTFOLIO  ****
********************/
#portfolio h2,
#portfolio .separator,
#portfolio .portfolioFooter {
  opacity: 0;
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
  animation-duration: 1s;
}
#portfolio.active h2,
#portfolio.active .separator,
#portfolio.active .portfolioFooter {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  animation-duration: 1s;
  opacity: 1;
}

#portfolio .projectContainer {
  -webkit-animation-name: fadeOutt;
  animation-name: fadeOutt;
  animation-duration: 1s;
  opacity: 0;
}

#portfolio.active .projectContainer {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
  animation-duration: 1s;
  opacity: 1;
}

/************************
****  END PORTFOLIO  ****
*************************/

/************************
******  KEYFRAMES  ******
************************/
/* FADE IN LEFT */
@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    transform: translateX(-200px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

/* FADE IN LEFT */
@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(200px);
    transform: translateX(200px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(200px);
    -ms-transform: translateX(200px);
    transform: translateX(200px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

/* FADE OUT LEFT */
@-webkit-keyframes fadeOutLeft {
  0% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
  }
}
@keyframes fadeOutLeft {
  0% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(-200px);
    -ms-transform: translateX(-200px);
    transform: translateX(-200px);
  }
}

/* FADE IN */
@-webkit-keyframes fadeInn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* FADE OUT */
@-webkit-keyframes fadeOutt {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeOutt {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ZOOM IN */
@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

/* TESTING PROGRESS BARS */
#aboutMe:not(.active) .skillBar {
  /* min-width: 150px;
  width: 150px; */
  /* transition: width 1.5s;
  -webkit-transition: width 1.5s; */
  /* transition-timing-function: cubic-bezier(0.73, 0.02, 0.43, 0.99); */
  /* -webkit-transition-timing-function: cubic-bezier(0.73, 0.02, 0.43, 0.99); */
}
#aboutMe.active li .skillBar {
  transition: width 1.5s;
  -webkit-transition: width 1.5s;
  /* transition-timing-function: cubic-bezier(0.73, 0.02, 0.43, 0.99); */
  /* -webkit-transition-timing-function: cubic-bezier(0.73, 0.02, 0.43, 0.99); */
}
#aboutMe.active li:nth-child(1) .skillBar {
  transition-delay: 4s;
}
#aboutMe.active li:nth-child(2) .skillBar {
  transition-delay: 4.1s;
}
#aboutMe.active li:nth-child(3) .skillBar {
  transition-delay: 4.2s;
}
#aboutMe.active li:nth-child(4) .skillBar {
  transition-delay: 4.3s;
}
#aboutMe.active li:nth-child(5) .skillBar {
  transition-delay: 4.4s;
}
#aboutMe.active li:nth-child(6) .skillBar {
  transition-delay: 4.5s;
}
#aboutMe.active li:nth-child(7) .skillBar {
  transition-delay: 4.6s;
}
#aboutMe.active li:nth-child(8) .skillBar {
  transition-delay: 4.7s;
}
#aboutMe.active li:nth-child(9) .skillBar {
  transition-delay: 4.8s;
}
