html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
  color: #eee;
  background: #223;
  font-family: Segoe UI, Helvetica, Arial;
  --theme-color: #064af3;
  --theme-text: #6d91ee;
}

header, footer {
  background: #0004;
}
header, header > :not(script) {
  display: flex;
  align-items: center;
}
#logo {
  margin: 10px 20px 10px 10px;
  font-size: 30px;
  color: #ffec02;
}
header img {
  margin-right: 10px;
}
header nav * {
  margin: 0 10px;
}
header a {
  text-decoration: none;
  color: white;
  transition: color .25s;
}
header nav a:hover {
  color: var(--theme-text);
}
nav + a[href="/invite"] {
  background: var(--theme-color);
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 10px;
  margin: 10px 20px 10px auto;
  text-align: center;
  white-space: pre;
  transition: filter .25s;
}
nav + a[href=invite]:hover {
  filter: brightness(.85);
}
.fa-bars, .fa-xmark {
  font-size: 25px;
  margin: 10px 20px 10px auto;
}
#big-nav-menu {
  display: none;
}
.fa-xmark + #big-nav-menu {
  display: flex;
  flex-direction: column;
  background: #334d;
  position: absolute;
  z-index: 100;
  top: 70px;
  bottom: 0;
  right: 0;
  left: 0;
  justify-content: center;
  line-height: 2.5;
  font-size: 2em;
}
body:has(.fa-xmark + #big-nav-menu) main {
  overflow: hidden;
}
@media (max-height: 600px) {
  .fa-xmark + #big-nav-menu {
    line-height: 10vh;
    font-size: 6vh;
  }
}

main {
  padding: 25px 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
}
main h1 {
  text-align: center;
  margin: 25px 0px 35px;
  font-size: 2.25em;
}
main a {
  color: var(--theme-text);
}
main p {
  line-height: 2;
}
p, li {
  color: #ddd;
}
code {
  color: var(--theme-text);
}
.mention {
  background: #5865f24d;
  color: #dee0fc;
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 500;
}

li {
  line-height: 2;
}

@media (min-width: 800px) {
  .fa-bars {
    display: none !important;
  }
}
@media (max-width: 799px) {
  header nav, nav + a[href="/invite"] {
    display: none;
  }
  main {
    padding: 25px 20px;
  }
}

footer {
  margin-top: 10px;
  padding: 20px;
}
footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer span {
  font-size: 20px;
  font-weight: 200;
  line-height: 2;
}
footer i {
  font-size: 30px;
  cursor: pointer;
}
footer a {
  font-size: .7em;
  text-decoration: none;
  color: #ccc;
}
@media (max-width: 530px) {
  footer > :last-child {
    flex-direction: column;
    align-items: flex-start;
  }
}