:root {
  /* Background Colors: */
  --background-color: #1c7c32;
  --header-background-color: #49654f;
  --content-background-color: #61af51;
  --sidebar-background-color: #49654f;

  /* Text Colors: */
  --text-color: #000000;
  --sidebar-text-color: #000000;
  --link-color: #3026e8;
  --link-color-hover: #7780ec;

  /* Text: */
  --font: Arial, sans-serif;
  --heading-font: Georgia, serif;
  --font-size: 14px;

  /* Other Settings: */
  --margin: 10px;
  --padding: 20px;
  --border: 2px solid #000000;
  --round-borders: 0px;
  --sidebar-width: 200px;
  cursor: url("/images/SmallKnight.gif"), auto;
}

.not_found {
  border: 2px solid white;
  border-radius: 1px;
  background: black;
  padding: 10px;
  margin: 10px;
  box-sizing: border-box;
  width: 600px;
  color: white;
  font-family: 'Trebuchet MS';
  justify-content: center;
}

.cranknight {
  border: 2px solid white;
  border-radius: 1px;
  background: black;
  padding: 10px;
  margin: 10px;
  box-sizing: border-box;
  width: 800px;
  color: white;
  font-family: 'Trebuchet MS';
  justify-content: center;
}

.not_found a:link, .cranknight a:link,
.not_found a:visited, .cranknight a:visited {
  color: orange;
}
.not_found a:hover, .cranknight a:hover,
.not_found a:active, .cranknight a:active {
  color: orangered;
}

body {
  justify-content: center;
  color: var(--text-color);
  font-family: var(--font);
  font-size: var(--font-size);
  margin: var(--margin);
  padding: var(--padding);
  background-color: var(--background-color);
  background-image: url("");
}

body.not_found {
  background-repeat: repeat;
  background-image: url("images/WeaponPattern.png");
  width: 100%;
  height: 100vh;
  padding: 0px;
  margin: 0px;
}

body.cranknight {
  background-repeat: repeat;
  background-image: url("images/WeaponPattern.png");
  width: 100%;
  height: 100vh;
  padding: 0px;
  margin: 0px;
}

center.cranknight {
  background-color: orange;
  justify-content: center;
  width: auto;
  padding: 20px;
  margin: 100px;
}

::selection {
  /* (Text highlighted by the user) */
  background: rgba(0, 0, 0, 0.2);
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
  text-align: center;
  grid-area: header;
  font-size: 1.2em;
  border: var(--border);
  border-radius: var(--round-borders);
  background: var(--header-background-color);
}

/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */

aside {
  grid-area: aside;
  border: var(--border);
  border-radius: var(--round-borders);
  background: var(--sidebar-background-color);
  padding: var(--padding);
  color: var(--sidebar-text-color);
}

/* -------------------------------------------------------- */
/* CONTENT */
/* -------------------------------------------------------- */

main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
}

main.not_found, main.cranknight {
  font-size: 16px;
  height: 400px;
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */

footer {
  grid-area: footer;
  border: var(--border);
  border-radius: var(--round-borders);
  padding: var(--padding);
  background: var(--sidebar-background-color);
  justify-content: center;
  text-align: center;
  overflow: hidden;
  font-size: 0.75em;
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}