.scroll-down-btn {
  display: inline-block;
  text-decoration: none;
}

  .scroll-down-btn p {
    margin-top: 1.25rem;
    color: white;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .375rem;
    text-indent: .375rem;
    animation: colorText 5s ease-out infinite, nudgeText 5s ease-out infinite;
  }

.mouse {
  background: #2c333e linear-gradient(transparent 0%, transparent 50%, white 50%, white 100%);
  position: relative;
  width: 38px;
  height: 65px;
  margin: 0 auto;
  border-radius: 6rem;
  background-size: 100% 200%;
  animation: colorSlide 5s linear infinite, nudgeMouse 5s ease-out infinite;
}

  .mouse:before, .mouse:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }

  .mouse:before {
    width: 34px;
    height: 61px;
    background-color: #121519;
    border-radius: 6rem;
  }

  .mouse:after {
    background-color: white;
    width: .375rem;
    height: .375rem;
    border-radius: 100%;
    animation: trackBallSlide 5s linear infinite;
  }

@keyframes colorSlide {
  0% {
    background-position: 0% 100%;
  }

  20% {
    background-position: 0% 0%;
  }

  21% {
    background-color: #2c333e;
  }

  29.99% {
    background-color: white;
    background-position: 0% 0%;
  }

  30% {
    background-color: #2c333e;
    background-position: 0% 100%;
  }

  50% {
    background-position: 0% 0%;
  }

  51% {
    background-color: #2c333e;
  }

  59% {
    background-color: white;
    background-position: 0% 0%;
  }

  60% {
    background-color: #2c333e;
    background-position: 0% 100%;
  }

  80% {
    background-position: 0% 0%;
  }

  81% {
    background-color: #2c333e;
  }

  90%, 100% {
    background-color: white;
  }
}

@keyframes trackBallSlide {
  0% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }

  6% {
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }

  14% {
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }

  15%, 19% {
    opacity: 0;
    transform: scale(0.4) translateY(-20px);
  }

  28%, 29.99% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }

  30% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }

  36% {
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }

  44% {
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }

  45%, 49% {
    opacity: 0;
    transform: scale(0.4) translateY(-20px);
  }

  58%, 59.99% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }

  60% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }

  66% {
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }

  74% {
    opacity: 0;
    transform: scale(0.4) translateY(40px);
  }

  75%, 79% {
    opacity: 0;
    transform: scale(0.4) translateY(-20px);
  }

  88%, 100% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
}

@keyframes nudgeMouse {
  0%, 30%, 60%, 90% {
    transform: translateY(0);
  }

  20%, 50%, 80% {
    transform: translateY(8px);
  }
}

@keyframes nudgeText {
  0%, 30%, 60%, 90% {
    transform: translateY(0);
  }

  20%, 50%, 80% {
    transform: translateY(2px);
  }
}

@keyframes colorText {
  21%, 51%, 81% {
    color: #2c333e;
  }

  30%, 60%, 90% {
    color: white;
  }
}
