@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  overflow: hidden;
}

body::before {
  content: "";
  flex: 1 1 auto;
  min-height: 8rem;
}

body::after {
  content: "";
  flex: 1 1 auto;
}

h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  white-space: pre-wrap;
  max-width: 800px;
  padding: 6rem 2rem 2rem 2rem;
  flex-shrink: 0;
  line-height: 1.5;
}

#text.fade-in {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: currentColor;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.link {
  font-style: italic;
  color: inherit;
  text-decoration: underline;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .link:hover {
    color: #0066ff;
  }
}

#skip {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  text-decoration: underline;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease, color 0.2s ease;
  pointer-events: none;
}

#skip.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: hover) {
  #skip:hover {
    color: #0066ff;
  }
}
