/* makes sizing simpler */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* remove default spacing */
/* force styling of type through styling, rather than elements */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

:root {
  --ff-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 700;

  --fs-300: 0.825rem;
  --fs-400: 1rem;
  --fs-500: 1.175rem;
  --fs-600: 1.5rem;
  --fs-900: 2.5rem;

  --color-light: #fff;
  --color-text: #000;
  --color-primary: #2e4f8a;
}

/* dark mode user-agent-styles */
/* improves punctuation in supported browsers */
html {
  color-scheme: dark light;
  hanging-punctuation: first last;
}

/* min body height */
body {
  min-height: 100svh;
}

/* responsive images/videos */
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

/* Improved heading in supported browsers */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/* improve readability with max-width on paragraphs and lists */
/* prevent orphans in supported browsers */
p,
li {
  max-width: var(--p-max-width, 65ch);
  text-wrap: pretty;
  margin: 0 auto;
}

#container {
  max-width: var(--p-max-width, 1120px);
  text-wrap: pretty;
}

html {
  color-scheme: light;
}

body {
  font-family: var(--ff-base);
  font-size: var(--fs-400);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  line-height: 1.5;

  min-height: 100vh;
  display: grid;
  place-content: center;
  background-color: var(--color-light);
}

@media screen and (max-width: 1170px) {
  body {
    padding: 0 25px;
  }
}

p,
ul,
ol,
dl {
  margin-bottom: 1.5em;
}

h1,
h2,
h3 {
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin: 1.5em 0 0.5em;
  text-align: center;
}

h1 {
  margin-top: 0;
  font-size: var(--fs-900);
}

h2 {
    margin-top: 0;
    font-size: var(--fs-600);
  }

.callout {
  background-color: #f0f0f0;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: var(--fs-400);
  font-weight: var(--fw-regular);
  padding: 1rem 2rem;
  margin: 2rem 0;
  text-align: center;
}

.greeting {
  font-size: var(--fs-500);
}

header {
  margin: 2rem 0;
}

#logo {
  max-width: 100%;
  height: auto;
  width: 250px;
  margin: 0 auto;
}

footer {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-primary);
  text-align: center;
}
