body {
  margin: 0;
  padding: 6rem 1.5rem 5rem 1.5rem;
  font-family: monospace;
  background: linear-gradient(to bottom right, #000000, #1a1a1a, #4a5568);
  color: #9ae6b4;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.main-content {
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
  padding-left: clamp(1rem, 5vw, 3rem);
  padding-right: clamp(1rem, 5vw, 3rem);
  margin-top: -2rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #9ae6b4;
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.dots-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(0, 255, 0, 0.2) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s ease-out;
}

.toggle-wrapper {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
}

.toggle-ios {
  width: 36px;
  height: 20px;
  background-color: #2d3748;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s;
}

.toggle-ios.enabled {
  background-color: #48bb78;
}

.toggle-ios-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 9999px;
  transition: transform 0.2s;
}

.toggle-ios.enabled .toggle-ios-thumb {
  transform: translateX(16px);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 2rem;
  margin-left: 0.5rem;
  border-left: 2px solid #48bb78;
  gap: 2rem;
}

.timeline-item {
  position: relative;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0.4rem;
  left: -2.569rem;
  width: 12px;
  height: 12px;
  background-color: #48bb78;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
  z-index: 1;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: #48bb78;
}

.timeline-text {
  font-size: 1.25rem;
  font-weight: 500;
}

.ascii-chart {
  margin-left: 3rem;
  font-family: monospace;
  white-space: pre;
  overflow-x: auto;
  font-size: 1rem;
  line-height: 2rem;
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
}

.colored-bar {
  display: inline-block;
  opacity: 0;
}

.level-high {
  color: #00ff00;
}

.level-mid {
  color: #32cd32;
}

.level-low {
  color: #006400;
}

.footer-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.75rem;
  color: #48bb78;
  z-index: 999;
}

@media (max-width: 600px) {


  .toggle-wrapper {
    display: none;
  }

  .alternate-nav .show {
    top: 6rem;
  }

  .main-content {
    margin-top: 3rem;
  }

  .timeline {
    flex-direction: row;
    border-left: none;
    border-top: 2px solid #48bb78;
    padding-left: 0;
    padding-top: 0.6rem;
    margin-left: 0;
    gap: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .timeline-item {
    scroll-snap-align: start;
    padding-left: 0;
    padding-top: 2rem;
    text-align: center;
    min-width: 120px;
    position: relative;
  }

  .timeline-item::before {
    content: '';
    position: absolute;
    top: -1.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: #48bb78;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    z-index: 1;
  }

  .timeline-year {
    font-size: 1rem;
  }

  .ascii-chart {
    font-size: 0.75rem;
    line-height: 1.2rem;
    padding: 0.5rem 0;
  }

  .timeline-text {
    font-size: 1rem;
    font-weight: 400;
  }

}
