
@import url(https://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic,700,700italic);

:root {
  /* Light mode variables */
  --background-color: #ffffff;
  --text-color: #000000;
  --accent-color: #ff0000;
  --link-color: #0000ff;
  --visited-link-color: #800080;
  --link-hover-color: #ff0000;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode variables */
    --background-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #ff4545;
    --link-color: #75a6ff;
    --visited-link-color: #c08cff;
    --link-hover-color: #ff4545;
  }
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

div {
  font-family: 'Lato', serif;
  line-height: 1.5;
}

.red {
    color: var(--accent-color);
    font-size: 200%;
}

a {
  color: var(--link-color);
}

a:hover {
  color: var(--link-hover-color);
}

a:visited {
  color: var(--visited-link-color);
}

p {
  font-family: Georgia, serif;
  line-height: 1.5;
  font-size: 12pt;
  max-width: 33em;
}

span.footer {
  line-height: 1.5;
  font-size: 12pt;
  max-width: 33em;
}

a.title {
  color: inherit;
  text-decoration: none;
}

a.title:hover {
  color: var(--accent-color);
}

h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;  
}

h2 {
  font-size: 1.7rem;
  font-weight: 600;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

