body {
  margin: 0px;
  /* overflow:hidden; */
}

#formIntro,
#confirmationMessage,
#forgotForm {
  text-align: center;
}

.header-bar {
  position:sticky;
  top: 0;
  left: 0;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-left: 24px;
  padding-right: 15px;

  width:100%;
  box-sizing:border-box;

  border-bottom: solid;
  border-color: grey;
  border: 2px;
  box-shadow: 0px 0px 10px 1px #a3a3a3;

  background-color: white;
  opacity: 1;
}

h1 {
  color: rgb(0, 0, 0);
  font-family: 'Proxima Nova', sans-serif;
}

.login-page {
  /* min-height: 100vh; */
  display: flex;
  flex:1;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  overflow:auto;

  padding: 24px; 
  padding-top: 0px;
  margin:0;
  box-sizing: border-box;
}

.login-box {
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;

    width: clamp(280px, 30%, 420px);
    min-height: 500px;

    background-color: white;
    border: 1px solid #d1cfcf;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);

    border-radius: 25px;

    padding-bottom: 24px;
    box-sizing: border-box;
}

/* Forms inside a login-box (login, forgot-password, reset-password, etc.)
   were sizing themselves to their widest content -- a long error message
   would stretch the whole form wider than the box and left-align the
   inputs relative to it. Making the form its own centered flex column
   keeps every child centered regardless of message length. */
.login-box form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.login-header {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 40px;
    color: #000000;
    margin-top: 15px;
}

.login-header-spacer {
    margin-top:40px;
}

.input-user {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin:8px;
  padding: 7px;

  border-radius: 8px;
  background-color: white;
  border: 2px solid #d9d9d9;
  width: 225px;
  height:20px;
}

.input-username {
    flex:1;
    box-sizing: border-box;
    border:none;
    outline: none;
    padding-left: 5px;
    font-size: 16px;

    font-family: 'Proxima Nova', sans-serif;
}

.input-password {
    flex:1;
    box-sizing: border-box;
    border:none;
    outline: none;
    padding-left: 5px;
    font-size: 16px;

    font-family: 'Proxima Nova', sans-serif;
}

.back-home-button {
  background-color: #d6001c;
  color: white;
  padding: 10px;
  padding-right: 15px;
  margin:15px;
  margin-left: 0px;
  text-align: center;
  font-size: 20px;
  border-radius: 999px;
  border: 0px;
  font-family: 'Proxima Nova', sans-serif;
  cursor: pointer;

  align-self: flex-start;

  text-decoration: none;

  /* transition-duration: 0.2s; */
}

.back-home-button:hover {
  background-color: rgb(194, 0, 0);
}

.back-signon-button {
  /* background-color: #d6001c; */
  color: rgb(56, 55, 55);
  padding: 10px;
  padding-right: 15px;
  margin:15px;
  margin-left: 0px;
  text-align: center;
  font-size: 15px;
  border-radius: 999px;
  border: 0px;
  font-family: 'Proxima Nova', sans-serif;
  cursor: pointer;

  align-self: flex-start;

  text-decoration: none;

  /* transition-duration: 0.2s; */
}

.back-home-button:hover {
  background-color: rgb(194, 0, 0);
}

.loginbutton {
  background-color: #d6001c;
  color: white;
  border: 2px solid #d6001c;
  border-radius: 999px;
  font-size: 20px;

  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 7px;
  margin-left:auto;
  margin-right:auto;
  padding:5px;
  padding-left: 30px;
  padding-right: 30px;

  text-align: center;
  font-family: 'Proxima Nova', sans-serif;
  cursor: pointer;

  transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.loginbutton:hover {
  background-color: rgb(194, 0, 0);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

.loginbutton .btn-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  font-size: 16px;
  opacity: 0;
  transform: translateX(-16px);
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.loginbutton:hover .btn-arrow,
.loginbutton:focus .btn-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .loginbutton .btn-arrow { transition: none; }
}

.signup-text {
  font-family: 'Proxima Nova', sans-serif;
  color: #5b6363;
  margin-top: 40px;
  margin-bottom: 5px;
}

.signup-button{
  display: block;
  border:0px;
  background-color: transparent;
  color:#d6001c;
  text-decoration: underline;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 15px;
  text-align: center;

}

.signup-button:hover {
  color: rgb(194, 0, 0);
}

.forgot-password-link {
 display: block;
  border:0px;
  margin-top: 15px;
  margin-bottom: 15px;
  background-color: transparent;
  color:#d6001c;
  text-decoration: underline;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 15px;
  text-align: center;
}

.forgot-password-link:hover {
  color: rgb(194, 0, 0);
}

.form-error-message {
  color: #d6001c;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 5px;
  max-width: 220px;
  overflow-wrap: break-word;
  text-align: center;
}

.access-notice {
  color: #3a3a3a;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 15px;
  margin-right: 15px;
  display:flex;
}