body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign-in-box {
  background: #2e4756;
  color: white;
  padding: 1rem;
  align-items: center;
  width: 680px;
  height: 480px;
  border-radius: 10px;
  position: absolute;
  /* center exluding navbar */
  top: calc(50% + 45px);
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Roboto", sans-serif;
}

.sign-in-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sign-in-title {
  margin-bottom: calc(0.67em - 20px);
}

.password-area {
  display: flex;
}

.sign-in-field {
  width: 420px;
  height: 45px;
  padding: 0;
  margin: 0;
  margin-top: 20px;
  border-radius: 8px;
  background-color: white;
  color: black;
  font-size: 16px;
  border: none;
  text-indent: 10px;
}

.sign-in-form-button {
  height: 45px;
  width: 420px;
  font-size: 20px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  color: white;
  background-color: #779cab;
}
.divider-div {
  height: 2px;
  width: 400px;
  border: none;
  background-color: white;
  margin-top: 20px;
  margin-bottom: 20px;
}

.redirect:link {
  height: 45px;
  width: 420px;
  font-size: 20px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  text-decoration-line: none;
  color: white;
  background-color: #29743e;
  display: flex;
  justify-content: center;
  align-items: center;
}
a:visited {
  color: white;
}

a:hover {
  color: white;
}

a:active {
  color: white;
}

.password-eye-icon {
  width: 30px;
  height: 30px;
  /* makes it 30x30 centered with input field */
  margin-top: 27px;
  margin-left: 5px;
}
.error-message {
  margin-top: 10px;
  margin-bottom: 10px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #ff4d4d;
}

@media (max-width: 720px) {
  .sign-in-box {
    width: 450px;
  }
  .sign-in-field {
    width: 320px;
  }
  .sign-in-form-button {
    width: 320px;
  }
  .redirect:link {
    width: 320px;
  }
  .divider-div {
    width: 300px;
  }
}
