/* Globales Styling */
body {
  background-color: #f8f8f8;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  justify-content: center;
}

/* Container für den Case */
.case-container {
  width: 80%;
  max-width: 1200px;
  margin-right: 20px;
  background: #fff;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Zurück-Link */
.back-link {
  text-decoration: none;
  color: #156082;
  font-weight: bold;
}

/* Header Styling */
.case-header {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 15px;
}

.case-header h1 {
  font-size: 2rem;
  color: #333;
}

.case-meta {
  color: #666;
  font-size: 0.9rem;
}

.category {
  color: #156082;
  font-weight: bold;
}

/* Einführung und Lösung */
.case-introduction,
.case-solution {
  font-size: 1.1em;
  line-height: 1.6;

  padding: 15px;
  border-radius: 8px;
}
.case-solution {
  background-color: #eef6ff;
}

/* Download-Bereich */
.download-section {
  background-color: #156082;
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.download-section h2 {
  margin: 0;
}

.download-section p {
  font-size: 1rem;
  margin: 10px 0;
}

.download-button {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  color: #156082;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.download-button:hover {
  background: #f4f4f4;
}

/* Links */
a {
  color: #156082;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 400px;
}

li {
  list-style-position: inside;
}

.formula {
  font-family: "Courier New", monospace;
  background: #f1f1f1;
  padding: 5px;
  display: inline-block;
}

h2 {
  color: #2c3e50;
}
.task {
  background: #f8f9fa;
  padding: 15px;
  border-left: 5px solid #156082;
  margin-bottom: 20px;
}
details {
  background: #e9ecef;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
}
details summary {
  font-weight: bold;
  cursor: pointer;
}

/* Sidebar */
.sidebar {
  width: 250px;
  padding: 20px;
  background: #f0f2f5;
  border-radius: 8px;
  margin-right: 20px;
  margin-left: 20px;
}
.sidebar ul {
  list-style: none; /* Entfernt Punkte */
  padding: 0;
}

.sidebar ul li {
  padding: 5px 0;
  width: 100%;
}

.sidebar ul .subcategories {
  margin-left: 15px; /* Einrückung für Subkategorien */
  font-size: 0.9em; /* Etwas kleiner für bessere Hierarchie */
}

.sidebar ul .subcategories li {
  padding: 2px 0;
}

.sidebar h2 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.sidebar a {
  display: block;
  text-decoration: none;
  color: #156082;
  padding: 6px 0;
  font-size: 16px;
}

.sidebar a:hover {
  text-decoration: underline;
}
