body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background-color: #f4f4f4;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}


.ebook-container {
  display: flex;
  align-items: center;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: auto;
}

.ebook-image {
  max-width: 200px;
  height: auto;
  margin-right: 20px;
}

.ebook-text {
  max-width: 500px;
}

.ebook-text h1 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  color: #333;
}

.ebook-text p {
  font-size: 1rem;
  color: #555;
}


body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode Styles */
body.dark-mode {
  background-color: #121212 !important;
  color: #e0e0e0 !important;
}

body.dark-mode .accordion-button {
  background-color: #2c2c2c !important;
  color: #fff !important;
}

body.dark-mode .accordion-body {
  background-color: #1a1a1a !important;
  color: #ccc !important;
}

body.dark-mode .form-check-label {
  color: #ccc !important;
}

body.dark-mode footer {
  color: #aaa !important;
  border-color: #333 !important;
}

body.dark-mode .ebook-container {
  background-color: #1e1e1e !important;
  color: #e0e0e0 !important;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .ebook-container h2,
body.dark-mode .ebook-container h1 {
  color: #ffffff !important;
}


body.dark-mode .ebook-container p {
  color: #cccccc !important;
}

body.dark-mode p {
  color: #cccccc !important;
}













