* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #1a1a1a;
  font-family: "Space Mono", monospace;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  height: 60px;
  background: #74a643;
  border: 3px solid #1a1a1a;
}

.top-strip__square {
  width: 60px;
  flex: 0 0 60px;
  align-self: stretch;
  background: #fac658;
  border: 3px solid #1a1a1a;
}

.top-strip__square--left {
  margin: -3px 0 -3px -3px;
}

.top-strip__square--right {
  margin: -3px -3px -3px 0;
}

.top-strip__label {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 40px;
  min-width: 290px;
  padding: 0 24px;
  border: 3px solid #1a1a1a;
  background: #ffefd7;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.hero-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding: 24px;
}

.hero-stage__message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  color: #e9dac6;
  font-family: "VT323", monospace;
  font-size: clamp(2.64rem, 6vw, 4.8rem);
  line-height: 1;
  text-align: center;
  transform: translateY(-50px);
}

.hero-stage__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.14em;
  min-height: 1em;
}

.hero-stage__text {
  min-width: 1px;
}

.hero-stage__cursor {
  display: none;
  width: 0.16em;
  height: 0.95em;
  background: #74a643;
  animation: blink-cursor 1s steps(1, end) infinite;
}

.hero-stage__cursor.is-active {
  display: inline-block;
}

.sub-strip {
  width: 100%;
  height: 20px;
  margin-top: auto;
  background: #74a643;
}

@keyframes blink-cursor {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .top-strip__label {
    min-width: auto;
    max-width: calc(100% - 160px);
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .hero-stage__message {
    gap: 0.12em;
  }
}
