.mfm-rotator {
  text-transform: uppercase;
  padding: 75px;
  color: #498661;
  display: flex;
  align-items: center;
  position: relative;
}
.mfm-rotator .mfm-hero-inner {
  position: relative;
}
.mfm-rotator .mfm-hero-inner h2 {
  margin: 20px 0 0;
}
.mfm-rotator .words-rotator {
  display: inline-block;
  min-width: 350px;
  text-align: left;
}
.mfm-rotator .words-rotator span {
  position: absolute;
  font-weight: bold;
  top: 10px;
  opacity: 0;
  animation: rotateWord 12s linear infinite 0s;
  background-color: #a39161;
  color: #fff;
  padding: 10px;
}
@keyframes rotateWord {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 0;
    transform: translateY(-30px);
  }
  5% {
    opacity: 1;
    transform: translateY(0px);
  }
  17% {
    opacity: 1;
    transform: translateY(0px);
  }
  20% {
    opacity: 0;
    transform: translateY(30px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.words-rotator span:nth-child(2) {
  animation-delay: 3s;
}

.words-rotator span:nth-child(3) {
  animation-delay: 6s;
}

.words-rotator span:nth-child(4) {
  animation-delay: 9s;
}

@media screen and (max-width: 1024px) {
  .mfm-rotator {
    display: block;
    padding: 0;
  }
  .mfm-rotator .mfm-hero-inner {
    position: relative;
  }
  .mfm-rotator .mfm-hero-inner h2 {
    margin: 20px 0 0;
    font-size: 1.25em;
    text-align: center;
    width: 100%;
  }
  .mfm-rotator .words-rotator {
    display: block;
    min-width: 350px;
    text-align: left;
    text-align: center;
    width: 100%;
    margin: 10px auto;
  }
  .mfm-rotator .words-rotator span {
    position: relative;
    font-weight: bold;
    top: 0;
    width: 90%;
    clear: both;
    display: block;
    opacity: 1;
    animation: none;
    background-color: rgba(163, 145, 97, 0.8);
    color: #fff;
    padding: 10px;
    text-align: center;
    margin: 10px auto;
  }
}/*# sourceMappingURL=mfm-rotator.css.map */