:root                 { --fg: #ff0050; --bg: #400014; }
:root[data-theme="1"] { --fg: #ff7000; --bg: #401c00; }
:root[data-theme="2"] { --fg: #ffe000; --bg: #403800; }
:root[data-theme="3"] { --fg: #00ff50; --bg: #004014; }
:root[data-theme="4"] { --fg: #2080ff; --bg: #082040; }
:root[data-theme="5"] { --fg: #c000ff; --bg: #300040; }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-size: inherit;
}

body {
  font-family: Inter, sans-serif;
  line-height: 1.5;
  background-color: black;
  color: white;
}

a {
  font-weight: bold;
  text-decoration: underline;
  color: var(--fg);
}

a:hover {
  text-decoration: none;
  background-color: var(--fg);
  color: white;
}

strong {
  padding: 0 0.25rem;
  background-color: white;
  color: black;
}

svg {
  display: block;
  flex-shrink: 0;
}

/*
#logo:hover {
  outline: 0.25rem solid white;
  outline-offset: -0.75rem;
}
*/

.layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

header {
  display: flex;
  align-items: center;
  padding-right: 0.5rem;
}

#logo {
  position: relative;
  box-sizing: content-box;
  width: 5rem;
  background: none;
  /* cursor: pointer; */
}

h1 {
  font-size: 2rem;
  letter-spacing: 2px;
  line-height: 1;
}

#motto {
  font-weight: bold;
  color: var(--fg);
  line-height: 1;
}

main {
  border-top: 1px solid white;
  padding: 1rem;
  max-width: 40rem;
}

main > * + * {
  margin-top: 1rem;
}

h2 {
  font-weight: bold;
}

h2 + ul {
  margin-top: 0;
}

ul {
  padding-left: 2rem;
}

/*
@media (width < 67rem) {
  .wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }

  .decoration {
    transform: matrix(0, 1, 1, 0, 0, 0);
  }

  .title {
    margin-left: auto;
    margin-right: auto;
    height: 3.75rem;
  }

  main {
    text-align: center;
  }
}

@media (width < 32rem) {
  .title { height: 2.5rem; }
  #logo { width: 11rem; }
}
*/
