[data-entrance] {
    visibility: hidden;
    backface-visibility: hidden;
}

.is-animating[data-entrance],
.is-animated[data-entrance] {
    visibility: visible;
}

.builder-element[data-entrance] {
    /* Don't hide the element in the builder, otherwise it becomes unselectable. */
    visibility: visible;
}

/* Text animations: words and letters move as small boxes; screen readers read the original text. */
.mypb-split-word {
    display: inline-block;
    white-space: nowrap;
}

.mypb-split-letter {
    display: inline-block;
    white-space: pre;
}


.mypb-split-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typewriter caret */
.mypb-typing-caret {
    box-shadow: 0.08em 0 0 0 currentColor;
    animation: mypb-caret-blink 0.9s steps(1) infinite;
}

@keyframes mypb-caret-blink {
    50% { box-shadow: none; }
}
