body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

#search {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
}

/* Anpassung der Eingabefelder */
#addArticleForm {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Zwei Spalten */
  gap: 10px; /* Abstand zwischen den Spalten */
  margin-bottom: 20px;
}

#addArticleForm label {
  grid-column: span 2; /* Erstreckt sich über beide Spalten */
}

#addArticleForm input[type="text"],
#addArticleForm input[type="number"] {
  width: 100%; /* Die Eingabefelder füllen die gesamte Breite ihrer Container aus */
  padding: 10px;
  box-sizing: border-box; /* Berücksichtige Padding und Border in der Breite */
  margin-bottom: 10px; /* Füge einen Abstand zwischen den Eingabefeldern hinzu */
}

#addArticleForm button {
  width: 100%;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th, table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

/* Füge die CSS-Regeln für die Tabelle hinzu */
table th {
  cursor: pointer;
  background-color: #007bff;
  color: #fff;
}

table th:hover {
  background-color: #0056b3;
}

/* Füge die CSS-Regeln für die Bilder in der Tabelle hinzu */
table img {
  max-width: 100%;
  height: auto;
}

/* Stildefinitionen für die Suchleiste */
#search {
  width: 100%;
  padding: 10px;
  margin-top: 20px;
}
