
:root {
  --bg: #c09eff;
  --text: #242020;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
}

#intro, #credits {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}

#intro {
  opacity: 1;
}

#video {
  width: min(85vw, 800px);
  max-height: 85dvh;
  object-fit: contain;
}

#credits {
  opacity: 0;
  pointer-events: none;
  gap: 16px;
}

#credits.show {
  opacity: 1;
  pointer-events: auto;
}

#intro.hide {
  opacity: 0;
  pointer-events: none;
}

a {
  color: inherit;
}

#credits {
  gap: 4px;
}

#credits h1 {
  margin: 2px;
}

#credits p {
  margin: 0;
}
