* {
  margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

/* color variables to easily change the palette */
:root {
  --clr-primary: hsla(64, 64%, 10%, .9);
  --clr-secondary: hsla(64, 64%, 50%, .9);
  --clr-bg: hsla(64, 64%, 10%, .9);
  --clr-accent: orangered;
  --clr-text1: #EEE;
  --clr-text2: #222;

  font-size: 62.5%;
}

body {
  background-image: url(chessboard01.jpg);
  background-size: cover;
  min-height: 100vh;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1.6rem;
}

#container {
  min-height: 90vh;
  width: 92vw;
  margin: 32px auto;
  background-color: hsla(64, 64%, 10%, .9);
  color: var(--clr-text1);
  outline: 4px solid hsla(64, 64%, 50%, .9);
  outline-offset: 8px;
  position: relative;
}

#container a {
  color: var(--clr-secondary);
}

header {
   overflow: hidden;
}

header h1 {
  text-align: center;
  padding: 16px;
  width: 50%; min-width: 350px;
  float: right;
  font-family: "Barriecito"; font-weight: normal;
  letter-spacing: 4px;
  font-size: clamp(24pt, 5rem, 56pt);
  color: orangered;
  border-bottom: 2px solid var(--clr-secondary);
  text-indent: 4px;
}

header + nav ul {
  display: flex; flex-direction: row; justify-content: space-evenly;
  max-width: 1100px; margin: 0 auto;
  gap: 12px;
  list-style: none;
  padding: 32px 16px;
}

header + nav li {
  flex: 1 0 5%;
  text-align: center;
  aspect-ratio: 1;
}

header + nav a {
  display: inline-block;
  font-weight: bold;
  width: 100%; height: 100%;
  color: var(--clr-text1) !important;
  text-decoration: none;
  padding: 12px 16px;
  background-color: var(--clr-text2);
  font-size: 1.6rem;
  line-height: 1.4;
  box-shadow: 3px 4px 5px #000;
  position: relative;
}

header + nav a strong {
  color: var(--clr-secondary)
}

header + nav a:hover {
  background-color: hsla(64, 64%, 5%, .9);
}

header + nav a:active {
  box-shadow: 1px 2px 2px #000;
  top: 2px;
}

.intro {
  margin: 16px;
  line-height: 1.8;
}

footer {
  margin: 200px 16px 16px 16px;
  font-size: 1.4rem;
  background-color: var(--clr-text2);
  padding: 16px;
}

footer ul {
  list-style: square;
  margin-left: 12px;
}

footer li {
  margin-bottom: 8px;
}

footer sup {
  padding-right: 4px;
}