/* 
  Diese CSS-Datei enthält die Styles für die Website.
  Sie verwendet konsistente Einrückung und Formatierung.
*/

/* Allgemeine Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Header Styles */
.header {
  background-color: #333;
  color: #fff;
  padding: 1em;
  text-align: center;
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

.nav li {
  margin-right: 20px;
}

.nav a {
  color: #fff;
  text-decoration: none;
}

/* Hauptbereich Styles */
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em;
}

.article {
  background-color: #fff;
  padding: 1em;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
  background-color: #333;
  color: #fff;
  padding: 1em;
  text-align: center;
  clear: both;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
  .main {
    flex-direction: column;
  }
}

@media only screen and (max-width: 480px) {
  .nav {
    flex-direction: column;
  }
}

/* Fallback-Mechanismen für ältere Browser-Versionen */
.no-js {
  display: none;
}

.js {
  display: block;
}

/* Barrierefreiheit */
a {
  text-decoration: none;
  color: #333;
}

a:hover {
  color: #666;
}

a:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* XSS-Schutz */
script {
  display: none;
}

/* Kompatibilität mit verschiedenen Betriebssystemen */
.os-linux {
  font-family: 'Ubuntu', sans-serif;
}

.os-windows {
  font-family: 'Segoe UI', sans-serif;
}

.os-mac {
  font-family: 'Helvetica', sans-serif;
}