html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Courier New', Courier, monospace;
  text-transform: lowercase;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: linear-gradient(to bottom right, #1e3c72, #2a5298);
  pointer-events: none;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  filter: blur(20px);
  animation: moveClouds 100s linear infinite;
}

@keyframes moveClouds {
  0% {
    transform: translateX(-200px);
  }
  100% {
    transform: translateX(110vw);
  }
}

.content {
  position: absolute;
  width: auto;
  right: 16px;
  left: 16px;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1rem;
}

h1 {
  font-size: 4vw;
  margin-bottom: 0.5em;
}

p {
  font-size: 2.5vw;
  margin: 0.25em 0;
}

.project-links {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.project-links a {
  color: white;
  text-decoration: none;
  font-size: 2vw;
  transition: color 0.3s;
}

.project-links a:hover {
  color: #ffcccc;
}

@media (max-width: 600px) {
  h1 {
    font-size: 10vw;
  }
  p {
    font-size: 5vw;
  }
  .project-links a {
    font-size: 5vw;
  }
}

.stars {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-color-scheme: dark) {
  html,
  body {
    color-scheme: dark;
  }

  .background {
    background: linear-gradient(to bottom right, #2a003f, #4a005f);
  }

  .cloud {
    background: rgba(255, 192, 203, 0.2);
  }

  .stars {
    display: block;
  }

  .star {
    opacity: 1;
    background: white;
    filter: invert(0%) brightness(100%);
  }
}

