/* * { outline: 1px solid red; } */

@font-face {
  font-family: Monocraft;
  src: url("/fonts/Monocraft.otf") format("opentype");
}

body {
  font-family: Monocraft, monospace;
  font-size: 1.6rem;
}

main {
  max-width: 100%;
  padding: 0;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000000aa;
  margin: 0;
  padding: 0;
  background: url(/images/stone.png) repeat top center;
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, .8);
  text-align: center;
  min-height: 160px;
}

header:nth-child(1) {
  background: #4499ff
    url(/images/grass.png) repeat-x bottom center;
  padding-bottom: 160px;
}

header > h1, header > h2 {
  margin: 0;
  padding: 0 40px;
  font-weight: bolder;
  text-shadow: 0 0 10px #00000077;
  text-transform: uppercase;
}

header > h1 {
  font-size: 40px;
  letter-spacing: 0.8rem;
  padding: 60px 40px;
  overflow: hidden;
}

header > h2 {
  font-size: 30px;
  letter-spacing: 0.6rem;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  box-shadow: inset 0px 0px 10px 5px rgba(0, 0, 0, .8);
  padding: 160px 40px;
}

section > article {
  max-width: var(--lg-breakpoint);
  padding: var(--xlg-pad);
  border-radius: 1rem;
  box-shadow: inset 0px 0px 10px 5px rgba(0, 0, 0, .8);
  color: #dadada;
  background: linear-gradient(135deg, #000000cc, #000000aa, #000000cc, #00000099, #000000bb, #00000088);
}

section:nth-of-type(odd) {
  background: url(/images/dirt.png) repeat top center;
}

section:nth-of-type(even) {
  background: url(/images/deepslate.png) repeat top center;
}

footer {
  display: flex;
  justify-self: center;
  align-items: center;
  padding: 160px 40px;
  background: url(/images/bedrock.png) repeat top center;
  margin: 0;
}

footer > article {
  max-width: var(--lg-breakpoint);
  padding: var(--xlg-pad);
  border-radius: 1rem;
  box-shadow: inset 0px 0px 10px 5px rgba(0, 0, 0, .8);
  color: #dadada;
  background: linear-gradient(135deg, #000000cc, #000000aa, #000000cc, #00000099, #000000bb, #00000088);
}

code, pre {
  color: var(--red);
  font-family: Monocraft, monospace;
  box-shadow: 0px 0px 5px 2px #dc262677;
  border-radius: 0.5rem;
  background: #000000aa;
  margin: 0;
  padding: 0.4rem;
  cursor: text;
}