body {
  font-family: Roboto, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-image: url(assets/by-bg.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #0a0f2c;
}
* {
  box-sizing: border-box;
}
#login-form,
#messages {
  width: 100%;
}
#messages {
  color: #fff;
  margin-bottom: 1rem;
}
.login-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}
#login-form {
  position: relative;
}
.login-container {
  max-width: 399px;
  width: 100%;
}
.login-header {
  height: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-header__logo {
  height: 72px;
  width: 399px;
  max-width: 100vw;
  background: url(assets/by-logo.svg) no-repeat center;
}
.login-header__title {
  font-weight: 400;
  color: #fff;
  margin: 45px 1rem 1rem;
  text-align: center;
  font-size: 18px;
}
.login-content {
  padding: 3rem 2rem;
  color: #333;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.35);
}
.login-content__title {
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 2rem;
}
#login-button {
  display: inline-flex;
  position: relative;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  vertical-align: middle;
  width: 100%;
  min-width: auto;
  height: 2.5rem;
  margin: 0;
  padding: 0.4rem 2rem 0rem;
  gap: 0.5rem;
  font-family: Calibre, Roboto, Helvetica, Arial, "Roboto Mono", sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 0px;
  letter-spacing: 0px;
  text-decoration: none;
  text-transform: initial;
  white-space: nowrap;
  color: rgb(253, 253, 252);
  -webkit-font-smoothing: antialiased;
  border-style: solid;
  border-width: 0.0625rem;
  border-color: rgb(28, 32, 36);
  border-radius: 0.5rem;
  border-image: initial;
  background: rgb(27, 27, 24);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 3.5px 0px, rgba(255, 255, 255, 0.5) 0px 1px 3px 0px inset,
    rgba(255, 255, 255, 0.15) 0px 9px 8.7px -8px inset;
  cursor: pointer;
  user-select: none;
  appearance: none;
  outline: 0px;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
#login-button:hover {
  background: rgb(28, 32, 36);
  border-color: rgb(28, 32, 36);
  color: rgb(252, 252, 253);
  background-color: rgb(69, 69, 69);
  opacity: 0.88;
}
#login-button:active {
  transform: scale(0.98);
  background: rgb(28, 32, 36);
  border-color: rgb(28, 32, 36);
  color: rgb(252, 252, 253);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 3.5px 0px, rgba(255, 255, 255, 0.5) 0px -1px 3px 0px inset,
    rgba(255, 255, 255, 0.15) 0px -9px 8.7px -8px inset;
  opacity: 1;
}
.form-title {
  font-size: 20px;
  color: #0a3d62;
  display: block;
  margin-bottom: 20px;
}
label {
  font-size: 14px;
  color: #444;
  display: block;
  margin-top: 3rem;
}
.email-input {
  font-family: Roboto, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 2em;
  letter-spacing: 0px;
  font-weight: 400;
  cursor: text;
  height: 2.5rem;
  width: 100%;
  display: block;
  box-sizing: border-box;
  margin: 0px;
  padding: 10px;
  padding-bottom: 0px;
  padding-top: 0px;
  border: 1px solid #d8d8dd;
  border-top-color: #bfbfc5;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1.5px 0px inset, rgba(0, 0, 85, 0.05) 0px 1px 1.5px 0px inset;
  color: rgba(0, 5, 9, 0.89);
  border-radius: 0.625rem;
  background-color: rgb(249, 249, 249);
  color: currentcolor;
  outline: 0px;
}
.email-input:focus {
  border: 1px solid #8ea9e5;
}
.email-input--invalid {
  border: 1px solid #cf444b;
}
#dummy-password-input {
  display: none;
}
#validation {
  color: #cf444b;
  font-size: small;
  height: 1rem;
}
@media screen and (min-width: 500px) {
  .login-layout {
    justify-content: center;
  }

  #login-form,
  .login-container,
  #messages {
    width: 399px;
  }
  .login-header__title {
    font-size: 24px;
  }
  .login-content {
    padding: 3rem 2.5rem 3.5rem;
  }
}
@media screen and (min-height: 600px) {
  .login-container {
    margin-bottom: 9rem;
  }
}
