.animated-word-container{perspective:300px;transform-style:preserve-3d;vertical-align:baseline;height:1em;font-family:Noto Sans,sans-serif;font-weight:900;display:inline-block;position:relative;transform:translateY(-4px)}.word-new,.word-old{backface-visibility:hidden;white-space:nowrap;position:absolute;top:0;left:50%;transform:translate(-50%)}.word-new{opacity:0;transform:translate(-50%)rotateX(90deg)}.word-old{opacity:1;transform:translate(-50%)rotateX(0)}.word-new.animate{opacity:1;transition:transform .5s cubic-bezier(.2,1,.3,1),opacity .5s cubic-bezier(.2,1,.3,1);transform:translate(-50%)rotateX(0)}.word-old.animate{opacity:0;transition:transform .5s cubic-bezier(.2,1,.3,1),opacity .5s cubic-bezier(.2,1,.3,1);transform:translate(-50%)rotateX(-90deg)}
