@charset "UTF-8";
/* Allgemeine Stile für das Body-Element und den gesamten Inhalt */
* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

/* Stil für den Header */
header {
  padding: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  /* Elemente im Header aufteilen */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* Vertikal zentrieren */
}
header .header-title h1 {
  margin: 0;
  /* Abstand entfernen */
}

/* Stil für den Hauptinhalt */
main {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 10px;
}

.home-page {
  width: 980px;
  margin: 0 auto;
}

.topic-block {
  margin: 10px 0 10px 0;
}
.topic-block .title {
  margin: 10px 0 20px 0;
}
.topic-block p {
  margin: 10px 0 10px 0;
}

.topic-block-title {
  text-align: center;
  margin: 10px 0 10px 0;
}

.topic-block-body {
  text-align: center;
  margin: 10px 0 10px 0;
}

.topic-block-hinweis {
  background-color: gainsboro;
  margin: 20px 0 20px 0;
  padding: 10px;
  text-align: center;
}

/* Stil für das Menü */
nav {
  background-color: whitesmoke;
  color: white;
  padding: 10px;
  text-align: right;
  /* Rechts ausrichten */
}

/* Stil für die Menüpunkte */
nav ul {
  list-style: none;
  /* Listenpunkte entfernen */
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* Menüpunkte nebeneinander anordnen */
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  /* Navigationspunkte rechts ausrichten */
}

nav li {
  margin-left: 20px;
  /* Abstand zwischen den Menüpunkten anpassen */
  position: relative;
  /* Position für den Hover-Effekt festlegen */
}

nav a {
  text-decoration: none;
  /* Unterstrich entfernen */
  color: black;
  padding: 20px 10px;
  /* Platz oben und unten, links und rechts hinzufügen */
  -webkit-transition: background-color 0.3s, color 0.3s, padding 0.3s;
  transition: background-color 0.3s, color 0.3s, padding 0.3s;
  /* Übergangseffekte für Hintergrundfarbe, Textfarbe und Padding */
}

/* Hinzufügen des Hover-Effekts */
nav a:hover {
  background-color: white;
  /* Neue Hintergrundfarbe im Hover-Zustand */
  color: #555;
  /* Neue Textfarbe im Hover-Zustand */
  padding: 27px 10px;
  /* Platz oben und unten erhöhen */
}

/* Allgemeine Stile für das Formular */
form {
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Stile für Formular-Gruppen */
.form-group {
  margin-bottom: 15px;
}

/* Stile für Labels */
form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

/* Stile für Eingabefelder */
form input.form-control {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: border-color 0.3s ease;
  transition: border-color 0.3s ease;
}

/* Fokus-Stil für Eingabefelder */
form input.form-control:focus {
  border-color: #007bff;
  outline: none;
}

/* Stile für Validierungsfehler */
.text-danger {
  color: #e74c3c;
  font-size: 14px;
}

/* Stil für den Senden-Button */
form button[type=submit] {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

/* Hover-Stil für den Senden-Button */
form button[type=submit]:hover {
  background-color: #0056b3;
}

/* Stil für den Container der drei Boxen */
.card-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

/* Stil für die drei zentrierten Boxen im Container */
.card {
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  width: 400px;
  text-align: center;
  font-family: arial;
}
.card img {
  margin-top: 10px;
}
.card button {
  border: none;
  outline: 0;
  padding: 12px;
  color: black;
  background-color: whitesmoke;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}
.card button:hover {
  opacity: 0.7;
}

/* Stil für den Fußbereich */
footer {
  background-color: black;
  color: white;
  padding: 10px;
  text-align: center;
}
footer a:link {
  text-decoration: none;
}
footer a:visited {
  color: white;
}