:root {
  --text-100: #e6e6e6;
  --text-400: #999999;
  --background-950: #0a0d0f;
  --accent-600: #0979c3;

  --font-size-base: 16px;
  --font-size-h1: calc(2.5rem + 1vw);
  --font-size-h2: calc(1.5rem + 0.5vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden; /* Disable scrolling */
}

body {
  background-color: var(--background-950);
  color: var(--text-100);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
}

main {
  max-width: 90%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Ensure the main content fills the viewport height */
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: bold;
  background: linear-gradient(
    90deg,
    var(--text-400) 25%,
    var(--text-100) 50%,
    var(--text-400) 75%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: skeleton-text-shine 1.5s infinite;
  margin-bottom: 1.5rem;
}

footer {
  padding-bottom: 1rem;
  font-weight: 700;
  font-size: 0.875rem;
}

a {
  text-decoration: underline;
  color: var(--accent-600);
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--text-100);
}

@media (max-width: 600px) {
  h1 {
    font-size: calc(2rem + 1vw);
  }

  h2 {
    font-size: calc(1.25rem + 0.5vw);
  }
}

/* Keyframes for animated text */
@keyframes skeleton-text-shine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
