#Rain{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 150px;       
  overflow: hidden;    
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}


#Rain .Drop{
  position: absolute;
  top: -20%;

  width: 0.7px;
  height: 12px;

  border-radius: 10px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,.6)
  );

  opacity: .45;
  filter: none;

  will-change: transform; 
  transform: translateZ(0) rotate(14deg);
  animation: Fall linear infinite;
}

@keyframes Fall{
  to{
    transform: translateY(190px) rotate(14deg); 
  }
}

#Rain .Drop:nth-child(1)  { left: 2%;  animation-duration: .62s; animation-delay: -0.1s; height: 10px; }
#Rain .Drop:nth-child(2)  { left: 4%;  animation-duration: .70s; animation-delay: -0.6s; height: 12px; }
#Rain .Drop:nth-child(3)  { left: 6%;  animation-duration: .55s; animation-delay: -0.3s; height: 9px; }
#Rain .Drop:nth-child(4)  { left: 8%;  animation-duration: .78s; animation-delay: -1.0s; height: 13px; }
#Rain .Drop:nth-child(5)  { left: 10%; animation-duration: .66s; animation-delay: -0.4s; height: 11px; }

#Rain .Drop:nth-child(6)  { left: 12%; animation-duration: .60s; animation-delay: -0.8s; height: 10px; }
#Rain .Drop:nth-child(7)  { left: 14%; animation-duration: .82s; animation-delay: -1.1s; height: 14px; }
#Rain .Drop:nth-child(8)  { left: 16%; animation-duration: .58s; animation-delay: -0.2s; height: 9px; }
#Rain .Drop:nth-child(9)  { left: 18%; animation-duration: .74s; animation-delay: -0.7s; height: 12px; }
#Rain .Drop:nth-child(10) { left: 20%; animation-duration: .63s; animation-delay: -0.5s; height: 10px; }

#Rain .Drop:nth-child(11) { left: 22%; animation-duration: .79s; animation-delay: -1.3s; height: 13px; }
#Rain .Drop:nth-child(12) { left: 24%; animation-duration: .56s; animation-delay: -0.1s; height: 9px; }
#Rain .Drop:nth-child(13) { left: 26%; animation-duration: .68s; animation-delay: -0.9s; height: 11px; }
#Rain .Drop:nth-child(14) { left: 28%; animation-duration: .61s; animation-delay: -0.4s; height: 10px; }
#Rain .Drop:nth-child(15) { left: 30%; animation-duration: .84s; animation-delay: -1.2s; height: 14px; }

#Rain .Drop:nth-child(16) { left: 32%; animation-duration: .57s; animation-delay: -0.3s; height: 9px; }
#Rain .Drop:nth-child(17) { left: 34%; animation-duration: .73s; animation-delay: -0.8s; height: 12px; }
#Rain .Drop:nth-child(18) { left: 36%; animation-duration: .64s; animation-delay: -0.6s; height: 10px; }
#Rain .Drop:nth-child(19) { left: 38%; animation-duration: .80s; animation-delay: -1.0s; height: 13px; }
#Rain .Drop:nth-child(20) { left: 40%; animation-duration: .59s; animation-delay: -0.2s; height: 9px; }

#Rain .Drop:nth-child(21) { left: 42%; animation-duration: .70s; animation-delay: -0.9s; height: 11px; }
#Rain .Drop:nth-child(22) { left: 44%; animation-duration: .62s; animation-delay: -0.4s; height: 10px; }
#Rain .Drop:nth-child(23) { left: 46%; animation-duration: .83s; animation-delay: -1.4s; height: 14px; }
#Rain .Drop:nth-child(24) { left: 48%; animation-duration: .56s; animation-delay: -0.1s; height: 9px; }
#Rain .Drop:nth-child(25) { left: 50%; animation-duration: .74s; animation-delay: -0.7s; height: 12px; }

#Rain .Drop:nth-child(26) { left: 52%; animation-duration: .65s; animation-delay: -0.5s; height: 10px; }
#Rain .Drop:nth-child(27) { left: 54%; animation-duration: .79s; animation-delay: -1.1s; height: 13px; }
#Rain .Drop:nth-child(28) { left: 56%; animation-duration: .58s; animation-delay: -0.2s; height: 9px; }
#Rain .Drop:nth-child(29) { left: 58%; animation-duration: .71s; animation-delay: -0.8s; height: 11px; }
#Rain .Drop:nth-child(30) { left: 60%; animation-duration: .63s; animation-delay: -0.4s; height: 10px; }

#Rain .Drop:nth-child(31) { left: 62%; animation-duration: .82s; animation-delay: -1.3s; height: 14px; }
#Rain .Drop:nth-child(32) { left: 64%; animation-duration: .57s; animation-delay: -0.1s; height: 9px; }
#Rain .Drop:nth-child(33) { left: 66%; animation-duration: .69s; animation-delay: -0.9s; height: 11px; }
#Rain .Drop:nth-child(34) { left: 68%; animation-duration: .61s; animation-delay: -0.6s; height: 10px; }
#Rain .Drop:nth-child(35) { left: 70%; animation-duration: .84s; animation-delay: -1.2s; height: 14px; }

#Rain .Drop:nth-child(36) { left: 72%; animation-duration: .56s; animation-delay: -0.3s; height: 9px; }
#Rain .Drop:nth-child(37) { left: 74%; animation-duration: .75s; animation-delay: -0.8s; height: 12px; }
#Rain .Drop:nth-child(38) { left: 76%; animation-duration: .64s; animation-delay: -0.5s; height: 10px; }
#Rain .Drop:nth-child(39) { left: 78%; animation-duration: .80s; animation-delay: -1.0s; height: 13px; }
#Rain .Drop:nth-child(40) { left: 80%; animation-duration: .59s; animation-delay: -0.2s; height: 9px; }

#Rain .Drop:nth-child(41) { left: 82%; animation-duration: .72s; animation-delay: -0.7s; height: 11px; }
#Rain .Drop:nth-child(42) { left: 84%; animation-duration: .62s; animation-delay: -0.4s; height: 10px; }
#Rain .Drop:nth-child(43) { left: 86%; animation-duration: .83s; animation-delay: -1.4s; height: 14px; }
#Rain .Drop:nth-child(44) { left: 88%; animation-duration: .56s; animation-delay: -0.1s; height: 9px; }
#Rain .Drop:nth-child(45) { left: 90%; animation-duration: .74s; animation-delay: -0.9s; height: 12px; }

#Rain .Drop:nth-child(46) { left: 92%; animation-duration: .65s; animation-delay: -0.6s; height: 10px; }
#Rain .Drop:nth-child(47) { left: 94%; animation-duration: .79s; animation-delay: -1.1s; height: 13px; }
#Rain .Drop:nth-child(48) { left: 96%; animation-duration: .58s; animation-delay: -0.2s; height: 9px; }
#Rain .Drop:nth-child(49) { left: 98%; animation-duration: .71s; animation-delay: -0.8s; height: 11px; }
#Rain .Drop:nth-child(50) { left: 99%; animation-duration: .63s; animation-delay: -0.4s; height: 10px; }



#header-container.lightning::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;              
  background: rgba(255,255,255,0.9);
  opacity:0;
}


#header-container.lightning.flash::after{
  animation: LightningFlash 900ms ease-out 1;
}

@keyframes LightningFlash{
  0%   { opacity:0; }
  8%   { opacity:0.95; }
  18%  { opacity:0.15; }
  30%  { opacity:0.70; }
  45%  { opacity:0.10; }
  60%  { opacity:0.45; }
  100% { opacity:0; }
}