/* Allgemeines Seitenlayout */
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #cce7f2;
  color: #222;
}

/* Haupt-Container */
.container {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 20px auto;
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Seitenleiste */
.sidebar {
  width: 200px;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  transition: max-height 0.3s ease;
}

.sidebar a {
  display: block;
  text-decoration: none;
  color: #0073cc;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.sidebar a:hover {
  color: #ff6600;
}

/* Inhalt */
.content {
  flex: 1;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
}

/* Comic-Bild */
.comic img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border: 3px solid #000;
  display: block;
  margin: 0 auto;
}

/* Bewertung */
.rating {
  text-align: center;
  margin: 20px 0;
  font-size: 18px;
}

.rating span {
  font-size: 24px;
}

/* Navigation */
.navigation {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
}

/* Footer */
.footer {
  background-color: #cce7f2;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  margin-top: 30px;
}

.footer a {
  color: #0073cc;
  text-decoration: none;
}

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

/* Amazon-Bild */
.amazon-wrapper {
  margin-top: 30px;
  text-align: center;
}

.amazon-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Element ausblenden auf Mobilgeräten */
@media (max-width: 767px) {
  .hide-mobile {
    display: none;
  }
}

/* Hamburger-Button */
.mobile-menu-button {
  display: none;
  background-color: transparent;       /* transparent statt blau */
  color: #000000;                      /* schwarz statt weiß */
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  text-align: right;
  border-radius: 0 0 0 10px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  border: none;
}

/* Sidebar-Bild */
.sidebar-img {
  width: 100%;
}

/* Responsive */
@media (max-width: 767px) {
  .container {
    flex-direction: column;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .sidebar {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    border-bottom: 1px solid #ccc;
    padding: 0 15px;
  }

  .sidebar.visible {
    max-height: 1000px;
    padding: 10px 15px;
  }

  .sidebar a {
    font-size: 18px;
    padding: 10px 0;
    display: block;
  }

  .content {
    padding: 15px;
    border-radius: 0;
  }

  .footer {
    border-top: 1px solid #aaa;
  }

  .sidebar-img {
    display: none !important;
  }
}
