@font-face {
  font-family: Rubik;
  src: url("./rubik.woff2") format("woff2");
  font-display: swap;
}

body {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 32px 24px;
  background: linear-gradient(90deg, #226dff, #2891ff);
  color: #fff;
  font-family: Rubik, sans-serif;
  text-align: center;
}

lottie-player {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

main {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  body {
    background: url("./petals.svg") center / cover no-repeat,
      linear-gradient(90deg, #226dff, #2891ff);
  }

  lottie-player {
    display: none;
  }
}

main img {
  display: block;
  width: clamp(160px, 25vw, 220px);
  height: auto;
  margin-inline: auto;
}

main p {
  max-width: 38ch;
  margin: 32px auto 0;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(1, 18, 53, 0.8);
}
