html,
body {
  margin: 0;
  padding: 0;
}

* {
  font: normal 14px / 25px "Source Sans Pro", Helvetica, Arial, Verdana,
    sans-serif;
  color: #ffffff;
  font-weight: 400;
}

#login-page {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background: rgb(0, 0, 0);
  color: rgb(0, 0, 0);
}

.login-modal {
  position: absolute;
  width: 400px;
  max-width: 80%;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
}

.login-image {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: auto;
  margin-bottom: 42px;
  filter: invert(1);
  user-select: none;
}

#loginform {
  width: 80%;
  margin-left: 10%;
}

.login-text-fields input {
  width: calc(100% - 16px);
  padding: 8px;
  margin: 6px 0;
  border: 1px solid rgba(0, 0, 0, 0.5);
  outline: none;
  font-size: 16px;
  border-radius: 4px;
  color: #000;
}

.login-checkbox {
  display: inline-block;
}

.login-checkbox input {
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  height: 22px;
  width: 22px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  font-size: 16px;
  vertical-align: middle;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.login-checkbox input:checked:before {
  padding: 2px;
  content: "\2713";
  font-size: 13px;
  line-height: 3px;
  color: #fff;
  font-weight: 400;
  top: 4px;
  position: absolute;
}

.login-checkbox input:checked {
  background: #d0d4d1;
}

.login-checkbox--label {
  cursor: pointer;
  color: #fff;
}

#loginform label {
  vertical-align: middle;
}

#loginform input[type="submit"] {
  width: 100%;
  height: 42px;
  background: var(--highlight-background);
  border: none;
  color: #fff;
  border-radius: 4px;
  transition: background 0.3s ease;
}

#loginform input[type="submit"]:hover {
  cursor: pointer;
  filter: brightness(1.1);
}

#loginform input:focus {
  outline: none;
}

.login-error {
  color: rgb(255, 70, 70);
}
