.rotatingtext {
  opacity: 0;
  animation: rotateOpacity 15s infinite;
  animation-timing-function: cubic-bezier(0.4, 0.1, 0, 1);
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
}

.rotatingtext:nth-child(1) {
  animation-delay: 0s;
}
.rotatingtext:nth-child(2) {
  animation-delay: 2.5s;
}
.rotatingtext:nth-child(3) {
  animation-delay: 5s;
}
.rotatingtext:nth-child(4) {
  animation-delay: 7.5s;
}
.rotatingtext:nth-child(5) {
  animation-delay: 10s;
}
.rotatingtext:nth-child(6) {
  animation-delay: 12.5s;
}

@keyframes rotateOpacity {
  0% {
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  16.66% {
    opacity: 1;
  }
  19.66% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Heading tags were corrected for SEO (one h1 per page). These rules keep each heading
   looking exactly as it did with its previous tag. */
.hero-title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.hero-heading {
  display: block;
  line-height: 1.3;
}
h3.bold-text-12 {
  line-height: 1.3;
}
@media screen and (min-width: 992px) {
  .hero-heading {
    font-size: 2.8em;
  }
  .brix---heading-h1-size-2 {
    font-size: 3.6em;
  }
}

/* Fill the hero at any screen shape without distorting the image (crops the edges instead) */
.hero-cover {
  object-fit: cover;
  object-position: center;
}
