@font-face {
  font-family: "libre baskerville";
  src: url("fonts/libre_baskerville/regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "libre baskerville";
  src: url("fonts/libre_baskerville/italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "libre baskerville";
  src: url("fonts/libre_baskerville/bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "libre baskerville";
  src: url("fonts/libre_baskerville/bold_italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "source sans";
  src: url("fonts/source_sans/regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "source sans";
  src: url("fonts/source_sans/italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "source sans";
  src: url("fonts/source_sans/bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "source sans";
  src: url("fonts/source_sans/bold_italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
}

body {
  font-family: "libre baskerville", serif;
  width: 60ch;
  margin: 0 auto;
  padding: 48px 0;
  background-color: white;
  color: black;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "source sans", sans-serif;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

p {
  text-align: justify;
}

a {
  color: blue;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: purple;
}

@media(prefers-color-scheme: dark) {
  body {
    background-color: black;
    color: white;
  }

  a {
    color: deepskyblue;
  }

  a:visited {
    color: violet;
  }
}