:root {
  --radius: 0.5rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --film-lower-radius: 0.75rem;

  --surface: #fff;
  --surface-2: #fff;
  --text: #000;
  --text-muted: #4b4b4b;

  /* accent */
  --accent: oklch(0.6985 0.0601 287.98);
  --accent-text: #fff;
}


@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  :where(:root) { color-scheme: light dark; }
  :where(body) {
    margin: 0;
    line-height: 1.5;
    color: var(--text);
    background: var(--surface);
    font-family: serif;

    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
  }
  :where(img, picture, video, canvas, svg) { max-width: 100%; display: block; }
  :where(a) { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
p, li { font-size: clamp(1rem, 2.5vw, 1.125rem); }

.container {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  padding-inline: 1rem;
}

body {
    max-width: 960px;
    margin: 0px auto;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 4px 12px -2px rgb(0 0 0 / 0.1); */
}

upper {
  min-height: 50vh;
  text-align: center;
}


lower {
  min-height: 50vh;
  max-width: 100vw;
  aspect-ratio: 500/238;
  background-image: url("/assets/sm.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  border-bottom-left-radius: var(--film-lower-radius);
  border-bottom-right-radius: var(--film-lower-radius);
}

@media (min-width: 500px) {
  lower {
    background-image: url("/assets/md.jpg");
  }
}

/* @media (min-width: 850px) { */
/*   lower { */
/*     background-image: url("/assets/md.jpg"); */
/*   } */
/* } */

@media (min-width: 2000px) {
  lower {
    background-image: url("/assets/bg.jpg");
  }
}
