body {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Lato", sans-serif;
  background-color: white;
  background-image: url("/img/las1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  min-width: 320px; /* Mindesbreite für mobile Geräte */
}

main {
  margin: auto;
  width: 90%;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.9);
  max-width: 400px;
}
  
input[type=text], input[type=password], input[type=email] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}
  
button {
  background-color: #007bff;
  color: white;
  padding: 14px 20px;
  margin: 15px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
}
  
button:hover {
  background-color: #0056b3;
}
  
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}
  
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.avatar {
  width: 20vw;
  height: auto;
  border-radius: 50%;
  max-width: 150px;
}
  
.container {
  padding: 16px;
}
  
/* The "Forgot password" text */
span.psw {
  float: right;
  padding-top: 16px;
}
  
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
    display: block;
    float: none;
  }
  .cancelbtn {
    width: 100%;
  }
  main {
    padding: 15px; /* Weniger padding für schmalere Bildschirme */
  }
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
  width: 100%;
  box-sizing: border-box; /* Schließt Padding in die Breite mit ein */
  margin-top: auto; /* Drückt den Footer nach unten, wenn Platz vorhanden ist */
}

footer p {
  margin: 0;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}