body.login-page {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
}

.login-page .title {
  margin-top: 2.2rem;
  line-height: 2rem;
  text-align: center;
  font-size: 1.75rem;
}

.login-page nav .nav-left {
  flex: initial;
}

.login-page nav .tabs {
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.login-page nav a {
  padding-left: 2rem;
  padding-right: 2rem;
}

.login-page main {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 8rem;
  align-items: center;
}

@media only screen and (max-width: 480px) {
  .login-page main {
    margin-top: 1rem;
  }
}

@media only screen and (max-width: 294px) {
  .login-page main {
    margin-top: 2rem;
  }
}

.login-page main form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-page main .login-form #loginUsernameInput,
.login-page main .login-form #loginUsernameButton {
  font-size: 1rem;
}

.login-page main .login-form #loginUsernameButton,
.login-page main .signup-form #signupUsernameButton {
  background-color: var(--color-primary);
}

.login-page main .login-form #loginUsernameInput {
  margin-bottom: 1rem;
}

.login-page main .signup-form p {
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.login-page main .signup-form .new-username {
  display: flex;
  align-items: center;
  justify-self: center;
}

.login-page main .signup-form #unique-username {
  white-space: pre-wrap;
}

.login-page main .signup-form #unique-username:focus,
.login-page main .signup-form #unique-username:focus-visible {
  outline: 2px solid black;
}

.login-page main .signup-form .copy-to-clipboard-button {
  height: 2.1rem;
  margin-left: 0.6rem;
}

.login-page main .signup-form .copy-to-clipboard-button:hover {
  cursor: pointer;
  color: var(--color-grey);
}

.login-page main .signup-form #signupUsernameInput,
.login-page main .signup-form #signupUsernameButton {
  font-size: 1rem;
}

.login-page main .signup-form #signupUsernameButton {
  margin-top: 0.4rem;
}

.login-page main .signup-form #signupUsernameInput {
  position: absolute;
  top: -99999999999999px;
}

.login-page .login-error-message {
  margin-top: 2rem;
  text-align: center;
}
