translatable-content {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  font-family: 'Noto Serif', serif;
  color: white;
  flex-direction: column;
}

.wrapper--title,
.wrapper--para {
  position: relative;
  margin: 0;
  margin-bottom: 20px;
  margin-top: 10px;
}

.wrapper--title {
  font-size: 2em;
  margin-bottom: 40px;
}

.wrapper--para {
  line-height: 1.5;
  text-align: justify;
}

.wrapper--para:first-of-type {
  margin-top: 0;
}

.wrapper--no-margin {
  margin: 0;
}

.text-on {
  transition: opacity 2s ease, filter 2s ease;
  transition-delay: var(--delay, 0s);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.text-en {
  transition: opacity 2s ease, filter 2s ease;
  transition-delay: calc(var(--delay, 0s) + 0.2s);
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
}

.onaian-priority .text-on {
  position: relative;
}
.onaian-priority .text-en {
  position: absolute;
}

.wrapper--title::after,
.wrapper--para::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: blur(20px);
  background-repeat: repeat;
  animation-duration: 2s;
  animation-delay: var(--delay, 0s);
  z-index: 1;
  pointer-events: none;
}

.wrapper--title::after {
  background: url('https://assets.codelamp.co.uk/tec/images/animated-text.gif') no-repeat;
  background-position: 0px 5px;
  background-size: cover;
  height: 1.2em;
}

.wrapper--para::after {
  background: url('https://assets.codelamp.co.uk/tec/images/animated-text-v2.gif') repeat;
  background-size: auto 60px;
}

.text-on {
  opacity: 1;
  filter: blur(0px);
}

.text-en {
  opacity: 0;
  filter: blur(20px);
}

.translanimate .text-on {
  opacity: 0;
  filter: blur(20px);
  pointer-events: none;
}

.translanimate .text-en {
  opacity: 1;
  filter: blur(0px);
}

.translanimate .wrapper--title::after {
  animation-name: appearInOutTitle;
}
.translanimate .wrapper--para::after {
  animation-name: appearInOutPara;
}

@keyframes appearInOutTitle {
  0%   { opacity: 0.0; filter: blur(10px); }
  50%  { opacity: 0.2; filter: blur(4px); }
  100% { opacity: 0.0; filter: blur(10px); }
}

@keyframes appearInOutPara {
  0%   { opacity: 0.0; filter: blur(20px); }
  50%  { opacity: 0.2; filter: blur(4px); }
  100% { opacity: 0.0; filter: blur(20px); }
}