:root {
  --bkg: hsl(270, 80%, 10%);
  --fg: hsl(270, 85%, 15%);
  --fg-hover: hsl(270, 90%, 20%);
  --fg-selected: hsl(270, 100%, 70%);
  --txt: hsl(270, 100%, 85%);

  --link-link: hsl(236, 100%, 70%);
  --link-visited: hsl(281, 100%, 70%);
}

* {
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

body {
  background-color: var(--bkg);
  font-family: "OpenSans", Arial, sans-serif;
}

@font-face {
  font-family: "OpenSans";
  src: url("/font/opensans-variablefont_wdthwght-webfont.eot");
  src: url("/font/opensans-variablefont_wdthwght-webfont.woff") format("woff"),
  url("/font/opensans-variablefont_wdthwght-webfont.svg") format("svg");
  }

.main {
  color: var(--txt);
  font-size: 125%;
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  max-width: fit;
  margin: 2em 0 3em 0;
}

.main h1 {
  margin-top: 1em;;
}

html, body {
  height: 100%;
}

.noscript {
  background-color: #ff0000;
  margin: 0;
  font-size: 125%;
  color: var(--txt);
  z-index: -1;
}

.centered {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main {
  width: 1000px;
  margin: auto;
  display: flex;
  align-items: start;
  justify-content: start;
}

.main h1 {
  margin: 0;
}

@media screen and (max-width: 1200px) {
  .main {
    width: 1000px;
  }
}

@media screen and (max-width: 800px) {
  .main {
    width: 100%;
  }
}

a {
  text-decoration: none;
}

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

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