body {
  margin: 0;
  background-color: #111;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  gap: 0; 
}

#topText {
  margin-bottom: 40px;
}

#lightning {
  margin-bottom: 60px; 
}

#bottomText {
  margin-top: 0;
}


.text {
  font-size: 2.2rem;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.visible {
  opacity: 1;
}

svg {
  overflow: visible;
  height: auto;
  width: auto;
}

.lightning-path {
  fill: none;
  stroke: #FFFFFF; 
  stroke-width: 3.8;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.animate-down {
  animation: drawDown 1.6s ease forwards;
}

.animate-up {
  animation: drawUp 0.9s ease forwards;
}

@keyframes drawDown {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawUp {
  from {
    stroke-dashoffset: -1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}
