body {
  background-color: #0f0b14;
  color: #f5f5dc;
  font-family: 'Courier New', Courier, Monospace;
  margin: 0;
  display: flex;
  justify-content: center;
  align-content: center;
  height: 100vh;
  
}
#main-container{                            
  display: flex;
  justify-content: center;
  align-content: center;
  height: 100vh;
  margin: 50px;
}
.scene{
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 300px;
  flex-shrink: 0;
  margin-left:  20px;
  margin-right: 20px;
}

#bombillo{
  position: absolute;
  top: 75px;
  left: 53%;
  transform: translateX(-50%);
  width: 400px;
  height: auto;
  z-index:1;
  
  filter:
     drop-shadow(0 0 5px #ffe066)
     drop-shadow(0 0 20px #ffd43b)
     drop-shadow(0 0 30px #fff3bf);
     
  animation: parpadeo 9s ease-out forwards;
  
  
}

.moth1, .moth2, .moth3{
  width: 400px;
  height: auto;
  position: absolute;
  top: 80px;
  left: 52%;
  transform: translateX(-50%);
  z-index:3;
  animation-duration: 1.5s; 
  animation-iteration-count: 8;
  animation-timing-function: steps(1);
  animation-fill-mode: forwards;
}
.moth1{animation-name:aleteo1;}
.moth2{animation-name:aleteo2;}
.moth3{animation-name:aleteo3;}

@keyframes aleteo1 {
  0%, 32% { opacity: 1; }
  33%, 100% {opacity: 0; }
}
@keyframes aleteo2 {
  0%, 32% { opacity: 0; }
  33%, 65% {opacity: 1; }
  66%,100% {opacity: 0; }
}
@keyframes aleteo3 {
  0%, 65% { opacity: 0; }
  66%, 100% {opacity: 1; }
}

@keyframes parpadeo {
  0% {
    opacity: 0.90; 
    filter:
     drop-shadow(0 0 5px #ffe066)
     drop-shadow(0 0 20px #ffd43b)
     drop-shadow(0 0 30px #fff3bf);
     }
  20% {
    opacity: 0.50; 
    filter:
     drop-shadow(0 0 5px #ffe066)
     drop-shadow(0 0 20px #ffd43b)
     drop-shadow(0 0 30px #fff3bf);
     }
  40% {
    opacity: 1; 
    filter:
     drop-shadow(0 0 5px #ffe066)
     drop-shadow(0 0 20px #ffd43b)
     drop-shadow(0 0 30px #fff3bf);
     }
  60% {
    opacity: 0.30; 
    filter:
     drop-shadow(0 0 5px #ffe066)
     drop-shadow(0 0 20px #ffd43b)
     drop-shadow(0 0 30px #fff3bf);
     }
  100% {
    opacity: 1; 
    filter:
     drop-shadow(0 0 5px #ffe066)
     drop-shadow(0 0 20px #ffd43b)
     drop-shadow(0 0 30px #fff3bf);
     }
}

#typer {
  color: #f5f5dc;
  white-space: pre-wrap;
  font-size: 1.2rem;
}












