body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  text-align: center;
  line-height: 1.5;
}
/* Page Title */
.title {
  margin: 20px 0;
  font-size: 1.8rem;
  font-weight: bold;
}

.divider {
  width: 50px;
  height: 3px;
  background-color: #000;
  margin: 10px auto;
}
/* Flipbook Container */
#flipbook {
  margin: 20px auto;
  width: 800px; /* Book width */
  height: 500px; /* Book height */
}

/* Make images fit */
#flipbook img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Header Section */
.header {
  background-image: url("img2.webp");
  background-size: cover;
  background-position: bottom;
  height: 500px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header h1 {
  font-size: 3rem;
  margin: 0;
  color: #fff;
  /* background-color: rgba(0, 0, 0, 0.6); */
  padding: 10px 20px;
  border-radius: 8px;
  border: 8px;
}

.header p {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #ddd;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
}

/* Content Section */
.content {
  padding: 20px 10px;
  text-align: center;
  background-color: #f8f8f8;
}

.content-text {
  padding: 40px 80px;
  text-align: center;
  background-color: #f8f8f8;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin: 8px 100px;
}

.content-about {
  display: flex;
  justify-content: space-between;
  /* gap: 30px; */
  padding: 20px;
  max-width: auto;
  /* padding: 40px 80px; */
  text-align: center;
  background-color: #f8f8f8;
  border: 2px solid #ddd;
  border-radius: 8px;
  /* margin:8px 100px; */
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}

.chapters {
  flex: 1;
  /* border-left: 1px solid #ddd; */
  padding-left: 20px;
}

.chapters ul {
  list-style: none;
  padding: 0;
}

.chapters li {
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.chapters li:first-child {
  font-weight: bold;
  color: #e63946;
}

.container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* About Section */
.about {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.manga-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px;
}

.manga-container img {
  max-width: 100%;
  height: auto;
  border: 3px solid #080808;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Container for Buttons */
.navigation {
  display: flex;
  justify-content: space-between; /* Position buttons to left and right */
  align-items: center;
  margin: 20px auto; /* Add spacing between sections */
  max-width: 800px; /* Keep it aligned with the content */
  padding: 10px;
  gap: 100px;
}

/* Button Styles */
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  background-color: #333;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Hover Effect */
.nav-button:hover {
  background-color: #555;
}

/* Left Button Arrow */
.nav-button .arrow-left::before {
  content: "←";
  margin-right: 10px;
}

/* Right Button Arrow */
.nav-button .arrow-right::after {
  content: "→";
  margin-left: 10px;
}

.social-share {
  display: flex;
  gap: 10px;
  justify-content: center;
}
 .share-button {
     padding: 10px 15px;
     color: white;
     text-decoration: none;
     border-radius: 5px;
 }
 .facebook { background-color: #3b5998; }
 .twitter { background-color: #1da1f2; }
 .linkedin { background-color: #0077b5; }
 .whatsapp { background-color: #25d366; }
 
/* Middle Section */
.middle-section {
  /* flex: 1; */
  min-height: 100vh;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  /* overflow-y: auto; */
}

/* Tagged Section */
.tagged-section {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

.tagged-section strong {
  color: #333;
  font-weight: bold;
  margin-right: 5px;
}

.tagged-section a {
  color: #007bff !important;
  text-decoration: none  !important;
  margin-right: 8px  !important;
  transition: color 0.3s ease  !important;
}

.tagged-section a:hover {
  text-decoration: underline;
  color: #0056b3;
}
/* Tagged Section */
.tagged-section {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

.tagged-section strong {
  color: #333;
  font-weight: bold;
  margin-right: 5px;
}

.tagged-section a:hover {
  text-decoration: underline;
  color: #0056b3;
}

/*CSS ADDED BY HANAN START*/

/* .body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.left-section > .fixed-section,
.right-section > .fixed-section {
  position: fixed;
  top: 0px;
  bottom: 0px;
} */

.body {
  display: flex;
  flex-direction: row;
  height: 100%; /* Allow content to extend */
}

.left-section,
.right-section {
  width: 20%; /* Adjust width as needed */
  height: auto; /* Allow height to grow */
  position: relative; /* Ensure sticky behaves correctly */
}

.middle-section {
  flex: 1; /* Take remaining space */
  overflow-y: auto; /* Allow middle section content to scroll */
  padding: 16px;
}

.fixed-section {
  position: sticky; /* Use sticky positioning */
  top: 0; /* Stick to the top of the parent section */
  padding: 16px;
  overflow-y: auto; /* Allow internal scrolling if content exceeds height */
  max-height: 100vh; /* Prevent overflow beyond viewport */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for visibility */
}

.coming-soon {
  text-align: center;
  padding: 50px;
  border-radius: 15px;
  /* background: #080808; */
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeIn 2s ease-in-out;
}

.coming-soon p {
  font-size: 2rem;
  margin: 0 0 20px;
}

.text-4xl {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/*CSS ADDED BY HANAN END*/

@media (max-width: 480px) {
  .header {
    height: 200px;
  }
.coming-soon p {
  font-size: 1rem;
  margin: 0 0 20px;
}
  .header h1 {
    font-size: 1.8rem;
    padding: 5px 10px;
  }

  .header p {
    font-size: 0.9rem;
    padding: 5px 10px;
  }

  .body {
    flex-direction: column;
  }

  .content h2 {
    font-size: 1.3rem;
    text-underline-offset: 6px;
  }

  .content-text {
    padding: 10px;
    margin: 5px;
  }

  .thumbnails img {
    width: 120px;
  }

  .container {
    flex-direction: column;
  }

  .about,
  .chapters {
    padding: 8px 0;
  }

  .chapters li {
    font-size: 0.9rem;
  }

  .about h2 {
    font-size: 1.2rem;
  }

  .navigation {
    flex-direction: row;
    gap: 10px;
  }
  /* Middle Section */
  .middle-section {
    flex: 1;
    min-height: 100vh;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
  .left-section,
  .right-section {
  width: 100%; /* Adjust width as needed */
  height: auto; /* Allow height to grow */
  position: relative; /* Ensure sticky behaves correctly */
}
}
