main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  flex: 1;
}

.button-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10rem 0;
  gap: 1.5rem;
}

.retro-btn {
  font-family: "Space Mono", monospace;
  font-size: 2.5rem;
  text-decoration: none;
  color: black;
  background-color: rgb(226, 222, 208);
  padding: 0.75rem 1.5rem;
  border: 2px solid black;
  box-shadow: 6px 6px 0px black;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.retro-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0px rgb(132, 65, 194);
}

.top-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.bottom-button {
  text-align: center;
  margin-top: 1.5rem;
}

.animated-text-container {
  text-align: center;
  margin: 4rem 0;
  font-size: 2rem;
  font-family: "Courier New", monospace;
  overflow: hidden;
  width: 100%;
  max-width: 90vw;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  word-break: break-word;
}

#animated-text {
  display: inline-block;
  transition: opacity 0.6s ease-in-out;
  opacity: 1;
}

#animated-text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: #222;
  margin-left: 4px;
  vertical-align: middle;
  animation: blink-cursor 1s steps(1) infinite;
}

@keyframes blink-cursor {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .animated-text-container {
    font-size: 1.5rem;
    max-width: 98vw;
  }
}
