@font-face {
  font-family: "Sarasa";
  src: url("assets/fonts/sarasa-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    scale: 1;
  }
  50% {
    scale: var(--pulse-max,1.5);
  }
}

body {
  background-color: #1a1a1a;
  font-family: "Sarasa", sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
  align-items: center;
}

h1 {
  text-align: center;
  font-size: 256px;
  color: purple;
}

p {
  text-align: center;
  font-size: 32px;
  color: yellow;
}

#otherWebProfiles {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 100px;

  width: max-content;
  max-width: 90vw;
  text-align: center;
  font-size: 16px;
}

#otherWebProfiles a {
  color: yellow;
  background-color: #333333;
}

#intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#splash {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-275%) rotate(-12deg);
  font-size: 12px;
  color: cyan;
  white-space: nowrap;
  z-index: 1;
  --pulse-max: 1.05;
  animation: pulse 2.0s ease-in-out infinite ;
}

#welcome, #to {
  scale: 1;
  transition: scale 0.3s ease-in-out;
}

#welcome {
  margin-bottom: 4px;
}

#to {
  display: inline-block;
  transform-origin: right center;
  margin-right: 0.25em;
}

#intro:hover #welcome,
#intro:hover #to {
  scale: 1.2;
}

#question {
  display: inline-block;
  animation: spin 1.5s ease-in-out infinite;
  cursor: pointer;
}

#introStage {
  position: relative;
}
