/* --- SCHRIFTARTEN DEFINIEREN --- */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400; /* 400 = Normal (Regular) */
  /* WICHTIG: Du brauchst eine 'Poppins-Regular.ttf'-Datei in deinem /fonts-Ordner! */
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400; /* 400 = Normal Kursiv */
  src: url('fonts/Poppins-Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700; /* 700 = Fett (Bold) */
  src: url('fonts/Poppins-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700; /* 700 = Fett Kursiv */
  src: url('fonts/Poppins-BoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800; /* 800 = Extra Fett (ExtraBold) */
  src: url('fonts/Poppins-ExtraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900; /* 900 = Schwarz (Black) */
  src: url('fonts/Poppins-Black.ttf') format('truetype');
}

/* --- ENDE SCHRIFTARTEN --- */


/* Grundlegende Einstellungen */
body {
  margin: 0;
  padding: 0;
  /* HIER WIRD DIE NEUE SCHRIFTART ANGEWENDET */
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #f5f5f5;
}

/* Container für Seiteninhalte (wird von admin.php etc. genutzt) */
.container {
  max-width: 400px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

/* Tabellen-Stile – alle Tabellen haben durchgehend schwarze Rahmen */
table {
  width: 100%; /* Geändert von 400px auf 100%, damit es in die Ticker-Boxen passt */
  border-collapse: collapse; /* sorgt dafür, dass benachbarte Rahmen zusammengeführt werden */
  margin-top: 20px;
}

table, th, td {
  border: 1px solid black;
}

th, td {
  padding: 8px;
  text-align: center;
}

/* Optional: Kopfzeile */
th {
  background-color: #eaeaea;
  font-weight: 700; /* Nutzt jetzt Poppins-Bold */
}

/* Stil für den Header der Seite */
header {
  background-color: #333;
  color: #fff;
  padding: 15px 0;
  text-align: center;
  font-size: 24px;
}

/* Navigation (falls verwendet) */
nav {
  background-color: #337ab7;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  margin: 5px 10px;
  padding: 8px 16px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #286090;
}

/* iframe-Container (wenn Seiten per iframe eingebunden werden) */
.iframe-container {
  width: 100%;
  height: 800px;
  margin-top: 20px;
  border: none;
}