/*
 * andyclabaugh.com
 * Plain CSS, no build step. The original was compiled from Sass; this is a
 * hand-written equivalent using modern CSS (no vendor prefixes, no reset).
 */

:root {
  --text: #000;
  --bg: #fff;
  --measure: 630px;
  --font: "ff-scala-sans-pro", "Gill Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-weight: 300;
  font-size: 20px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container,
footer {
  width: min(var(--measure), 80vw);
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

p {
  margin: .5em 0;
}

a {
  color: inherit;
  font-style: italic;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .15em;
}

footer {
  font-size: 12px;
  padding: 1em 0;
}

footer a {
  margin-right: 2em;
}

@media (max-width: 680px) {
  body {
    padding: 1em 0;
  }

  .container,
  footer {
    margin-top: auto;
  }
}
