/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Farben */
:root {
  --bg-color: #DFE7BB;
  --primary: #93B504;
  --accent: #F4C107;
  --input-bg: #F4A0BB;
  --button-bg: #F4692A;
}

/* Allgemein */
body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-color);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper für max. Breite und Padding */
.wrapper {
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Login / Register Container */
.login-container {
  background-color: #fff;
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
}

/* Überschrift */
h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 40pt;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
}

/* Label */
label {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 18pt;
  margin-bottom: 0.4rem;
  display: block;
}

/* Eingabefelder – für text, email, password */
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 1rem;
  font-size: 16pt;
  border: none;
  border-radius: 8px;
  background-color: var(--input-bg);
  color: #333;
  margin-bottom: 1.5rem;
}

input::placeholder {
  color: #fff;
}

/* Button */
.login-button {
  width: 100%;
  padding: 1rem;
  font-size: 18pt;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  background-color: var(--button-bg);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 0.5rem;
}

.login-button:hover {
  background-color: #d3541d;
}

/* Link unten */
.register-link {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 16pt;
  color: var(--accent);
}

.register-link a {
  color: var(--accent);
  font-weight: bold;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 480px) {
  .login-container {
    padding: 2rem 1.5rem;
  }

  h1 {
    font-size: 32pt;
  }

  label {
    font-size: 16pt;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  .login-button {
    font-size: 16pt;
  }

  .register-link {
    font-size: 14pt;
  }
}
