html, body, nav {
  width: 100vw;
  padding: 0;
  margin: 0;
}
main {
  width: 100vw;
  padding: 1ex;
}
nav {
  display: flex;
  flex-direction: row;
}
nav .sep {
  flex-grow: 1;
}
nav a, nav input {
  padding: 1ex;
}

.error {
  border: 2px solid #f00;
  background-color: #fdd;
  border-radius: 10px;
  padding: 1ex;
}

.success {
  border: 2px solid #080;
  background-color: #dfd;
  border-radius: 10px;
  padding: 1ex;
}

main form {
  display: grid;
  grid-template-columns: 10ch 1fr;
  width: calc(min(100vw, 80ch));
}

main form input[type="submit"] {
  width: calc(min(100vw, 10ch));
  margin-top: 1ex;
}

.hint {
  margin-top: 1ex;
}
