.author-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
  text-align: left;
}

.author-img img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 179, 71, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.author-text {
  max-width: 500px;
}

.author-text h3 {
  color: #ffb347;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

.author-text p {
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 15px;
}

#about {
  opacity: 0;
  transform: translateY(50px);
  animation: sectionFade 1s ease forwards;
  animation-delay: 0.2s;
}

@keyframes sectionFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about h2 {
  opacity: 0;
  transform: translateY(20px);
  animation: titleDrop 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes titleDrop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.author-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 40px;

  opacity: 0;
  transform: translateY(40px);
  animation: contentFade 1s ease forwards;
  animation-delay: 0.5s;
}

@keyframes contentFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.author-img img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 179, 71, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

  transform: scale(0.9);
  opacity: 0;
  animation: imageZoom 1s ease forwards;
  animation-delay: 0.6s;
  transition: 0.4s ease;
}

@keyframes imageZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.author-img img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(255, 179, 71, 0.25);
}
.author-text {
  max-width: 500px;

  opacity: 0;
  transform: translateX(30px);
  animation: textSlide 1s ease forwards;
  animation-delay: 0.7s;
}
@keyframes textSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.author-text h3 {
  color: #ffb347;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;

  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.8s;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.author-text p {
  opacity: 0;
  transform: translateY(15px);
  animation: paragraphFade 1s ease forwards;
}
.author-text p:nth-child(2) {
  animation-delay: 0.9s;
}
.author-text p:nth-child(3) {
  animation-delay: 1.1s;
}
@keyframes paragraphFade {
  to {
    opacity: 0.85;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-img {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.9s ease;
}
.reveal-img.active {
  opacity: 1;
  transform: scale(1);
}
.reveal,
.reveal-img {
  will-change: transform, opacity;
}
.book-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 40px;
  text-align: left;
}
.book-box {
  width: 300px;
  height: 430px;
  background: #111;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transition: 0.4s ease;
}
.book-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}
.book-box:hover {
  transform: scale(1.05);
  box-shadow: 0 40px 90px rgba(255, 179, 71, 0.2);
}
.book-details {
  max-width: 500px;
}
.book-details h3 {
  font-family: "Playfair Display", serif;
  color: #ffb347;
  margin-bottom: 15px;
  font-size: 28px;
}
.book-details p {
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 15px;
}
.book-intro {
  max-width: 700px;
  margin: 0 auto 20px auto;
  opacity: 0.8;
}
.book-details .primary {
  padding: 12px 20px;
  border-radius: 30px;
  background: #ffb347;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}
.book-details .primary:hover {
  transform: translateY(-3px);
}
body {
  font-size: 18px;
  line-height: 1.7;
}

/* HEADINGS */
h1 {
  font-size: 72px;
  line-height: 1.1;
}

h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

h3 {
  font-size: 26px;
}
p {
  font-size: 18px;
  opacity: 0.85;
}

.hero-content h1 {
  font-size: 76px;
}
.hero-content p {
  font-size: 20px;
}
button {
  font-size: 16px;
  padding: 14px 26px;
}
.navbar a {
  font-size: 5px;
}
.book-details p,
.book-intro {
  font-size: 19px;
}
.author-text p {
  font-size: 18px;
}
.author-text h3 {
  font-size: 28px;
}
#about {
  background-color: #f8f1e7;
  padding: 70px 20px;
}
#about h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #2c2c2c;
}

.author-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.author-img img {
  width: 260px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.author-text {
  flex: 1;
}
.author-text h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #ffb347;
}
.author-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 12px;
}
/* Responsive */
@media (max-width: 768px) {
  .author-container {
    flex-direction: column;
    text-align: center;
  }
  .author-img img {
    width: 200px;
  }
}
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
}
/* HERO LAYOUT */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 60px;
  padding-top: 100px;
}
.book {
  width: 320px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  animation: float 4s ease-in-out infinite;
}
/* IMAGE FIT */
.book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Inter:wght@300;400;600&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Inter, sans-serif;
  background: #0b0b0f;
  color: white;
}
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(12px);
  z-index: 1000;
}
.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  opacity: 0.7;
}
.navbar a:hover {
  opacity: 1;
  color: #ffb347;
}
/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 60px;
}
.hero-content h1 {
  font-size: 60px;
  font-family: "Playfair Display", serif;
}
.highlight {
  color: #ffb347;
}
/* BUTTONS */
button {
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}
.primary {
  background: #ffb347;
}
.secondary {
  background: transparent;
  border: 1px solid white;
  color: white;
}
/* SECTION */
.section {
  padding: 120px 60px;
  text-align: center;
}
/* BOOK GRID */
.book-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.book-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 15px;
}
.book-box img {
  width: 100%;
  border-radius: 10px;
}
/* AUTHOR */
.author-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.author-img img {
  width: 250px;
  border-radius: 15px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 60px;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(14px);
  z-index: 1000;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* BRAND */
.navbar strong {
  font-size: 22px;
  letter-spacing: 1px;
  color: #ffffff;
}
.navbar a {
  color: white;
  text-decoration: none;

  margin-left: 25px;
  font-size: 16px;
  font-weight: 500;

  opacity: 0.75;
  transition: 0.3s ease;

  padding: 8px 12px;
  border-radius: 20px;
}
.navbar a:hover {
  opacity: 1;
  color: #ffb347;
  background: rgba(255, 179, 71, 0.1);
}
.navbar a.active {
  color: #ffb347;
  opacity: 1;
}

.author-text h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 15px;
}
.author-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.author-text h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 18px;
}
/* MAIN PARAGRAPHS */
.author-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.9;
  text-align: justify;
  text-indent: 40px;
  margin-bottom: 18px;
}
.author-text {
  max-width: 750px;
  margin: 0 auto;
}
.author-text h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 18px;
}
.author-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.9;
  text-align: justify;
  text-indent: 40px;
  margin-bottom: 0;
}
.author-text p {
  opacity: 0;
  transform: translateY(-40px);
  animation: dropIn 0.8s ease forwards;
}

.author-text p:nth-of-type(1) {
  animation-delay: 0.2s;
}
.author-text p:nth-of-type(2) {
  animation-delay: 0.4s;
}
.author-text p:nth-of-type(3) {
  animation-delay: 0.6s;
}
.author-text p:nth-of-type(4) {
  animation-delay: 0.8s;
}
@keyframes dropIn {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.author-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
}
/* CIRCLE IMAGE (CENTERED) */
.author-img img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 179, 71, 0.8);
}
/* TEXT CENTERING */
.author-text {
  max-width: 750px;
}
.author-text p {
  text-align: justify;
}
/* BUTTON */
.synopsis-btn {
  margin-top: 10px;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background: #ffb347;
  color: black;
  font-weight: bold;
  cursor: pointer;
}
/* MODAL BACKDROP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 1000;
}
/* MODAL */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #111;
  color: white;
  width: 700px;
  max-width: 90%;
  padding: 25px;
  border-radius: 15px;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 1100;
}
/* ACTIVE */
.modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.modal-overlay.active {
  display: block;
}
/* MODAL CONTENT LAYOUT */
.modal-content {
  display: flex;
  gap: 20px;
  align-items: center;
}
/* IMAGE */
.modal-img {
  width: 180px;
  border-radius: 12px;
}
/* TEXT */
.modal-text h2 {
  margin-bottom: 8px;
}

.genre {
  color: #ffb347;
  font-size: 14px;
  margin-bottom: 10px;
  font-style: italic;
}
.modal-text p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
/* CLOSE BUTTON */
.close-btn {
  margin-top: 20px;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background: #ffb347;
  cursor: pointer;
}
.buy-btn {
  margin-top: 15px;
  padding: 10px 16px;
  border: none;
  border-radius: 20px;
  background: #ffb347;
  color: black;
  font-weight: bold;
  cursor: pointer;
}
.buy-btn:hover {
  transform: scale(1.05);
}
.modal-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.modal {
  width: 85%;
  max-width: 1100px;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 16px;
}
/* modal layout */
.modal-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
/* BIGGER IMAGE */
.modal-img {
  width: 420px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
/* TEXT AREA */
.modal-text {
  flex: 1;
}
.modal-text p {
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
}
.modal-text p {
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;

  /* INDENT EFFECT */
  text-indent: 30px;
  margin-bottom: 15px;
}
.book-box {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.book-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* pushes button to the bottom */
.synopsis-btn {
  margin-top: auto;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  background: #ffb347;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.synopsis-btn:hover {
  transform: scale(1.05);
}

/* initial hidden state */
.book-box {
  opacity: 0;
  transform: translateY(40px);
  animation: bookFadeIn 0.6s ease forwards;
}

/* animation keyframes */
@keyframes bookFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* stagger delays (1 by 1 appearance) */
.book-box:nth-child(1) {
  animation-delay: 0.1s;
}

.book-box:nth-child(2) {
  animation-delay: 0.3s;
}

.book-box:nth-child(3) {
  animation-delay: 0.5s;
}

.book-box:nth-child(4) {
  animation-delay: 0.7s;
}

.book-box:nth-child(5) {
  animation-delay: 0.9s;
}

.section h2,
.section p {
  opacity: 0;
  transform: translateY(-40px);
  animation: headerTextDrop 0.8s ease forwards;
}

/* delay so title comes first, subtitle second */
.section h2 {
  animation-delay: 0.2s;
}

.section p {
  animation-delay: 0.4s;
}

@keyframes headerTextDrop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.book-details p {
  text-align: justify;
  text-indent: 25px;
  line-height: 2;
  font-size: 18px;
  color: #ffffff;
}
/* REMOVE BOX / CONTAINER FEEL */
.modal-content {
  background: transparent; /* remove white box */
  box-shadow: none; /* remove shadow */
  padding: 0; /* remove spacing box feel */
}

/* KEEP LAYOUT SAME */
.modal-img {
  width: 250px;
  margin-right: 20px;
}

/* OPTIONAL: cleaner alignment */
.modal-content {
  display: flex;
  align-items: center;
}
/* BOOK ACTION BUTTONS LAYOUT */
.book-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* MAKE BOTH BUTTONS SAME SIZE */
.synopsis-btn,
.buy-btn {
  flex: 1; /* makes them equal width */
  height: 42px; /* fixed same height */
  padding: 0 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SYNPOSIS BUTTON STYLE */
.synopsis-btn {
  background-color: #2c2c2c;
  color: #fff;
}

.synopsis-btn:hover {
  background-color: #444;
}

/* BUY BUTTON STYLE */
.buy-btn {
  background-color: #b8860b;
  color: #fff;
}

.buy-btn:hover {
  background-color: #d4a017;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

/* ===== ANIMATED BACKGROUND ===== */
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(-45deg, #0f0f0f, #1a1a1a, #111827, #0b0b0b);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  font-family: "Inter", sans-serif;
  color: #fff;
  position: relative;
  overflow-x: hidden;
}

/* smooth animated gradient movement */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===== FLOATING LIGHT ORBS ===== */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: floatGlow 20s infinite alternate ease-in-out;
  filter: blur(40px);
}

body::before {
  top: -100px;
  left: -100px;
}

body::after {
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.12), transparent 70%);
}

/* floating movement */
@keyframes floatGlow {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  50% {
    transform: translate(50px, 30px) scale(1.2);
  }
  100% {
    transform: translate(-30px, -20px) scale(1);
  }
}

.book-details h3 {
  text-align: center;
  width: 100%;
  font-size: 2.2rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 15px;
}

.book-details h3 {
  text-align: center;
  width: 100%;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem; /* smaller than before */
  margin-bottom: 15px;
}

.feature-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  background: #1e1e1e;
  color: #fff;
  gap: 50px;
}

.feature-text {
  max-width: 600px;
}

.feature-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 10px;
  color: #ffb347;
}

.feature-text .date {
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: #00bcd4;
  margin-bottom: 20px;
}

.feature-text p {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  opacity: 0.85;
}

.feature-links {
  margin-top: 25px;
  display: flex;
  gap: 20px;
}

.feature-links a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

.feature-links .grab {
  color: #00bcd4;
}

.feature-image img {
  width: 320px;
  border-radius: 8px;
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-box {
  position: relative;
  width: 80%;
  max-width: 900px;
}

.video-box video {
  width: 100%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.feature-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* VIDEO BACKGROUND */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;

  filter: blur(4px); /* 👈 this is the blur */
  scale: 1.1; /* prevents edge cut-off from blur */
  z-index: 0;
}

/* DARK OVERLAY for readability */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* CONTENT ON TOP */
.feature-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  padding: 60px;
  color: white;
}
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: #111;
  color: white;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.highlight {
  color: orange;
}

/* BUTTONS */
.btn-group {
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  margin-right: 10px;
  cursor: pointer;
}

.primary {
  background: orange;
  border: none;
  color: white;
}

.secondary {
  background: transparent;
  border: 1px solid black;
}

/* HERO BOOK */
.book img {
  width: 300px;
  animation: floatBook 4s ease-in-out infinite;
}

/* ========================= */
/* FEATURE SECTION */
/* ========================= */

.feature-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px;
}

/* VIDEO BACKGROUND */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;

  filter: blur(10px) brightness(0.5); /* 🔥 extra blur */
  scale: 1.2;

  z-index: 0;
}

/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* CONTENT */
.feature-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 60px;
  align-items: center;
  color: white;
  max-width: 1100px;
}

/* TEXT */
.feature-text {
  max-width: 600px;
}

.feature-text h2 {
  font-size: 3.5rem; /* bigger */
  margin-bottom: 10px;
}

.feature-text .date {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 15px;
}

.feature-text p {
  font-size: 1.25rem; /* bigger */
  line-height: 1.6;
}

/* LINKS */
.feature-links a {
  color: #ffcc70;
  text-decoration: none;
  font-size: 1.2rem;
}

/* FEATURE BOOK */
.feature-image img {
  width: 380px; /* bigger book */
  border-radius: 12px;

  animation: floatBook 4s ease-in-out infinite;
}
/* FLOAT ANIMATION */
@keyframes floatBook {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ================= NAV ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: #111;
  color: white;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* ================= FEATURE SECTION ================= */
.feature-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px;
}

/* BACKGROUND VIDEO */
.feature-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;

  filter: blur(18px) brightness(0.5);
  scale: 1.2;

  z-index: 0;
}
/* OVERLAY */
.feature-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* CONTENT */
.feature-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 60px;
  align-items: center;
  color: white;
  max-width: 1100px;
}

/* TEXT */
.feature-text h2 {
  font-size: 3.5rem;
}

#typing-text {
  font-size: 1.2rem;
  line-height: 1.6;
  min-height: 120px;
}

/* BOOK IMAGE ANIMATION */
.feature-image img {
  width: 380px;
  animation: floatBook 4s ease-in-out infinite;
  border-radius: 12px;
}

@keyframes floatBook {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ================= MODAL ================= */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-box video {
  width: 800px;
  max-width: 90vw;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px;
  cursor: pointer;
}

#typing-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;

  text-align: justify; /* 👈 makes text aligned both sides */
  text-indent: 40px; /* 👈 first-line indentation */
  max-width: 600px; /* keeps it readable */
}
/* ===== ABOUT HERO ===== */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

/* BACKGROUND */
.about-bg {
  position: absolute;
  inset: 0;
  background: url("image/your-background.jpg") center/cover no-repeat;
  filter: grayscale(30%) brightness(40%);
  transform: scale(1.1);
}
/* OVERLAY */
.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
/* CONTENT WRAPPER */
.about-content {
  position: relative;
  display: flex;
  gap: 60px;
  max-width: 1200px;
  padding: 80px;
  align-items: center;
}
/* TEXT SIDE */
.about-text {
  flex: 1;
}
.about-text h1 {
  font-size: 60px;
  margin: 0;
  font-family: serif;
}
.about-text h1 span {
  color: #d6c07a;
}
.about-text h3 {
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 14px;
  opacity: 0.7;
}
/* SCROLLABLE TEXT AREA */
.about-scroll {
  margin-top: 20px;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 10px;
}
.about-scroll p {
  line-height: 1.7;
  margin-bottom: 18px;
  opacity: 0.9;
}
/* IMAGE SIDE */
.about-image {
  flex: 0.8;
}
.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-btn {
  margin-top: 15px;

  padding: 8px 12px; /* smaller size */
  font-size: 13px; /* smaller text */

  border: none;
  border-radius: 5px;

  background-color: #b8860b;
  color: #fff;
  font-weight: 600;

  cursor: pointer;
  transition: 0.2s ease;

  display: block;
  margin-left: auto; /* keeps it on the right */
}
#modalTitle {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff;
}
/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: #111;
  color: white;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* ================= HERO FEATURE SECTION ================= */
.hero-feature {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px;
}

/* BACKGROUND VIDEO */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;

  filter: blur(18px) brightness(0.5);
  scale: 1.2;

  z-index: 0;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  color: white;
}

/* TEXT SIDE */
.text-side {
  max-width: 600px;
}

.text-side h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  line-height: 1.2;
}

.highlight {
  color: orange;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-top: 10px;
}

.date {
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: #ffb347;
  margin: 15px 0;
}

/* TYPING */
#typing-text {
  font-size: 1.1rem;
  line-height: 1.6;
  min-height: 120px;
}

/* LINK */
.feature-links a {
  color: #ffcc70;
  text-decoration: none;
  font-size: 1.1rem;
}

/* IMAGE */
.image-side img {
  width: 360px;
  border-radius: 12px;
  animation: floatBook 4s ease-in-out infinite;
}

/* FLOAT */
@keyframes floatBook {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ================= MODAL ================= */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-box video {
  width: 800px;
  max-width: 90vw;
  border-radius: 10px;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;

  padding: 8px 12px;
  border: none;
  border-radius: 6px;

  background: #b8860b;
  color: white;
  cursor: pointer;
}

.close-btn:hover {
  background: #d4a017;
}
.feature-links a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  margin-top: 10px;
  font-family: "Inter", sans-serif;
}

/* small button style */
.more-books-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 7px;
  background-color: #b8860b;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 5px;
  transition: 0.2s ease;
}

.more-books-btn:hover {
  background-color: #d4a017;
}
.site-footer {
  background: #0e0e0e;
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin: 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-line {
  font-size: 0.9rem;
  color: #aaa;
}

.footer-line a {
  color: #fff;
  text-decoration: none;
}

.footer-line a:hover {
  text-decoration: underline;
}

.footer-left-align {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* pushes content to the left */
  gap: 10px;
  width: 100%;
}

.footer-logo {
  width: 200px; /* adjust smaller or bigger if needed */
  height: auto;
  object-fit: contain;
}

.nav-logo img {
  width: 200px; /* adjust size as needed */
  height: auto;
  object-fit: contain;
}

/* keeps navbar aligned nicely */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-footer {
  background: #000000;
}

.navbar {
  background: #000000; /* pure black */
}

.navbar img {
  height: 45px; /* controls logo size */
  width: auto;
  object-fit: contain;
  display: block;
}
/* =========================
   RESPONSIVE FIX ONLY
   (does NOT change design)
========================= */

/* Prevent horizontal scroll on all pages */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Make images scale down properly */
img {
  max-width: 100%;
  height: auto;
}

/* -------------------------
   TABLET (<= 992px)
------------------------- */
@media (max-width: 992px) {
  /* Book layout */
  .book-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About page layout */
  .author-container {
    flex-direction: column;
  }
}

/* -------------------------
   MOBILE (<= 600px)
------------------------- */
@media (max-width: 600px) {
  /* Book layout becomes single column */
  .book-container {
    grid-template-columns: 1fr;
  }

  /* Navbar wraps instead of breaking */
  .navbar {
    flex-wrap: wrap;
  }

  .navbar div {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  /* Reduce section padding slightly */
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Ensure about page stacks */
  .author-container {
    flex-direction: column;
  }
}
/* ================= SCROLL INDICATOR ================= */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator a {
  display: block;
  width: 24px;
  height: 40px;
  position: relative;
}

.scroll-indicator span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 4px auto;
  animation: scrollAnim 1.5s infinite;
  opacity: 0;
}

.scroll-indicator span:nth-child(1) {
  animation-delay: 0s;
}
.scroll-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.scroll-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scrollAnim {
  0% {
    opacity: 0;
    transform: translateY(-10px) rotate(45deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px) rotate(45deg);
  }
}
.feature-links a {
  text-decoration: underline;
}
/* =========================
   FORCE MOBILE SAFETY NET
========================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* =========================
   GLOBAL MOBILE TYPOGRAPHY
========================= */

@media (max-width: 600px) {
  h1 {
    font-size: 28px !important;
    line-height: 1.3;
  }

  h2 {
    font-size: 22px !important;
  }

  h3 {
    font-size: 18px !important;
  }

  p {
    font-size: 14px !important;
    line-height: 1.6;
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    text-align: center;
  }

  .navbar a {
    display: inline-block;
    margin: 5px;
    font-size: 13px;
  }

  .navbar img {
    height: 35px;
  }
}

@media (max-width: 600px) {
  .hero,
  .hero-feature {
    flex-direction: column;
    padding: 80px 15px 40px;
    text-align: center;
  }

  .image-side img {
    width: 200px;
  }

  .text-side,
  .hero-content {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .book-container {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  .book-box {
    width: 100%;
  }
  .book-details h3 {
    font-size: 16px;
  }
  .book-actions {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .author-content {
    flex-direction: column;
    text-align: center;
  }
  .author-img {
    width: 180px;
    height: 180px;
  }
  .author-text {
    padding: 0 10px;
  }
}
@media (max-width: 600px) {
  .modal {
    width: 95%;
    padding: 15px;
  }
  .modal-content {
    flex-direction: column;
    align-items: center;
  }
  .modal-img {
    width: 180px;
  }
  .modal-text {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 60px 15px;
  }
  .hero-content h1,
  .text-side h1 {
    font-size: 26px;
  }
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  word-wrap: break-word;
}
@media (max-width: 600px) {
  h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 18px;
  }
  p {
    font-size: 15px;
    line-height: 1.6;
  }
}
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 12px;
    gap: 10px;
  }
  .navbar a {
    font-size: 14px;
    margin: 5px;
  }
  .navbar img {
    height: 40px;
  }
}
@media (max-width: 600px) {
  .hero,
  .hero-feature {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px 40px;
    gap: 20px;
  }
  .text-side,
  .hero-content {
    width: 100%;
  }
  .image-side img {
    width: 220px;
  }
}
@media (max-width: 600px) {
  .book-container {
    grid-template-columns: 1fr;
  }
  .book-box {
    width: 100%;
  }
  .book-details h3 {
    font-size: 18px;
  }
  .book-actions {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .author-content {
    flex-direction: column;
    text-align: center;
  }
  .author-img {
    width: 200px;
    height: 200px;
  }
  .author-text {
    padding: 0 10px;
  }
}
@media (max-width: 600px) {
  .modal {
    width: 95%;
    padding: 15px;
  }
  .modal-content {
    flex-direction: column;
    text-align: center;
  }
  .modal-img {
    width: 200px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 60px 20px;
  }
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo img {
  width: 180px;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
  .nav-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .nav-logo img {
    margin: 0 auto;
  }
  .navbar div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .navbar a {
    font-size: 14px;
    padding: 5px 10px;
  }
}
.modal-overlay {
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    gap: 15px;
  }
  .nav-logo img {
    width: 240px;
    max-width: 90%;
  }
  .navbar div:last-child {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
  }
  .navbar a {
    font-size: 17px;
  }
  .hero-feature {
    padding-top: 70px;
    padding-bottom: 70px;
    min-height: auto;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 45px;
    padding: 20px;
    text-align: center;
  }
  .text-side {
    width: 100%;
    max-width: 95%;
    order: 1;
  }
  .text-side h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-top: 20px;
    margin-bottom: 25px;
    word-break: normal;
    overflow-wrap: normal;
  }
  .highlight {
    display: inline;
  }
  .date {
    font-size: 1.3rem;
    letter-spacing: 4px;
    margin-bottom: 30px;
  }
  #typing-text {
    font-size: 1.15rem;
    line-height: 1.8;
    width: 100%;
    max-width: 95%;
    margin: auto;
    text-align: center;
    word-break: normal;
  }
  .feature-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
    margin-top: 35px;
    width: 100%;
  }
  .feature-links a {
    font-size: 0.5rem;
    line-height: 1;
    white-space: nowrap;
  }
  .more-books-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .image-side {
    width: 100%;
    display: flex;
    justify-content: center;
    order: 2;
  }
  .image-side img {
    width: 250px;
    max-width: 80%;
    height: auto;
  }
  .author-section {
    padding: 70px 20px;
  }
  .author-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }
  .author-img {
    width: 220px;
    height: 220px;
  }
  .author-text {
    width: 100%;
    max-width: 95%;
  }
  .author-text h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  .author-text h3 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: white;
  }

  .author-text p {
    font-size: 1.08rem;
    line-height: 1.9;
    text-align: center;
  }
  .site-footer {
    text-align: center;
    padding: 40px 20px;
  }
  .footer-top {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
  }
  .footer-logo {
    width: 220px;
    max-width: 90%;
  }
  .footer-line {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
  }
  .scroll-indicator {
    bottom: 20px;
  }
  .video-box video {
    width: 95%;
    height: auto;
  }
}
@media (max-width: 480px) {
  .text-side h1 {
    font-size: 2.6rem;
    line-height: 1.15;
  }
  .date {
    font-size: 1rem;
  }
  #typing-text {
    font-size: 1rem;
  }
  .feature-links {
    gap: 12px;
  }
  .feature-links a {
    font-size: 0.95rem;
  }
  .more-books-btn {
    padding: 10px 14px;
  }
  .image-side img {
    width: 210px;
  }
  .author-text h3 {
    font-size: 1.7rem;
  }
  .author-text p {
    font-size: 1rem;
  }
  .nav-logo img {
    width: 200px;
  }
}
@media (max-width: 768px) {
  .feature-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: 30px;
  }
  .feature-links a {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .more-books-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
    border-radius: 5px;
  }
}
@media (max-width: 480px) {
  .feature-links {
    gap: 8px;
  }
  .feature-links a {
    font-size: 0.8rem;
  }
  .more-books-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}
@media (max-width: 768px) {
  #typing-text {
    text-align: justify;
    text-justify: inter-word;
    max-width: 92%;
    margin: auto;
    line-height: 1.9;
  }
  .author-text p {
    text-align: justify;
    text-justify: inter-word;
    max-width: 92%;
    margin: auto;
    line-height: 1.9;
  }
}
.text-side h1 {
  margin-top: 80px;
  line-height: 1.15;
}
.about-page {
  background: #0e0e0e;
  color: white;
  overflow-x: hidden;
}
.about-section {
  padding: 120px 40px 80px;
}
.author-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
}
.author-img {
  flex-shrink: 0;
}
.author-img img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #b8860b;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}
.author-text {
  max-width: 700px;
}
.author-text p {
  font-size: 1.05rem;
  line-height: 2;
  color: #dddddd;
  margin-bottom: 25px;
  text-align: justify;
}
@media (max-width: 768px) {
  .about-section {
    padding: 140px 20px 60px;
  }
  .author-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  .author-img img {
    width: 240px;
    height: 240px;
  }
  .author-text {
    max-width: 95%;
  }
  .author-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
  }
}
@media (max-width: 480px) {
  .author-img img {
    width: 210px;
    height: 210px;
  }
  .author-text p {
    font-size: 1rem;
  }
}
.author-img {
  margin-top: 40px;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}
.modal.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  display: flex;

  gap: 30px;

  padding: 30px;

  overflow-y: auto;

  max-height: 90vh;

  scrollbar-width: thin;
}

.modal-img {
  width: 280px;

  height: auto;

  object-fit: contain;

  flex-shrink: 0;
}

.modal-text {
  flex: 1;

  color: white;

  overflow-y: auto;

  padding-right: 10px;
}
.modal-text h2 {
  font-size: 2rem;

  margin-bottom: 15px;
}
.genre {
  color: #c9a227;

  margin-bottom: 20px;

  font-style: italic;
}
#modalText {
  line-height: 1.9;

  text-align: justify;
}
.close-btn {
  margin-top: 25px;

  padding: 10px 20px;

  border: none;

  background: #c9a227;

  color: black;

  cursor: pointer;

  border-radius: 5px;
}

@media (max-width: 768px) {
  .modal {
    width: 95%;

    max-height: 90vh;
  }

  .modal-content {
    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 20px;

    overflow-y: auto;

    max-height: 90vh;
  }

  .modal-img {
    width: 180px;
  }

  .modal-text {
    width: 100%;

    overflow-y: visible;
  }

  .modal-text h2 {
    font-size: 1.5rem;
  }

  #modalText {
    font-size: 0.98rem;

    line-height: 1.8;

    text-align: justify;
  }
}
.modal-content::-webkit-scrollbar,
.modal-text::-webkit-scrollbar {
  width: 8px;
}
.modal-content::-webkit-scrollbar-thumb,
.modal-text::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 20px;
}
.author-text {
  max-width: 900px;
}
.author-text p {
  max-width: 100%;
}

/* MOBILE */
@media (max-width: 768px) {
  .author-text {
    max-width: 98%;
  }

  .author-text p {
    max-width: 100%;

    width: 100%;

    margin: auto;

    text-align: justify;

    line-height: 1.9;
  }
}
.author-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
