@font-face {
  font-family: "Quicksand";
  src: url("fonts/quicksand.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: block;
}

html {
  height: 100%;
  background-color: #F6F1EA;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background-color: #F6F1EA;
  background-image: linear-gradient(180deg, #F6F1EA 0%, #F3EBE3 100%);
  color: #C9A39B;
  font-family: "Quicksand", sans-serif;
  font-weight: 300;
}

main {
  text-align: center;
  padding: 1.5rem;
  animation: fade-in 1.4s ease both;
}

h1,
p {
  margin: 0;
  font-weight: 300;
  font-synthesis: none;
}

h1 {
  color: #C9A39B;
  font-size: clamp(4.25rem, 13vw, 8.75rem);
  line-height: 0.95;
  letter-spacing: 0.18em;
}

p {
  margin-top: clamp(1.15rem, 3.4vh, 1.9rem);
  color: #A89080;
  font-size: clamp(0.95rem, 2.15vw, 1.2rem);
  letter-spacing: 0.22em;
  line-height: 1.4;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
  }
}

::selection {
  background: #C9A39B;
  color: #F6F1EA;
}
