main {
  max-width: 30ch;
}

div#buttons {
  display: flex;
  justify-content: space-between;
  margin: calc(2 * var(--basic-vertical-margin)) 0;
}

div#buttons button {
  width: 45%;
}

p#position {
  font-weight: 700;
  font-size: 1.5em;
  margin-bottom: calc(2rem * var(--line-height-multiplier));
}


input {
  border: 2px solid;
  font-size: 1.2em;
  background-color: inherit;
  color: inherit;
  margin: calc(2 * var(--basic-vertical-margin)) 0;
  padding: 0.5em;
  box-sizing: border-box;
  width: 100%;
}

p#error {
  display: none;
  color: red;
  margin-top: 1em;
}

button {
  color: inherit;
  background-color: inherit;
  border: 2px solid;
  padding: 0.5em;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;

  text-align: center;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
  grid-column: 2;
}

button:disabled {
  opacity: 0.5;
}

p {
  margin: 0.5em 0;
}
