body {
  margin: 0;
  justify-content: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  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;
  overflow-y: auto;
}

.header-feedback {
  /* background-color: rgba(255, 255, 255, 0.8); */
  background-color: crimson;
  opacity: 0.6;
  color: white;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.2em;
  font-weight: bold;
  z-index: 1000;
}

main {
  margin: 3vh 5vh 5vh 5vh;
  width: 100%;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-items: flex-start;
  position: sticky;
  background-color: rgba(255, 255, 255, 0.9);
  min-width: 300px;
  max-width: 450px;
}

.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;
}

label {
  display: block;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
  display: block;
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  margin-bottom: 15px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}

.required::after {
  content: " *";
  color: red;
}

button {
  background-color: #007bff;
  color: white;
  padding: 14px 20px;
  margin: 15px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

button:hover {
  background-color: #0056b3;
}

/* Extra style for the cancel button (red) */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Add padding to containers */
.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%;
  }
}

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;
}