@font-face {
  font-family: "Cinzel";
  src: url("/fonts/cinzel-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

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

body {
  background: #1b1d21 url("/wolf.jpg") center 35% / cover no-repeat;
  color: #fff;
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
}

main {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px 8vh;
  /* darkens the bottom edge a little so the name stays readable */
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 45%);
}

h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.6rem, 6vw, 4rem);
  letter-spacing: .12em;
  text-align: center;
  color: rgba(255, 255, 255, .7);
  /* light blue glow */
  text-shadow: 0 0 8px rgba(170, 215, 255, .8), 0 0 24px rgba(120, 190, 255, .5), 0 2px 10px rgba(0, 0, 0, .5);
}

/* Portrait screens (phones): "cover" would show only a thin slice of the
   landscape image, so show a wider band of it (the whole wolf) and fade its
   top and bottom edges into the page colour. */
@media (max-aspect-ratio: 1/1) {
  body {
    background:
      linear-gradient(#1b1d21, rgba(27, 29, 33, 0)) 0 18vh / 100% 22vw no-repeat,
      linear-gradient(rgba(27, 29, 33, 0), #1b1d21) 0 calc(18vh + 78vw) / 100% 22vw no-repeat,
      url("/wolf.jpg") 42% 18vh / auto 100vw no-repeat,
      #1b1d21;
  }
}
