html {
  background-color: beige;
  color: #080808;
  font-family: Consolas, monaco, monospace;
  text-align: center;
}

img {
  max-width: 100%;
}

p {
  font-size: 1.2em;
}

a {
  color: blue;
}

a:visited {
  color: red;
}

a:active {
  color: purple;
}

header a, header a:visited, header a:hover, header a:active {
  display: block;
  color: darkblue;
  width: 100;
}

header a:hover {
  background-color: black;
  color: white;
}

header h2, .main-title {
  border: solid black 0.15rem;
  border-radius: 0.5rem;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

header h2 {
  padding: 0.25em 1em;
  margin: 0.1em;
}

.main-title {
  background-color: #CDCDB4;
  background-color: rgba(0, 0, 0, 0.25);
}

/* @media (prefers-color-scheme: dark) { */
  html {    
    background-color: #080808;
    color: lightgreen;
  }
  
  a {
    color: lightblue;
  }
  
  a:active {
    color: blue;
  }
  
  header a, header a:visited, header a:hover, header a:active {
    display: block;
    color: yellow;
    width: 100;
  }

  header a:hover {
    background-color: white;
    color: black;
  }
  
  .main-title {
    background-color: black;
    background-color: rgba(0, 0, 0, 0.25);
  }
  
  header h2, .main-title {
    border-color: white;
  }
/* } */

.main-title {
  display: block;
  max-width: 600px;
  margin: 0 auto;
}

.text-box {
  margin: 0 auto;
  max-width: 50%;
  min-width: 200px;
}

.text-box p {
  text-align: justify;
}

canvas {
  max-width: 320px;
  width: 100%;
}

@media (max-width: 800px) {
  header {
    flex-direction: column;
  }
}
