body {
  margin: 0;
  padding: 30px 15px;
  background-color: #0b0620;
  color: #eee3ba;
  font-family: "Courier New", monospace;
  text-align: center;
}

.space-terminal {
  width: 90%;
  max-width: 650px;
  margin: 0 auto;
  background-color: #17102e;
  border: 4px solid #8066ad;
  box-shadow: 8px 8px 0 #05020e;
}

.site-header {
  padding: 30px 20px;
  border-bottom: 4px solid #513878;
}

.eyebrow {
  margin-top: 0;
  color: #78bec2;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
}

h1 {
  margin: 15px 0;
  color: #fff0ba;
  font-size: 55px;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #9d4f82;
}

h2 {
  color: #78bec2;
  text-transform: uppercase;
}

p {
  line-height: 1.6;
}

.tagline {
  color: #b9a2d8;
}

.planet-window {
  position: relative;
  height: 190px;
  border-bottom: 4px solid #513878;
  overflow: hidden;
}

.planet {
  animation: float-planet 3s steps(6) infinite;
  position: relative;
  width: 90px;
  height: 90px;
  margin: 45px auto 0;
  background-color: #7453a6;
  border: 5px solid #fff0ba;
  border-radius: 50%;
  box-shadow: 12px 8px 0 #352251;
}

.planet-ring {
  position: absolute;
  top: 30px;
  left: -32px;
  width: 145px;
  height: 30px;
  border: 7px solid #d078a7;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.pixel-star {
  animation: blink-star 1.5s steps(2) infinite;
  position: absolute;
  color: #78bec2;
  font-size: 24px;
}

.star-a {
  top: 25px;
  left: 15%;
}

.star-b {
  animation-delay: 0.5s;
  right: 18%;
  bottom: 25px;
  color: #b76391;
}

.star-c {
  animation-delay: 1s;
  top: 30px;
  right: 12%;
  color: #fff0ba;
}

.welcome-panel,
.link-panel {
  padding: 25px;
}

.welcome-panel {
  border-bottom: 3px dashed #513878;
}

.portal-button {
  animation: button-glow 2s steps(4) infinite;
  display: inline-block;
  margin-top: 15px;
  padding: 12px 16px;
  color: #0b0620;
  background-color: #78bec2;
  border: 3px solid #fff0ba;
  box-shadow: 4px 4px 0 #9d4f82;
  font-weight: bold;
  text-decoration: none;
}

.portal-button:hover {
  color: #fff0ba;
  background-color: #513878;
}

.site-button {
  animation: badge-pulse 1.8s steps(3) infinite;
  display: block;
  width: 88px;
  margin: 20px auto;
  padding: 4px;
  border: 2px dashed #9d4f82;
}

.site-button img {
  display: block;
  width: 88px;
  height: 31px;
}

label {
  display: block;
  margin: 18px 0 8px;
  color: #b9a2d8;
  font-weight: bold;
}

textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  box-sizing: border-box;
  color: #fff0ba;
  background-color: #0b0620;
  border: 3px solid #513878;
  font-family: "Courier New", monospace;
}

footer {
  padding: 15px;
  color: #b9a2d8;
  background-color: #0d0820;
  border-top: 4px solid #513878;
  font-size: 13px;
}

footer p {
  margin: 4px;
}

.status {
  color: #78bec2;
}

@keyframes float-planet {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes blink-star {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes button-glow {
  0% {
    box-shadow: 4px 4px 0 #9d4f82;
  }

  50% {
    box-shadow:
      4px 4px 0 #9d4f82,
      0 0 14px #78bec2;
  }

  100% {
    box-shadow: 4px 4px 0 #9d4f82;
  }
}

@keyframes badge-pulse {
  0% {
    border-color: #9d4f82;
  }

  50% {
    border-color: #78bec2;
  }

  100% {
    border-color: #9d4f82;
  }
}

html,
body,
a,
button,
textarea {
  cursor: url("/rocket-cursor.svg") 16 2, auto;
}

/* Disable movement for visitors who prefer reduced motion */
@media screen and (prefers-reduced-motion: reduce) {
  .planet,
  .pixel-star,
  .portal-button,
  .site-button {
    animation: none;
  }
}

@media screen and (max-width: 520px) {
  body {
    padding: 15px 8px;
  }

  h1 {
    font-size: 38px;
  }

  .site-header,
  .welcome-panel,
  .link-panel {
    padding-left: 15px;
    padding-right: 15px;
  }
}