@font-face {
  font-family: "Velvelyne Regular";
  src: url("../fonts/Velvelyne-Regular.woff2") format("woff2");
}

:root {
  --font-body: "Velvelyne Regular", monospace;
  --font-header: "Velvelyne Regular", monospace;
}

html:not(.dark) {
  color-scheme: light;

  --color-bg: white;
  --color-default: black;

  --color-link: blue;
  --color-visited: purple;
  --color-hover: hotpink;

  --color: black;
  --color-shadow: gold;
}

html.dark {
  color-scheme: dark;

  --warm-orange: 203, 107, 28;
  --dull-cyan: #077777;

  --color-bg: black;
  --color-default: white;

  --color-link: cyan;
  --color-visited: var(--dull-cyan);
  --color-hover: hotpink;

  --color: yellow;
  --color-shadow: brown;

}

body {
  font-family: var(--font-body);

  color: var(--color-default);
  background-color: var(--color-bg);

  max-width: 768px;
}

h1 {
  font-size: 2.5em;
}

body {
  font-size: 1rem;
}

main {
  min-height: 500px;
}

header nav {
  font-size: 1.5em;
  display: block;
}

header nav li {
  display: block;
}

@media (min-width: 1200px) {
  h1 {
    font-size: 4em;
  }

  body {
    margin: auto;
  }

  header nav {
    font-size: 1em;
  }

  header nav li {
    margin: 0;
    font-size: 1.5em;
  }
}


h1,
h2 {
  color: var(--color);
  font-family: var(--font-header);
  text-shadow: 3px 3px var(--color-shadow);
  text-transform: uppercase;
}

a h1:hover,
h2:hover {
  text-shadow: 3px 3px var(--color-hover);
}

h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-header);
  text-shadow: 2px 2px var(--color-shadow);
  text-transform: uppercase;
  color: var(--color);
}


a {
  color: var(--color-link);
  text-shadow: none;
}

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

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


nav a:visited {
  color: var(--color-link);
  text-decoration: none;
}

nav a:hover {
  color: var(--color-link);
  text-shadow: 2px 2px var(--color-hover);
}


header a {
  text-decoration: none;
}

header {
  border-bottom: 1px solid #222;
  margin-bottom: 1rem;
}

header * {
  display: inline
}


footer {
  border-top: 1px solid #222;
  margin-top: 1rem;
}

nav li {
  color: var(--color);
  font-family: var(--font-header);
  text-transform: uppercase;
  list-style: none;
  margin-right: 7px;
}

.terms ul * {
  display: inline
}

section,
.term {
  border: var(--color-default) 2px solid;

  margin: 20px 0px 20px 0px;
  padding: 5px 10px;
}

section:hover,
.term:hover {
  border-color: var(--color-link);
  border-style: dashed;
}

h3 {
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  section {
    border-width: 1px;
  }
}

ul {
  padding-left: 0;
}

.pagination {
  text-align: center;
}

button {
  cursor: pointer;
}

.switcher {
  position: flex;
  float: right;
  width: 2em;
  height: 2em;

  border: none;
  background: transparent;
}

div.sun {
  display: none;
}

div.moon {
  display: inline;
}

html.dark div.sun {
  display: inline;
}

html.dark div.moon {
  display: none
}


a.en {
  display: inline;
}

.language div {
  color: var(--color-default);
  font-family: var(--font-header);
  text-transform: uppercase;
  font-size: 1.5em;
  display: none;
}

.language div.fr:lang(en) {
  display: inline;
}

.language div.en:lang(fr) {
  display: inline;
}