/*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/@wordpress/scripts/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./packages/module-library/animated-headline/style.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************/
.dsm-animated-headlines-words-container .dsm-animated-prefix,
.dsm-animated-headlines-words-container .dsm-animated-suffix {
  white-space: pre-wrap;
  display: inline-block;
  line-height: 1em;
}
.dsm-animated-headlines-words-container .dsm-animated-prefix h1 {
  padding-bottom: 0;
}
.dsm-animated-headlines-words-container .dsm-animated-suffix h1 {
  padding-bottom: 0;
}
.dsm-animated-headlines-words-container .dsm-animated-words-wrapper {
  vertical-align: text-bottom;
  display: inline-block;
  position: relative;
  text-align: left;
  font-weight: 700;
  line-height: 1em;
  font-style: italic;
}
.dsm-animated-headlines-words-container .dsm-animated-words-wrapper b {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
  line-height: 1.4em;
  font-family: inherit;
}
.dsm-animated-headlines-words-container .dsm-animated-words-wrapper b.is-visible {
  position: relative;
}
.dsm-animated-headlines-words-container .dsm-animated-words-wrapper b.is-hidden {
  opacity: 0;
}
.no-js .dsm-animated-headlines-words-container .dsm-animated-words-wrapper b {
  opacity: 0;
}
.no-js .dsm-animated-headlines-words-container .dsm-animated-words-wrapper b.is-visible {
  opacity: 1;
}

/* -------------------------------- 
rotate-1 
-------------------------------- */
.dsm-headline.rotate-1 .dsm-animated-words-wrapper {
  perspective: 300px;
}
.dsm-headline.rotate-1 b {
  opacity: 0;
  transform-origin: 50% 100%;
  transform: rotateX(180deg);
}
.dsm-headline.rotate-1 b.is-visible {
  opacity: 1;
  transform: rotateX(0deg);
  animation: dsm-rotate-1-in 1.2s;
}
.dsm-headline.rotate-1 b.is-hidden {
  transform: rotateX(180deg);
  animation: dsm-rotate-1-out 1.2s;
}

@keyframes dsm-rotate-1-in {
  0% {
    transform: rotateX(180deg);
    opacity: 0;
  }
  35% {
    transform: rotateX(120deg);
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  100% {
    transform: rotateX(360deg);
    opacity: 1;
  }
}
@keyframes dsm-rotate-1-out {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }
  35% {
    transform: rotateX(-40deg);
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    transform: rotateX(180deg);
    opacity: 0;
  }
}
/* -------------------------------- 
type 
-------------------------------- */
.dsm-headline.type .dsm-animated-words-wrapper {
  padding-right: 0.1em;
  overflow: hidden;
  min-height: 1.4em;
}
.dsm-headline.type .dsm-animated-words-wrapper::after {
  /* vertical bar */
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: var(--dsm-bar-width, 1px);
  background-color: var(--dsm-bar-color);
}
.dsm-headline.type .dsm-animated-words-wrapper.waiting::after {
  animation: dsm-pulse 1s infinite;
}
.dsm-headline.type .dsm-animated-words-wrapper.selected {
  background-color: var(--dsm-text-highlight);
}
.dsm-headline.type .dsm-animated-words-wrapper.selected::after {
  visibility: hidden;
}
.dsm-headline.type .dsm-animated-words-wrapper.selected b {
  color: var(--dsm-text-color);
}
.dsm-headline.type b {
  opacity: 0;
}
.dsm-headline.type b.is-visible {
  opacity: 1;
}
.dsm-headline.type i {
  position: relative;
  opacity: 0;
  display: inline-block;
  font-style: inherit;
}
.dsm-headline.type i.in {
  opacity: 1;
}
.dsm-headline.type i.out {
  opacity: 0;
}

@keyframes dsm-pulse {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  40% {
    transform: translateY(-50%) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: translateY(-50%) scale(0);
    opacity: 0;
  }
}
/* -------------------------------- 
rotate-2 
-------------------------------- */
.dsm-headline.rotate-2 .dsm-animated-words-wrapper {
  perspective: 300px;
}
.dsm-headline.rotate-2 i,
.dsm-headline.rotate-2 em {
  display: inline-block;
  backface-visibility: hidden;
  font-style: inherit;
}
.dsm-headline.rotate-2 b {
  opacity: 0;
}
.dsm-headline.rotate-2 i {
  transform-style: preserve-3d;
  transform: translateZ(-20px) rotateX(90deg);
  opacity: 0;
}
.is-visible .dsm-headline.rotate-2 i {
  opacity: 1;
}
.dsm-headline.rotate-2 i.in {
  animation: dsm-rotate-2-in 0.4s forwards;
}
.dsm-headline.rotate-2 i.out {
  animation: dsm-rotate-2-out 0.4s forwards;
}
.dsm-headline.rotate-2 em {
  transform: translateZ(20px);
}

.no-csstransitions .dsm-headline.rotate-2 i {
  transform: rotateX(0deg);
  opacity: 0;
}
.no-csstransitions .dsm-headline.rotate-2 i em {
  transform: scale(1);
}

.no-csstransitions .dsm-headline.rotate-2 .is-visible i {
  opacity: 1;
}

@keyframes dsm-rotate-2-in {
  0% {
    opacity: 0;
    transform: translateZ(-20px) rotateX(90deg);
  }
  60% {
    opacity: 1;
    transform: translateZ(-20px) rotateX(-10deg);
  }
  100% {
    opacity: 1;
    transform: translateZ(-20px) rotateX(0deg);
  }
}
@keyframes dsm-rotate-2-out {
  0% {
    opacity: 1;
    transform: translateZ(-20px) rotateX(0);
  }
  60% {
    opacity: 0;
    transform: translateZ(-20px) rotateX(-100deg);
  }
  100% {
    opacity: 0;
    transform: translateZ(-20px) rotateX(-90deg);
  }
}
/* -------------------------------- 
loading-bar 
-------------------------------- */
.dsm-headline.loading-bar span {
  display: inline-block;
}
.dsm-headline.loading-bar .dsm-animated-words-wrapper {
  padding-right: 0.1em;
  overflow: hidden;
}
.dsm-headline.loading-bar .dsm-animated-words-wrapper::after {
  /* loading bar */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: var(--dsm-bar-height);
  width: 0;
  background: var(--dsm-bar-color);
  z-index: 2;
  transition: width 0.3s -0.1s;
}
.dsm-headline.loading-bar .dsm-animated-words-wrapper.is-loading::after {
  width: 100%;
  transition: width 3s;
}
.dsm-headline.loading-bar b {
  top: 0.2em;
  opacity: 0;
  transition: opacity 0.3s;
}
.dsm-headline.loading-bar b.is-visible {
  opacity: 1;
  top: 0;
}

/* -------------------------------- 
slide 
-------------------------------- */
.dsm-headline.slide span {
  display: inline-block;
}
.dsm-headline.slide .dsm-animated-words-wrapper {
  overflow: hidden;
}
.dsm-headline.slide b {
  opacity: 0;
  top: 0.2em;
}
.dsm-headline.slide b.is-visible {
  top: 0;
  opacity: 1;
  animation: dsm-slide-in 0.6s;
}
.dsm-headline.slide b.is-hidden {
  animation: dsm-slide-out 0.6s;
}

@keyframes dsm-slide-in {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  60% {
    opacity: 1;
    transform: translateY(20%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dsm-slide-out {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  60% {
    opacity: 0;
    transform: translateY(120%);
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}
/* -------------------------------- 
clip 
-------------------------------- */
.dsm-headline.clip span {
  display: inline-block;
}
.dsm-headline.clip .dsm-animated-words-wrapper {
  overflow: hidden;
}
.dsm-headline.clip .dsm-animated-words-wrapper::after {
  /* line */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--dsm-bar-width);
  height: 100%;
  background-color: var(--dsm-bar-color);
}
.dsm-headline.clip b {
  opacity: 0;
}
.dsm-headline.clip b.is-visible {
  opacity: 1;
}

/* -------------------------------- 
zoom 
-------------------------------- */
.dsm-headline.zoom .dsm-animated-words-wrapper {
  perspective: 300px;
}
.dsm-headline.zoom b {
  opacity: 0;
}
.dsm-headline.zoom b.is-visible {
  opacity: 1;
  animation: dsm-zoom-in 0.8s;
}
.dsm-headline.zoom b.is-hidden {
  animation: dsm-zoom-out 0.8s;
}

@keyframes dsm-zoom-in {
  0% {
    opacity: 0;
    transform: translateZ(100px);
  }
  100% {
    opacity: 1;
    transform: translateZ(0);
  }
}
@keyframes dsm-zoom-out {
  0% {
    opacity: 1;
    transform: translateZ(0);
  }
  100% {
    opacity: 0;
    transform: translateZ(-100px);
  }
}
/* -------------------------------- 
rotate-3 
-------------------------------- */
.dsm-headline.rotate-3 .dsm-animated-words-wrapper {
  perspective: 300px;
}
.dsm-headline.rotate-3 b {
  opacity: 0;
}
.dsm-headline.rotate-3 i {
  display: inline-block;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}
.is-visible .dsm-headline.rotate-3 i {
  transform: rotateY(0deg);
}
.dsm-headline.rotate-3 i.in {
  animation: dsm-rotate-3-in 0.6s forwards;
}
.dsm-headline.rotate-3 i.out {
  animation: dsm-rotate-3-out 0.6s forwards;
}

.no-csstransitions .dsm-headline.rotate-3 i {
  transform: rotateY(0deg);
  opacity: 0;
}

.no-csstransitions .dsm-headline.rotate-3 .is-visible i {
  opacity: 1;
}

@keyframes dsm-rotate-3-in {
  0% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}
@keyframes dsm-rotate-3-out {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(-180deg);
  }
}
/* -------------------------------- 
scale 
-------------------------------- */
.dsm-headline.scale b {
  opacity: 0;
}
.dsm-headline.scale i {
  display: inline-block;
  opacity: 0;
  transform: scale(0);
}
.is-visible .dsm-headline.scale i {
  opacity: 1;
}
.dsm-headline.scale i.in {
  animation: dsm-scale-up 0.6s forwards;
}
.dsm-headline.scale i.out {
  animation: dsm-scale-down 0.6s forwards;
}

.no-csstransitions .dsm-headline.scale i {
  transform: scale(1);
  opacity: 0;
}

.no-csstransitions .dsm-headline.scale .is-visible i {
  opacity: 1;
}

@keyframes dsm-scale-up {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes dsm-scale-down {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  60% {
    transform: scale(0);
    opacity: 0;
  }
}
/* -------------------------------- 
push 
-------------------------------- */
.dsm-headline.push b {
  opacity: 0;
}
.dsm-headline.push b.is-visible {
  opacity: 1;
  animation: dsm-push-in 0.6s;
}
.dsm-headline.push b.is-hidden {
  animation: dsm-push-out 0.6s;
}

@keyframes dsm-push-in {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  60% {
    opacity: 1;
    transform: translateX(10%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes dsm-push-out {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  60% {
    opacity: 0;
    transform: translateX(110%);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}
