/* Grundlegende Zurücksetzung von Abständen und Box-Modell */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hintergrund, Schriftart und Höhe der Seite */
body {
  background: linear-gradient(315deg, #407476 20%, #A1C86F 50%);
  min-height: 100vh;
}

/* Container für die zentrierte Formularbox */
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 60px);
}

/* Styling der Login-Box */
.wrapper {
  width: 420px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .2);
  color: white;
  padding: 30px;
  border-radius: 10px;
}

/* Titel im Formular */
.wrapper h1 {
  font-size: 36px;
  text-align: center;
}

/* Eingabefeld-Box mit Abstand und Platz für Icon */
.wrapper .input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}

/* Styling für Textfelder */
.input-box input {
  width: 100%;
  height: 100%;
  background: #204244;
  border: none;
  outline: none;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 40px;
  padding: 20px 45px 20px 20px;
  font-size: 16px;
  color: #F2F1E9;
}

/* Platzhalterfarbe für Inputs */
.input-box input::placeholder {
  color: #F2F1E9;
}

/* Positionierung und Stil der Icons im Inputfeld */
.input-box i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #F2F1E9;
}

/* Styling des Login-Buttons */
.wrapper .btn {
  width: 100%;
  height: 45px;
  background: #204244;
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  cursor: pointer;
  font-size: 16px;
  color: #F2F1E9;
  font-weight: bold;
}

.wrapper .btn:hover {
  background-color: #F2F1E9;
  color: #204244;
}

.remember-box {
  font-size: 15px;
  margin-top: 10px;
  margin-left: 3px;
}

/* Text unter dem Button für Registrierung */
.wrapper .register-link {
  font-size: 14.5px;
  text-align: center;
  margin: 20px 0 15px;
}

/* Link zur Registrierung */
.register-link p a {
  color: #F2F1E9;
  text-decoration: none;
  font-weight: bold;
}

/* Unterstreichung beim Hover über den Registrierungslink */
.register-link p a:hover {
  text-decoration: underline;
}

/* Text unter dem Button für Forgot Password */
.wrapper .forgot-link {
  font-size: 14.5px;
  text-align: center;
  margin: 20px 0 15px;
  color: #F2F1E9;
}

/* Link zur Forgot-Password Seite */
.forgot-link p a {
  color: #F2F1E9;
  text-decoration: none;
  font-weight: bold;
}

/* Unterstreichung beim Hover über den Forgot-Link */
.forgot-link p a:hover {
  text-decoration: underline;
}

/* Tablet (kleinere Tablets) */
@media (min-width: 481px) and (max-width: 768px) {
  .center-container {
    min-height: calc(100vh - 60px);
    padding: 0 20px;
  }

  .wrapper {
    width: 360px;
    padding: 25px;
  }

  .wrapper h1 {
    font-size: 32px;
  }

  .input-box input {
    font-size: 15px;
    padding: 16px 40px 16px 16px;
  }

  .wrapper .btn {
    font-size: 15px;
    height: 42px;
  }

  .register-link,
  .forgot-link {
    font-size: 14px;
  }
}

/* Größere Tablets / kleine Laptops */
@media (min-width: 769px) and (max-width: 1024px) {
  .center-container {
    min-height: calc(100vh - 60px);
    padding: 0 40px;
  }

  .wrapper {
    width: 400px;
    padding: 30px;
  }

  .wrapper h1 {
    font-size: 34px;
  }

  .input-box input {
    font-size: 16px;
    padding: 18px 45px 18px 18px;
  }

  .wrapper .btn {
    font-size: 16px;
    height: 45px;
  }

  .register-link,
  .forgot-link {
    font-size: 14.5px;
  }
}


/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 480px) {
  .wrapper h1 {
    font-size: 28px;
  }

  .input-box input {
    font-size: 14px;
    padding: 14px 40px 14px 16px;
  }

  .wrapper .btn {
    font-size: 14px;
    height: 40px;
  }

  .register-link,
  .forgot-link {
    font-size: 13px;
  }

}
