/* custom font */
@font-face {
  font-family: compagnon;
  src:  url('../fonts/Compagnon-Light.woff2') format('woff2');
}

@font-face {
  font-family: junicode;
  src:  url('../fonts/junicode-regularcondensed-webfont.woff2') format('woff2');
}

/* variables */
:root {
  --padding: 1.5rem;
  --main-font-size: 1.2rem;
  --color-grey: #333;
  --color-light: #efefef;
  --color-text: var(--color-grey);
  --color-background: var(--color-light);
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  /* --font-custom: "le-murmure", serif; */
}

/* * {
  margin: 0;
  padding: 0;
} */

html {
  max-width: 70%;
  padding: var(--padding);
  margin: auto;
  color: var(--color-text);
  font-size: var(--main-font-size);
}

body {
  font-family: var(--font-family-sans);
  font-size: 115%;
  background-color: var(--color-background);
}


figure {
  padding: 4rem;
}

figcaption {
  margin-top: 10px;
  font-size: 0.6em;
}

img {
  width: 100%;
}

h1 {
  font-family: "compagnon";
  font-size: 3rem;
  line-height: 2.3rem;
  margin-bottom: 20px;
}

h2 {
  font-family: "junicode";
  text-decoration: underline;
}

header {
  color: black;
  font-size: 1.8rem;
  line-height: 2.3rem;
  font-family: "junicode";
}

article {
  counter-reset: footnotes;
}

article h1 {
  font-size: 2rem;
  line-height: 1.3rem;
}


@media only screen and (min-width:1px) and (max-width: 720px) {

  html {
    max-width: 100%;
    padding: 20px;
    font-size: 1rem;
  }


  figure {
    padding: 0;
  }

}
