/* Body und HTML-Einstellungen */
html, body {
  font-family: Arial, sans-serif;
  background-color: #333;
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Hauptbereich */
main {
  flex: 1; /* Dehnt den Main-Inhalt aus, damit der Footer am unteren Rand bleibt */
  padding: 20px; /* Platz für Inhalte innerhalb des Main-Bereichs */
  box-sizing: border-box;
  overflow-y: auto; /* Scrollbar nur bei Bedarf */
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
  margin-top: auto; /* Positioniert den Footer korrekt bei wenig Inhalt */
  width: 100%;
  box-sizing: border-box;
}

/* Footer-Text */
footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer-Links */
footer a {
  color: #4CAF50;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

header {
  background-color: #444;
  padding: 10px;
  text-align: right;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

button {
  background-color: #5c9dff;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

button:hover {
  background-color: #3b7cc2;
}

input {
padding: 10px;
border: 1px solid #555;
background-color: #222;
color: white;
}

#notificationIcon {
  display: inline-block;
  margin-left: 20px;
  cursor: pointer;
}


/* Hauptinhalt */
main {
    padding: 20px;
}

/* Benutzerinformationen */
#userDetails {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #333;
    border: 1px solid #444;
    display: grid;
    grid-template-columns: 1fr; /* Eine Spalte */
    gap: 15px;
    margin-top: 10px;
}

#userDetails h2 {
    margin-top: 0;
}

#userDetails div {
    margin-bottom: 15px;
    margin-right:20px;
}

#userDetails label {
    display: block;
    margin-bottom: 5px;
    color: #bbb;
}

#userDetails input {
    width: 100%;
    padding: 10px;
    background-color: #222;
    border: 1px solid #555;
    color: #fff;
}

#saveProfileBtn {
    padding: 10px 20px;
    background-color: #3b7cc2;
    color: #fff;
    border: none;
    cursor: pointer;
}

#saveProfileBtn:hover {
    background-color: #3b7cc2;
}

/* Statistik */
#statistics {
    padding: 20px;
    background-color: #333;
    border: 1px solid #444;
}

#statistics h2 {
    margin-top: 0;
}

#statistics div {
    margin-bottom: 10px;
}

.hidden {
  display: none;
}