/* custom font */
@font-face {
  font-family: le-murmure;
  src: url(../fonts/le-murmure.otf), url('../fonts/le-murmure.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: "le-murmure";
  font-size: 3rem;
  margin-bottom: 20px;
}

header {
  color: darkblue;
  font-size: 1.8rem;
  line-height: 2.3rem;
}

article {
  counter-reset: footnotes;
}

/* only footnotes */
a[aria-describedby="footnote-label"] {
  counter-increment: footnotes;
  text-decoration: none;
  color: inherit;
  cursor: default;
  outline: none;
}

a[aria-describedby="footnote-label"]::after {
  content: counter(footnotes);
  vertical-align: super;
  font-size: 0.7em;
  margin-left: 2px;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

footer > ol {
  font-size: 0.8rem;
}



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

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


  figure {
    padding: 0;
  }

}
