


/* TEMA CLARO */
body.tema-claro {
  color: black;
  background: #170804 url("img/fondos/bg.jpg") repeat left top;
}

body.tema-claro h1,
body.tema-claro h2,
body.tema-claro h3,
body.tema-claro h4,
body.tema-claro h5,
body.tema-claro h6 {
  color: black;
}

body.tema-claro h4 {
  border-bottom: 1px solid black;
}

body.tema-claro p {
  text-shadow: none;
}

body.tema-claro .contenido-modal,
body.tema-claro .contenido-modal h3,
body.tema-claro .boton-cierre,
body.tema-claro .contenido-modal1,
body.tema-claro .contenido-modal1 h3,
body.tema-claro .boton-cierre1,
body.tema-claro .contenido-modal2,
body.tema-claro .contenido-modal2 h3,
body.tema-claro .boton-cierre2 {
  color: white;
}

body.tema-claro div.dialogo,
body.tema-claro div.seguir,
body.tema-claro div.opciones {
  text-shadow: none;
}

body.tema-claro .marcapaginas {
  border: 1px solid #000000;
}

body.tema-claro ul.dialogo {
  border: 1px solid #0059ff;
}

body.tema-claro .list-group-item:hover {
  color: white;
  background-color: #0059ff;
  border: 1px solid #0059ff;
}

body.tema-claro input[type="radio"]:checked ~ label {
  color: #0059ff;
}

body.tema-claro .list-group-item,
body.tema-claro .list-group-item-action {
  text-shadow: none;
  border: 1px solid #0059ff;
  transition: all 0.5s ease;
}

body.tema-claro li,
body.tema-claro li span,
body.tema-claro .tu-eliges {
  color: #0059ff;
}

body.tema-claro ul.dialogo li:first-child {
  background: #0059ff;
  color: white;
}

body.tema-claro ol li {
  color: black;
}

/* TEMA OSCURO */
body {
  color: white;
  font-family: "Rubik", sans-serif;
  font-family: "Work Sans", sans-serif;
  font-family: "Montserrat", sans-serif;
  font-family: "Quattrocento Sans", sans-serif;
  background: #170804 url("img/fondos/bg.jpg") repeat left top;
  background: #170804 url("img/fondos/page_bg.jpg") repeat-x left top;
}

#columna-de-la-img,
.filtromonitor-enciende {
  overflow: hidden;
}

#columna-del-texto {
  padding-bottom: 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rubik", sans-serif;
  margin: 20px auto;
  text-shadow: black 1px 1px 3px;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 1.8em;
}

h3,
legend {
  font-size: 1.4em;
}

h4 {
  font-size: 1.2em;
  border-bottom: 1px solid white;
}

h5 {
  font-size: 1em;
  margin: 3px auto;
}

p,
.list-group-item {
  font-size: 1.15em;
  text-shadow: black 1px 1px 0;
}

.negrita {
  text-weight: bold;
}

li {
  cursor: pointer;
}

div.fragmento-activo + p::first-letter,
p.capitular::first-letter {
  position: relative;
  padding-top: 0.1em;
  display: block;
  float: left;
  font-weight: normal;
  font-size: 3.2em;
  line-height: 0.8em;
}

div.fragmento-activo + p::first-line,
p.capitular::first-line {
  text-transform: uppercase;
  font-weight: bold;
}

div.texto p span,
div.texto li span {
  cursor: pointer;
  color: #2a9fd6;
}

ol,
ul {
  font-size: 1.15em;
}

ol li,
ul.cursor-default li {
  cursor: default;
}

div#contenedor-estadisticas p {
  margin-top: 10px;
  margin-bottom: 0;
}

.progress {
  border: 1px solid rgb(100, 100, 100);
  -webkit-box-shadow: inset 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: inset 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: inset 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
}

.progress-bar {
  text-align: right;
}

.marcapaginas {
  border: 1px solid #2a9fd6;
  border-radius: 5px;
  padding: 3px;
  margin: 25px auto 40px auto;
  background-color: rgba(23, 23, 23, 0.25);
}

.ribbon {
  width: 0px;
  height: 35px;
  background-color: transparent;
  position: absolute;
  top: -5px;
  right: 20px;
  border: solid 15px #851600;
  border-bottom: solid 15px transparent;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  transition: all 0.2s;
  cursor: pointer;
}

/* Diálogos dentro de cada episodio */
ul.dialogo {
  list-style: none;
  border: 1px solid #2a9fd6;
  padding: 25px 15px 15px 15px;
  border-radius: 5px;
  /*font-size: 1.15em;*/
}

ul.dialogo li input {
  float: left;
}

ul.dialogo li label {
  margin-left: 30px;
  margin-top: -20px;
}

ul.dialogo li:first-child {
  margin: -25px -15px 20px -15px;
  padding: 3px 5px 3px 10px;
  background: #2a9fd6;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

div.dialogo,
div.seguir,
div.opciones {
  text-shadow: black 1px 1px 0;
  margin-bottom: 20px;
}

.dialogo {
  max-height: 3000px;
  opacity: 1;
}

.esconder {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 1000ms, opacity 1000ms;
}

/* Fin de Diálogos dentro de cada episodio */
/* Snackbar que informa del cambio ocasionado por la elección en el diálogo */
#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: rgb(0, 0, 0);
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 40%;
  font-size: 17px;
  border: 1px solid white;
  border-radius: 5px;
}

#snackbar.showSnackbar {
  visibility: visible;
  -webkit-animation: fade-in 0.5s, fade-out 0.5s 2.5s;
  animation: fade-in 0.5s, fade-out 0.5s 2.5s;
}

@-webkit-keyframes fade-in {
  from {
    top: 0;
    opacity: 0;
  }

  to {
    top: 40%;
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    top: 0;
    opacity: 0;
  }

  to {
    top: 40%;
    opacity: 1;
  }
}

@-webkit-keyframes fade-out {
  from {
    top: 40%;
    opacity: 1;
  }

  to {
    top: 0;
    opacity: 0;
  }
}

@keyframes fade-out {
  from {
    top: 40%;
    opacity: 1;
  }

  to {
    top: 0;
    opacity: 0;
  }
}

/* Fin del snackbar que informa del resultado del diálogo */
#contenedor-imagen {
  position: relative;
  display: block;
}

#contenedor-imagen img {
  position: absolute;
  width: 100%;
  height: auto;
  display: block;
}

.contenedor-imagen img {
  max-width: 300px;
  height: auto;
}

.oculta,
.fragmento-oculto {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition-timing-function: linear, step-end;
}

.escena {
  transition: opacity 2s ease-in-out, height 2s step-start;
}

.img-oculta {
  opacity: 0;
  overflow: hidden;
  /*animation: fadeout 2s;*/
}

.activa,
.img-activa,
.fragmento-activo {
  opacity: 1;
  animation: fadein 2s;
}

.btn {
  transition: all 0.5s ease;
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
  }

  to {
    opacity: 01;
  }
}

input.boton {
  display: block;
}

.boton,
.btn {
  margin: 5px auto;
  text-shadow: black 1px 1px 0;
}

.tu-eliges {
  color: #2a9fd6;
}

.list-group {
  background: transparent;
}

.list-group-item {
  color: #2a9fd6;
  background-color: transparent;
  border: 1px solid #2a9fd6;
}

.list-group-item:hover {
  color: white;
  background-color: #2a9fd6;
  border: 1px solid #2a9fd6;
  transition: all 0.5s ease;
}

/*
Ventana modal
https://sabe.io/tutorials/how-to-create-modal-popup-box
*/

/*Este contenedor es el que quedará difuminado cuando
se despliegue la ventana modal*/
.contenedor{
  background: transparent;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.difuminado{
  filter:blur(3px);
}

.ventana-modal,
.ventana-modal1,
.ventana-modal2 {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(23, 23, 23, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
  z-index: 9999999;
}

.contenido-modal,
.contenido-modal1,
.contenido-modal2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(24, 24, 24, 0.85);
  padding: 1rem 1rem;
  width: 24rem;
  border-radius: 0.5rem;
  border: 1px solid darkgray;
  -webkit-box-shadow: 0px 0px 20px 20px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 20px 20px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 20px 20px rgba(0, 0, 0, 0.75);
}

.contenido-modal1 .boton {
  width: 14rem;
}

.boton-cierre,
.boton-cierre1,
.boton-cierre2 {
  margin: -30px -30px auto auto;
  float: right;
  width: 2rem;
  height: 2rem;
  text-align: center;
  cursor: pointer;
  border-radius: 1rem;
  line-height: 25px;
  font-size: 40px;
  background-color: gray;
  background-color: black;
  border: 2px solid white;
}

.boton-cierre:hover,
.boton-cierre1:hover,
.boton-cierre2:hover {
  background-color: darkgray;
}

.muestra-modal,
.muestra-modal1,
.muestra-modal2 {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

/*
PANEL DE AJUSTES
https://www.cssscript.com/basic-hamburger-toggle-menu-css-vanilla-javascript/
 */
/* nav toggle */
.nav-toggle {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: pointer;
  height: 1rem;
  left: 2rem;
  position: fixed;
  top: 2rem;
  width: 3rem;
  z-index: 99992;
}

.nav-toggle:hover {
  opacity: 0.8;
}

.nav-toggle .nav-toggle-bar,
.nav-toggle .nav-toggle-bar::after,
.nav-toggle .nav-toggle-bar::before {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  background: white;
  content: "";
  height: 0.5rem;
  width: 100%;
}

.nav-toggle .nav-toggle-bar {
  margin-top: 0;
}

.nav-toggle .nav-toggle-bar::after {
  margin-top: 0.8rem;
}

.nav-toggle .nav-toggle-bar::before {
  margin-top: -0.8rem;
}

.nav-toggle.expanded .nav-toggle-bar {
  background: transparent;
}

.nav-toggle.expanded .nav-toggle-bar::after,
.nav-toggle.expanded .nav-toggle-bar::before {
  background: white;
  margin-top: 0;
}

.nav-toggle.expanded .nav-toggle-bar::after {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.nav-toggle.expanded .nav-toggle-bar::before {
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.nav {
  -webkit-transition: left 0.5s ease;
  -moz-transition: left 0.5s ease;
  -ms-transition: left 0.5s ease;
  -o-transition: left 0.5s ease;
  transition: left 0.5s ease;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  cursor: pointer;
  font-size: 1rem;
  height: 100vh;
  left: -20rem;
  padding: 6rem 2rem 2rem 2rem;
  position: fixed;
  top: 0;
  width: 20rem;
  z-index: 99991;
}

.nav.expanded {
  left: 0;
}

.nav #ajustes {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav #ajustes .btn {
  max-width: 18rem;
  width: 17rem;
  padding-left: 3px;
}

.nav legend {
  margin: 10px auto 0 auto;
  font-size: 18px;
}

/*
 BOTONES RADIO PERSONALIZADOS DEL PANEL DE AJUSTES

https://codepen.io/wallas/pen/lFABr

https://codepen.io/AngelaVelasquez/pen/Eypnq
*/
#ajustesCRT,
#ajustesTema {
  display: block;
  position: relative;
  margin: 10px auto;
  height: auto;
}

#ajustesCRT ul,
#ajustesTema ul {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#ajustesCRT ul li,
#ajustesTema ul li {
  color: #aaaaaa;
  display: block;
  position: relative;
  float: left;
  width: 100%;
  height: 65px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

#ajustesCRT ul li:last-child,
#ajustesTema ul li:last-child {
  border-bottom: none;
}

#ajustesCRT ul li input[type="radio"],
#ajustesTema ul li input[type="radio"] {
  position: absolute;
  visibility: hidden;
}

#ajustesCRT ul li label,
#ajustesTema ul li label {
  display: block;
  position: relative;
  font-weight: 300;
  font-size: 1em;
  padding: 15px 25px 25px 60px;
  margin: 5px auto;
  height: 30px;
  z-index: 9;
  cursor: pointer;
  -webkit-transition: all 0.25s linear;
  transition: all 0.25s linear;
}

#ajustesCRT ul li:hover label,
#ajustesTema ul li:hover label {
  color: #ffffff;
}

ul li .check {
  display: block;
  position: absolute;
  border: 5px solid #aaaaaa;
  border-radius: 100%;
  height: 25px;
  width: 25px;
  top: 20px;
  left: 20px;
  z-index: 5;
  transition: border 0.25s linear;
  -webkit-transition: border 0.25s linear;
}

ul li:hover .check {
  border: 5px solid #ffffff;
}

ul li .check::before {
  display: block;
  position: absolute;
  content: "";
  border-radius: 100%;
  height: 15px;
  width: 15px;
  top: 3px;
  left: 3px;
  margin: auto;
  transition: background 0.25s linear;
  -webkit-transition: background 0.25s linear;
}

input[type="radio"]:checked ~ .check {
  border: 2px solid #2a9fd6;
}

input[type="radio"]:checked ~ .check::before {
  background: #2a9fd6;
  animation: pulse 1s;
}

input[type="radio"]:checked ~ label {
  color: #2a9fd6;
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    -moz-box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }

  100% {
    -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/*
   Filtro de monitor antiguo:

   https://codepen.io/lbebber/pen/XJRdrV


   */
@keyframes flicker {
  0% {
    opacity: 0.58233;
  }

  5% {
    opacity: 0.71756;
  }

  10% {
    opacity: 0.93537;
  }

  15% {
    opacity: 0.34457;
  }

  20% {
    opacity: 0.65457;
  }

  25% {
    opacity: 0.82496;
  }

  30% {
    opacity: 0.16671;
  }

  35% {
    opacity: 0.18853;
  }

  40% {
    opacity: 0.00878;
  }

  45% {
    opacity: 0.66446;
  }

  50% {
    opacity: 0.29015;
  }

  55% {
    opacity: 0.44332;
  }

  60% {
    opacity: 0.61897;
  }

  65% {
    opacity: 0.66908;
  }

  70% {
    opacity: 0.78134;
  }

  75% {
    opacity: 0.05422;
  }

  80% {
    opacity: 0.07059;
  }

  85% {
    opacity: 0.82064;
  }

  90% {
    opacity: 0.90819;
  }

  95% {
    opacity: 0.29332;
  }

  100% {
    opacity: 0.29232;
  }
}

.filtromonitor {
  overflow: auto;
}

.filtroimagen {
  overflow: hidden;
  border-radius: 15px;
}

.filtromonitor,
.filtroimagen {
  background: #121010;
  height: 100vh;
  position: relative;
}

.filtromonitor::after,
.filtroimagen::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}

.filtromonitor::before,
.filtroimagen::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

@keyframes turn-on {
  0% {
    transform: scale(1, 0.8) translate3d(0, 0, 0);
    -webkit-filter: brightness(30);
    filter: brightness(30);
    opacity: 1;
  }

  3.5% {
    transform: scale(1, 0.8) translate3d(0, 100%, 0);
  }

  3.6% {
    transform: scale(1, 0.8) translate3d(0, -100%, 0);
    opacity: 1;
  }

  9% {
    transform: scale(1.3, 0.6) translate3d(0, 100%, 0);
    -webkit-filter: brightness(30);
    filter: brightness(30);
    opacity: 0;
  }

  11% {
    transform: scale(1, 1) translate3d(0, 0, 0);
    -webkit-filter: contrast(0) brightness(0);
    filter: contrast(0) brightness(0);
    opacity: 0;
  }

  100% {
    transform: scale(1, 1) translate3d(0, 0, 0);
    -webkit-filter: contrast(1) brightness(1.2) saturate(1.3);
    filter: contrast(1) brightness(1.2) saturate(1.3);
    opacity: 1;
  }
}

@keyframes turn-off {
  0% {
    transform: scale(1, 1.3) translate3d(0, 0, 0);
    -webkit-filter: brightness(1);
    filter: brightness(1);
    opacity: 1;
  }

  60% {
    transform: scale(1.3, 0.001) translate3d(0, 0, 0);
    -webkit-filter: brightness(10);
    filter: brightness(10);
  }

  100% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: scale(0, 0.0001) translate3d(0, 0, 0);
    -webkit-filter: brightness(50);
    filter: brightness(50);
  }
}

.screen {
  width: 100%;
  height: 100%;
  border: none;
}

.filtromonitor-apaga > .screen,
.filtroimagen-apaga > .screen {
  animation: turn-off 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  animation-fill-mode: forwards;
}

.filtromonitor-enciende > .screen,
.filtroimagen-enciende > .screen {
  animation: turn-on 4s linear;
  animation-fill-mode: forwards;
}

/*
http://aleclownes.com/2017/02/01/crt-display.html
*/
@keyframes parpadeo {
  0% {
    opacity: 0.27861;
  }

  5% {
    opacity: 0.34769;
  }

  10% {
    opacity: 0.23604;
  }

  15% {
    opacity: 0.90626;
  }

  20% {
    opacity: 0.18128;
  }

  25% {
    opacity: 0.83891;
  }

  30% {
    opacity: 0.65583;
  }

  35% {
    opacity: 0.67807;
  }

  40% {
    opacity: 0.26559;
  }

  45% {
    opacity: 0.84693;
  }

  50% {
    opacity: 0.96019;
  }

  55% {
    opacity: 0.08594;
  }

  60% {
    opacity: 0.20313;
  }

  65% {
    opacity: 0.71988;
  }

  70% {
    opacity: 0.53455;
  }

  75% {
    opacity: 0.37288;
  }

  80% {
    opacity: 0.71428;
  }

  85% {
    opacity: 0.70419;
  }

  90% {
    opacity: 0.7003;
  }

  95% {
    opacity: 0.36108;
  }

  100% {
    opacity: 0.24387;
  }
}

@keyframes textShadow {
  0% {
    text-shadow: 0.4389924193300864px 0 1px rgba(0, 30, 255, 0.5),
      -0.4389924193300864px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  5% {
    text-shadow: 2.7928974010788217px 0 1px rgba(0, 30, 255, 0.5),
      -2.7928974010788217px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  10% {
    text-shadow: 0.02956275843481219px 0 1px rgba(0, 30, 255, 0.5),
      -0.02956275843481219px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  15% {
    text-shadow: 0.40218538552878136px 0 1px rgba(0, 30, 255, 0.5),
      -0.40218538552878136px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  20% {
    text-shadow: 3.4794037899852017px 0 1px rgba(0, 30, 255, 0.5),
      -3.4794037899852017px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  25% {
    text-shadow: 1.6125630401149584px 0 1px rgba(0, 30, 255, 0.5),
      -1.6125630401149584px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  30% {
    text-shadow: 0.7015590085143956px 0 1px rgba(0, 30, 255, 0.5),
      -0.7015590085143956px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  35% {
    text-shadow: 3.896914047650351px 0 1px rgba(0, 30, 255, 0.5),
      -3.896914047650351px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  40% {
    text-shadow: 3.870905614848819px 0 1px rgba(0, 30, 255, 0.5),
      -3.870905614848819px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  45% {
    text-shadow: 2.231056963361899px 0 1px rgba(0, 30, 255, 0.5),
      -2.231056963361899px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  50% {
    text-shadow: 0.08084290417898504px 0 1px rgba(0, 30, 255, 0.5),
      -0.08084290417898504px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  55% {
    text-shadow: 2.3758461067427543px 0 1px rgba(0, 30, 255, 0.5),
      -2.3758461067427543px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  60% {
    text-shadow: 2.202193051050636px 0 1px rgba(0, 30, 255, 0.5),
      -2.202193051050636px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  65% {
    text-shadow: 2.8638780614874975px 0 1px rgba(0, 30, 255, 0.5),
      -2.8638780614874975px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  70% {
    text-shadow: 0.48874025155497314px 0 1px rgba(0, 30, 255, 0.5),
      -0.48874025155497314px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  75% {
    text-shadow: 1.8948491305757957px 0 1px rgba(0, 30, 255, 0.5),
      -1.8948491305757957px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  80% {
    text-shadow: 0.0833037308038857px 0 1px rgba(0, 30, 255, 0.5),
      -0.0833037308038857px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  85% {
    text-shadow: 0.09769827255241735px 0 1px rgba(0, 30, 255, 0.5),
      -0.09769827255241735px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  90% {
    text-shadow: 3.443339761481782px 0 1px rgba(0, 30, 255, 0.5),
      -3.443339761481782px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  95% {
    text-shadow: 2.1841838852799786px 0 1px rgba(0, 30, 255, 0.5),
      -2.1841838852799786px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }

  100% {
    text-shadow: 2.6208764473832513px 0 1px rgba(0, 30, 255, 0.5),
      -2.6208764473832513px 0 1px rgba(255, 0, 80, 0.3), 0 0 3px;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: parpadeo 0.15s infinite;
}

.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

.crt {
  animation: textShadow 1.6s infinite;
}


