.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  height: 100vh;
  width: 100%;
}

.login-box {
  background-color: white;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 440px;
  height: 480px;
  padding: 40px;
  border: 1px solid #fff;
  border-radius: 5px;
  box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.05);
}

.login-header {
  text-align: center;
  margin: 20px 0 40px 0;
}

.login-header header {
  color: #4caf50;
  font-size: 3.0rem;
  font-weight: 800;
}
.input-box .input-field {
  width: 100%;
  height: 60px;
  font-size: 1.5rem;
  padding: 0 25px;
  margin-bottom: 15px;
  border-radius: 30px;
  border: none;
  box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: 0.3s;
}
::placeholder {
  font-weight: 500;
  color: #222;
}
.input-field:focus {
  width: 105%;
  transition: width 0.3s ease;
}
.forgot {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
section {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: #222;
}
#check {
  margin-right: 10px;
}

section a {
  color: #222;
}
.form-submit-btn input {
  cursor: pointer;
}
.form-submit-btn {
  margin-top: 40px;
}
.form-submit-btn input {
  display: block;
  width: 100%;
  margin-top: 10px;
  font-size: 1.6rem;
  padding: 10px;
  border: none;
  border-radius: 3px;
  color: rgb(209, 209, 209);
  background-color: #222;
  transition: background-color 0.3s, color 0.3s;
}
.form-submit-btn input :hover {
  background: #4caf50;
  color: rgb(255, 255, 255);
}
.sign-up-link {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 20px;
  color: #222;
}
.sign-up-link a {
  color: #222;
  font-weight: 600;
}
/* For smaller devices */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .login-box {
    width: 100%;
    max-width: 400px;
    margin: 5% auto;
  }

  .input-field {
    font-size: 1rem;
    padding: 12px;
  }

  .form-submit-btn input {
    font-size: 1rem;
    padding: 10px;
  }

  .sign-up-link {
    text-align: center;
    font-size: 1.3rem;
  }
}
@media (max-width: 480px) {
  .login-header header {
    font-size: 24px; /* Adjusts header font size */
  }

  .input-box .input-field {
    height: 50px; /* Reduces input height */
  }

  .form-submit-btn input {
    font-size: 1.3rem;
    padding: 8px;
  }

  .sign-up-link {
    font-size: 1.25rem;
  }
}
