html {
  display: grid;
  place-items: center;
  background-color: #2d2d2d;
  color: #e7e8ec;
}

body {
  width: 80vw;
  max-width: 500px;
}

header,
main,
footer,
section {
  border: 1px solid #e7e8ec;
  margin: 1em;
  padding: 1em;
}

a {
  color: #e7e8ec;
}

p,
h1,
h2 {
  margin: 0;
}

h2 {
  margin-bottom: 1em;
}

.active:after {
  content: "\2796";
}

footer {
  display: grid;
  place-items: center;
}

li {
  margin: 0;
  list-style-type: "";
}

input {
  font-size: 18px;
  width: 50%;
}

input, button {
  box-sizing: border-box;
  width: 100%;
}

button {
  margin-top: 1em;
  padding: 0.5em 1em;
}

.points {
  color: #fff;
  text-shadow: 0 0 5px #ffffff;
}

li:before {
  content: "*";
  font-family: "Source Code Pro", monospace;
  color: #ffff66;
  font-size: 25px;
  vertical-align: middle;
}

select {
  padding: 0.5em 1em;
  margin-top: 1em;
}

section {
  font-size: 20px;
}

#spinner:not([hidden]) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#spinner::after {
  content: "";
  width: 80px;
  height: 80px;
  border: 2px solid #f3f3f3;
  border-top: 3px solid #f25a41;
  border-radius: 100%;
  will-change: transform;
  animation: spin 1s infinite linear
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 1em;
}

@media only screen and (max-width: 500px) {
  .row {
    grid-template-columns: repeat(1, 1fr);
  }
}
