/* Reset grundlegender Stile */
* {
  /*margin: 0;*/
  padding: 0;
  box-sizing: border-box;
}

/* Gesamtes Layout */
html, body {
  width: 100%;
  height: 100%;
  background-color: #53565a;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
}

/* Container-Styling */
#container {
  background: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.5s ease-out;
}

/* Animation fÃ¼r das Container-Erscheinen */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo und Info-Bereich */
.info {
  margin-bottom: 30px;
}

.info img {
  width: 120px;
  margin-bottom: 15px;
}

.info p {
  font-size: 16px;
  color: #888;
  line-height: 1.5;
}

/* Formular Styling */
form {
  width: 100%;
}

label {
  font-size: 14px;
  color: #555;
  display: block;
  margin-bottom: 6px;
  text-align: left;
}

input[type=text],
input[type=password] {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type=text]:focus,
input[type=password]:focus {
  border-color: #43B02A;
}

input[type=checkbox] {
  margin-right: 8px;
}

input[type=submit] {
  width: 100%;
  padding: 12px;
  margin-top: 15px; /* Abstand zum oberen Element (Angemeldet bleiben) */
  background-color: #43B02A;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type=submit]:hover {
  background-color: #53565a;
}

/* Hinweis-Text Styling */
.note {
  font-size: 12px;
  color: #777;
  margin-top: 20px;
}

/* Responsives Design fÃ¼r kleine GerÃ¤te */
@media (max-width: 480px) {
  #container {
    padding: 20px;
    width: 90%;
  }

  .info img {
    width: 100px;
  }

  input[type=text], input[type=password] {
    padding: 10px;
  }

  input[type=submit] {
    padding: 14px;
  }
}

/* Nur die Checkbox und das Label nebeneinander */
p.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

p.checkbox-label input[type=checkbox] {
  margin-right: 8px; /* Abstand zwischen Checkbox und Text */
}

p.checkbox-label label {
  margin: 0;
  padding: 0;
}
