/* EFECTO DE RELÁMPAGO SIMPLE */

@keyframes lightning {
  0%, 100% {
    opacity: 0;
  }
  3% {
    opacity: 0;
  }
  4% {
    opacity: 0.9;
  }
  5% {
    opacity: 0;
  }
  12% {
    opacity: 0;
  }
  13% {
    opacity: 0.6;
  }
  14% {
    opacity: 0;
  }
  14.5% {
    opacity: 0.8;
  }
  16% {
    opacity: 0;
  }
  47% {
    opacity: 0;
  }
  48% {
    opacity: 0.7;
  }
  49% {
    opacity: 0;
  }
  73% {
    opacity: 0;
  }
  74% {
    opacity: 0.5;
  }
  75% {
    opacity: 0;
  }
  75.5% {
    opacity: 0.9;
  }
  76% {
    opacity: 0;
  }
  76.2% {
    opacity: 0.8;
  }
  77% {
    opacity: 0;
  }
}

.lightning-continuous {
  position: relative;
  background: linear-gradient(to bottom, #0a0a15, #1a0f1e, #2a1020, #3a1418, #2a1810) !important;
}

.lightning-continuous::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  pointer-events: none;
  z-index: 1;
  animation: lightning 6s linear infinite;
}

.lightning-continuous > * {
  position: relative;
  z-index: 2;
}

/* MURCIÉLAGOS VOLANDO - SILUETAS */
@keyframes bat-fly {
  0% {
    left: -80px;
    top: 15%;
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    left: 110%;
    top: 50%;
    opacity: 0;
  }
}

@keyframes bat-fly-2 {
  0% {
    left: -80px;
    top: 40%;
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    left: 110%;
    top: 20%;
    opacity: 0;
  }
}

@keyframes bat-fly-3 {
  0% {
    left: -80px;
    top: 60%;
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  90% {
    opacity: 0.9;
  }
  100% {
    left: 110%;
    top: 35%;
    opacity: 0;
  }
}

.lightning-continuous::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 34px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 521 358"><path d="M431.71,134.21c-20.71,16.7-24.69,38.23-25.69,63.56-.16,3.96-.84,7.82-.51,11.97.52,6.65,5.85,15.72-.52,20.98s-16.69,3.44-23.45,7.56c-13.73,12.64-28.29,24.8-37.94,41.06-7.48,12.61-11.63,26.89-11.09,41.66-1.37.09-2.43.08-3.69-.57-1.97-1.01-7.67-7.01-10.08-8.92-18-14.3-40.44-23.83-63.92-20.45-3.72.54-14.51,2.63-17.68,3.82-8,3.01-17.17,16.22-24.9,21.1-13.62,8.6-16.44-9.33-21.82-17.66-12.16-18.83-34.21-27.13-56.02-21.18-11.64,3.17-22.13,16.39-34.64,15.35-9.11-.76-10.55-10.51-16.59-15.41-17.61-14.28-44.79-15.58-66.43-15.11-2.57.06-5.4,1.75-5.06-2.67.12-1.61,1.33-1.25,2.4-1.97,32.32-22.05,66.52-49.07,83.87-85.15.75-1.56,4.09-10.42,4.88-10.65,1.22-.03,2.44,1.23,3.42,1.99,12.19,9.4,23.08,20.2,36.1,28.9,24.89,16.63,62.38,29.02,92.44,28.61,1.82-.02,5.73-.29,7.45-.55,5.77-.89,5.56-10.94,5.27-15.22-.93-13.79-7.07-28.4-5.52-42.53.08-.76.05-1.24.77-1.72,5.13,5.14,12.64,18.96,21.36,16.35,3.53-1.06,5.88-5.29,7.76-5.73,1.76-.41,3.63.08,5.37-.14,6.91-.89,10.97-3.48,11.7-10.8.32-3.17-1.03-8-.34-10.34.44-1.5,2.29-1.49,3.54-1.36,6.25,8.28,10.42,19.22,16.86,27.25,2.01,2.51,8.08,8.58,11.48,7.01,1.16-.54,9.43-10.16,10.72-11.79,7.98-10.13,15.91-23.08,22.05-34.45,13.42-24.84,23.58-45.24,24.76-74.24.34-8.34-.85-16.49-1.02-24.77,8.57,2.99,16.56,7.25,25.81,8.44,24.33,3.12,58.46-6.19,80.2-17.18,7.56-3.82,14.77-8.41,22.39-12.14,1.76-1.13,6.85,3.74,7.38,4.9.31.68.24.81-.01,1.46-1.16,2.96-7.1,9.94-9.27,13.27-9.26,14.22-18.4,29.1-25.42,44.58-4.91,10.84-7.26,17.03-8.62,28.88-2.47,21.44-25.24,13.94-37.74,24.01Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 3;
  animation: bat-fly 45s linear infinite;
  pointer-events: none;
  filter: brightness(0);
}

.bat-2 {
  position: absolute;
  width: 40px;
  height: 27px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 521 358"><path d="M431.71,134.21c-20.71,16.7-24.69,38.23-25.69,63.56-.16,3.96-.84,7.82-.51,11.97.52,6.65,5.85,15.72-.52,20.98s-16.69,3.44-23.45,7.56c-13.73,12.64-28.29,24.8-37.94,41.06-7.48,12.61-11.63,26.89-11.09,41.66-1.37.09-2.43.08-3.69-.57-1.97-1.01-7.67-7.01-10.08-8.92-18-14.3-40.44-23.83-63.92-20.45-3.72.54-14.51,2.63-17.68,3.82-8,3.01-17.17,16.22-24.9,21.1-13.62,8.6-16.44-9.33-21.82-17.66-12.16-18.83-34.21-27.13-56.02-21.18-11.64,3.17-22.13,16.39-34.64,15.35-9.11-.76-10.55-10.51-16.59-15.41-17.61-14.28-44.79-15.58-66.43-15.11-2.57.06-5.4,1.75-5.06-2.67.12-1.61,1.33-1.25,2.4-1.97,32.32-22.05,66.52-49.07,83.87-85.15.75-1.56,4.09-10.42,4.88-10.65,1.22-.03,2.44,1.23,3.42,1.99,12.19,9.4,23.08,20.2,36.1,28.9,24.89,16.63,62.38,29.02,92.44,28.61,1.82-.02,5.73-.29,7.45-.55,5.77-.89,5.56-10.94,5.27-15.22-.93-13.79-7.07-28.4-5.52-42.53.08-.76.05-1.24.77-1.72,5.13,5.14,12.64,18.96,21.36,16.35,3.53-1.06,5.88-5.29,7.76-5.73,1.76-.41,3.63.08,5.37-.14,6.91-.89,10.97-3.48,11.7-10.8.32-3.17-1.03-8-.34-10.34.44-1.5,2.29-1.49,3.54-1.36,6.25,8.28,10.42,19.22,16.86,27.25,2.01,2.51,8.08,8.58,11.48,7.01,1.16-.54,9.43-10.16,10.72-11.79,7.98-10.13,15.91-23.08,22.05-34.45,13.42-24.84,23.58-45.24,24.76-74.24.34-8.34-.85-16.49-1.02-24.77,8.57,2.99,16.56,7.25,25.81,8.44,24.33,3.12,58.46-6.19,80.2-17.18,7.56-3.82,14.77-8.41,22.39-12.14,1.76-1.13,6.85,3.74,7.38,4.9.31.68.24.81-.01,1.46-1.16,2.96-7.1,9.94-9.27,13.27-9.26,14.22-18.4,29.1-25.42,44.58-4.91,10.84-7.26,17.03-8.62,28.88-2.47,21.44-25.24,13.94-37.74,24.01Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 3;
  animation: bat-fly-2 55s linear infinite 12s;
  pointer-events: none;
  filter: brightness(0);
}

.bat-3 {
  position: absolute;
  width: 65px;
  height: 44px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 521 358"><path d="M431.71,134.21c-20.71,16.7-24.69,38.23-25.69,63.56-.16,3.96-.84,7.82-.51,11.97.52,6.65,5.85,15.72-.52,20.98s-16.69,3.44-23.45,7.56c-13.73,12.64-28.29,24.8-37.94,41.06-7.48,12.61-11.63,26.89-11.09,41.66-1.37.09-2.43.08-3.69-.57-1.97-1.01-7.67-7.01-10.08-8.92-18-14.3-40.44-23.83-63.92-20.45-3.72.54-14.51,2.63-17.68,3.82-8,3.01-17.17,16.22-24.9,21.1-13.62,8.6-16.44-9.33-21.82-17.66-12.16-18.83-34.21-27.13-56.02-21.18-11.64,3.17-22.13,16.39-34.64,15.35-9.11-.76-10.55-10.51-16.59-15.41-17.61-14.28-44.79-15.58-66.43-15.11-2.57.06-5.4,1.75-5.06-2.67.12-1.61,1.33-1.25,2.4-1.97,32.32-22.05,66.52-49.07,83.87-85.15.75-1.56,4.09-10.42,4.88-10.65,1.22-.03,2.44,1.23,3.42,1.99,12.19,9.4,23.08,20.2,36.1,28.9,24.89,16.63,62.38,29.02,92.44,28.61,1.82-.02,5.73-.29,7.45-.55,5.77-.89,5.56-10.94,5.27-15.22-.93-13.79-7.07-28.4-5.52-42.53.08-.76.05-1.24.77-1.72,5.13,5.14,12.64,18.96,21.36,16.35,3.53-1.06,5.88-5.29,7.76-5.73,1.76-.41,3.63.08,5.37-.14,6.91-.89,10.97-3.48,11.7-10.8.32-3.17-1.03-8-.34-10.34.44-1.5,2.29-1.49,3.54-1.36,6.25,8.28,10.42,19.22,16.86,27.25,2.01,2.51,8.08,8.58,11.48,7.01,1.16-.54,9.43-10.16,10.72-11.79,7.98-10.13,15.91-23.08,22.05-34.45,13.42-24.84,23.58-45.24,24.76-74.24.34-8.34-.85-16.49-1.02-24.77,8.57,2.99,16.56,7.25,25.81,8.44,24.33,3.12,58.46-6.19,80.2-17.18,7.56-3.82,14.77-8.41,22.39-12.14,1.76-1.13,6.85,3.74,7.38,4.9.31.68.24.81-.01,1.46-1.16,2.96-7.1,9.94-9.27,13.27-9.26,14.22-18.4,29.1-25.42,44.58-4.91,10.84-7.26,17.03-8.62,28.88-2.47,21.44-25.24,13.94-37.74,24.01Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 3;
  animation: bat-fly-3 65s linear infinite 25s;
  pointer-events: none;
  filter: brightness(0);
}


