@font-face {
  font-family: "Short Stack";
  src: url("assets/ShortStack-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #0e0a06;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  background: #0e0a06;
}

main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.2vh, 1.5rem);
}

.logo img {
  width: clamp(256px, 24vw, 384px);
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

h1 {
  margin: 0;
  color: #f5e8c7;
  font-family: "Short Stack", cursive;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 480px) {
  .logo img {
    width: min(72vw, 288px);
  }

  h1 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }
}
