/* Styles for the temporary "hello world" front page only (layouts/hello.njk).
   Loaded after style.css, which provides the Inter @font-face, colors, and
   the base type scale. Delete this file with the layout when the full
   site replaces the page. */

.hello {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Centers the content vertically on tall screens; on short or small
   screens it simply flows from the top. */
.hello__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

.hello__logo-wrap {
  margin: 0 0 1.5rem;
  text-align: center;
}

/* Not huge: 20rem (320px) wide on desktop, 80% of the column on phones.
   The source PNG is 640px wide so it stays sharp on high-density screens. */
.hello__logo {
  display: inline-block;
  width: min(80%, 20rem);
  height: auto;
}

/* Smaller than the site-wide h1 so the headline fits on two lines. */
.hello__main h1 {
  text-align: center;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.hello__status {
  text-align: center;
  font-size: 1.125rem;
  margin: 0 0 2rem;
}

.hello__main h2 {
  text-align: center;
  margin-top: 0;
}

.hello__main p {
  margin: 0 0 1rem;
}

.hello__footer {
  padding: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  /* #595959 on white is about 7:1, above the 4.5:1 AA minimum. */
  color: #595959;
}

.hello__footer p {
  margin: 0;
}
