.animated-title {
  margin-right: 2.1rem;
  border-right: 0.0625rem solid #000000;
  padding: 1rem 0 2.62rem;
  overflow: hidden;
  width: 13.75rem;
  max-width: 100%;
}

@media only screen and (min-width: 60rem) {
  .animated-title {
    padding: 2rem 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .animated-title.animate h1, .animated-title.animate h2 {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  .animated-title h1, .animated-title h2 {
    transition: all 0.888s ease-out;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
  }
}

.animated-title h1, .animated-title h2 {
  font-size: 1.75rem;
  line-height: 2rem;
  text-align: right;
  margin: 0;
}

@media only screen and (min-width: 37.5rem) {
  .animated-title h1, .animated-title h2 {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }
}

@media only screen and (min-width: 80rem) {
  .animated-title h1, .animated-title h2 {
    font-size: 1.875rem;
    line-height: 2.125rem;
  }
}
