body {
  /* background-color: var(--white); */
  background-color: #ffb2a8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23ffb9b0' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23ffc1b7' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23ffc8bf' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23ffcfc6' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23FFD6CE' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23ffdcd4' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23ffe1d9' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23ffe6df' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23ffebe4' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23FFF0EA' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
  color: black;
  /* font-size: 1.6rem; */
  font-size: 1.55rem;
  line-height: 1.8;
}

:focus-visible {
  outline-offset: 4px;
}

::selection {
  background-color: var(--old-rose);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 10px;
}

/*repetition*/
::-webkit-scrollbar-track {
  background: var(--grey-white);
}

/*repetition*/
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    to bottom,
    hsl(357, 37%, 62%),
    hsl(304, 14%, 46%)
  );
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(357, 60%, 45%);
}
body.dark-mode {
  background-image: url("/assets/images/darkmode_bg.png");
}

.dark-mode {
  color: #fff;
}

.dark-mode .form {
  background-color: #333;
  color: #fff;
}

.dark-mode .description {
  color: #fff;
}

.dark-mode .logo {
  color: #fff;
}
.dark-mode .header {
  /* background-color: #333; */
  color: #fff;
}

.dark-mode .container button {
  margin-left: none;
}

.dark-mode .invert-col {
  filter: invert(1);
}

.dark-mode .footer {
  background-color: #333;
  color: #fff;
}

.dark-mode .navbar-link {
  color: #fff;
}
.dark-mode .header {
  background-color: #151111;
}
.dark-mode .navbar {
  /* background-color: #333; */
  background-color: #151111;
  border-radius: 20px;
}
body.dark-mode .genre-section {
  background: linear-gradient(#090e11, #4b2e2e);
}
/* Dark mode styles */

body.dark-mode .genre-content {
  width: 55%;
  padding: 20px;
  background-color: rgba(
    255,
    255,
    255,
    0.1
  ); /* Semi-transparent background for contrast */
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Darker shadow for depth */
}

body.dark-mode .genre-title {
  font-family: "Merriweather", serif;
  font-size: 2rem;
  color: lightpink; /* Bright color for title in dark mode */
  margin: 10px 0;
}

body.dark-mode .book-author,
body.dark-mode .book-genre {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
  color: lightcoral; /* Bright color for author and genre */
}

body.dark-mode .book-description {
  font-family: "Open Sans", sans-serif; /* Keep description easy to read */
  font-size: 1rem;
  color: #e0e0e0; /* Light gray for better readability */
}

/*
.answers.active {
  max-height: fit-content;
} */

.icons {
  width: 400px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 10px;
}

.dark-mode {
  --sonic-silver: #fff;
  --ghost-white: #1e1c1c;
  --seashell: hsl(20deg 4.72% 15.44%);
  --seashell: hsl(20deg 2.94% 14.18%);
  /* --seashell: #1E1C1C; */
  --charcoal: #fff;
  --white: #1e1c1c;
  --black: #fff;
  --grey-white: #1e1c1c;

  /* shadow */

  --shadow-1: 4px 6px 10px hsla(240, 2%, 53%, 0.484);
  /* --shadow-2: 2px 5px 8px hsla(240, 5%, 62%, 0.545); */
  --shadow-2: 0px 0px 7px hsla(240, 5%, 62%, 0.545);
  --shadow-3: 3px 3px var(--seashell);
  --shadow-4: 5px 5px var(--old-rose);
}

body.dark-mode .navbar-link:hover,
body.dark-mode .navbar-link.active {
  color: #ca7373;
  text-decoration: none;
}

body.dark-mode .navbar-link::after {
  content: "";
  background: #ca7373;
  box-shadow: 0 0 10px #fcb0b480;
}

body.dark-mode .flip-card-back {
  background-color: black !important;
  color: white !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

body.dark-mode .navbar-link:hover::after {
  box-shadow: 0 0 20px hsl(357, 93%, 84%, 0.7);
}

/* Dark mode styles for section title */
body.dark-mode .section-title {
  color: rgb(88, 22, 33); /* Dark red color for the text */
  background-color: rgba(
    255,
    255,
    255,
    0.909
  ); /* Slightly transparent background for contrast */
  padding: 10px; /* Optional padding for better spacing */
  border-radius: 5px; /* Slightly rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Shadow for depth */
  text-align: center; /* Center-align the text */
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

footer {
  font-size: 18px;
  background-color: hsl(0deg 100% 80.49%);
  width: 100%;
}
.dark-mode .foot-top {
  background-color: #000;
  color: #fff;
}
.dark-mode .footer-f {
  background-color: #000;
}
.dark-mode .ff {
  background-color: #000;
}
.foot-top {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  /* Adjusted alignment */
  border-bottom: 1px solid black;
  gap: 50px;
  padding: 20px 50px;
}

.desc {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.description {
  color: hsl(208deg 18.91% 37.88%);
  font-weight: bold;
  text-align: justify;
  max-width: 600px;

  margin: 0 auto;
}

.foot-middle {
  text-align: center;
}
.quicklinks {
  font-size: 1.6rem;
  text-align: center;
  margin: 3rem;
}
.quicklinks .col-md-6 {
  margin: 2rem;
}
.foot-right {
  padding: 2rem;
}

.foot-quick a {
  color: #db3737;
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin-left: 4px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.foot-quick a {
  color: #db3737;
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin-left: 4px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.foot-quick a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -1px;
  left: 0;
  background-color: #a52a2a;
  transition: width 0.3s ease;
}

.foot-quick a:hover {
  color: rgb(204, 12, 12);
  transform: scale(1.1);
}

.foot-quick a:hover::after {
  width: 100%;
}

.foot-middle ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.foot-middle ul li,
.foot-middle h2 {
  text-align: center;
}

.nav-links {
  margin: 0;
}

.nav-links ul {
  padding: 0;
  list-style: none;
  /* Remove bullet points */
}

.nav-links ul li {
  margin-bottom: 10px;
  /* Add some spacing between list items */
}

.nav-links ul li a {
  color: rgb(55, 54, 54);
  text-decoration: none;
  /* Remove underline */
}

.nav-links ul li a:hover {
  color: rgb(167, 95, 107);
}

.foot-middle h5 {
  color: rgb(57, 57, 57);
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
}

.social-icons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: top;
  gap: 10px;
  width: auto;
}

.row-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-icons form[type="newsletter"]:before {
  content: "";
  /*   background: rgba(255, 255, 0, 0.8);  */
  display: flex;
  width: 200px;
  height: 100px;
  position: absolute;
  z-index: -1;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  top: -500px;
  left: -60px;
}

.social-icons form[type="newsletter"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
  /* Adjusted margin */
  padding: 20px;
  /* Adjusted padding */
}

.social-icons label[for="email"] {
  display: block;
  font-size: 16px;
  /* Increased font size */
  font-weight: 700;
  letter-spacing: 1px;
  /* Decreased letter spacing */
  /*text-transform: uppercase;*/
  margin-bottom: 10px;
  text-align: center;
}

.social-icons input:focus {
  outline: 0;
}

.social-icons input[type="email"] {
  width: 100%;
  /* Adjusted width */
  max-width: 300px;
  background: #fff;
  height: 40px;
  /* Increased height */
  padding: 10px;
  /* Adjusted padding */
  margin-bottom: 10px;
  /* Increased margin */
  font-size: 14px;
  font-weight: 400;

  border-radius: var(--radius-1);
  border-radius: 10px !important;

  transition: border-color 0.3s;
  /*text-transform: uppercase;*/

  margin-top: 20px;
}

.social-icons input[type="email"]:focus {
  border: 2px solid #c27a7e;
}
.social-icons input[type="email"]:focus {
  border: 2px solid #c27a7e;
}

.social-icons input[type="submit"] {
  width: 100%;
  /* Adjusted width */
  max-width: 300px;
  background: #f16868 !important;
  color: black;
  border: 2px solid rgb(167, 95, 107);
  height: 40px;
  /* Increased height */
  line-height: 40px;
  /* Adjusted line height */
  padding: 0;
  /* Removed padding */
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.social-icons input[type="submit"]:hover {
  background-color: rgb(167, 95, 107) !important;
  border: 2px solid rgb(167, 95, 107);

  color: #000;

  background-position: right bottom;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}

.gen-hover:hover {
  color: rgb(167, 95, 107);
}

.social-icons h5 {
  color: rgb(57, 57, 57);
  padding-top: 35px;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin: 20px;
}

.in-css {
  background-color: white;
  border-radius: 4px;
  padding: 3px;
}

.btn-signup {
  padding: 4px;
  color: white;
  background-color: var(--old-rose);
  border-radius: 5px;
}

.btn-signup:hover {
  color: white;
  background-color: var(--chinese-violet);
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  /* Increased gap for larger icons */
}
.icons .icon i {
  font-size: 24px;
  /* Set the default font size for icons */
  transition: all 0.15s ease;
  /* Add transition for smooth animation */
}

.icons .icon:hover {
  transform: scale(1.5);
  /* Scale the icon on hover */
}

.icons .icon#insta-icon:hover {
  transform: scale(1);
  /* Scale the instagram icon on hover */
}

.icons .icon:hover .fab.fa-facebook-square {
  color: #1877f2;
  /* Change to Facebook color on hover */
}

.icons .icon:hover .fa-brands.fa-square-x-twitter {
  color: #1da1f3;
  /* Change to Twitter color on hover */
}

.icons .icon:hover .fab.fa-instagram-square {
  color: #c13583;
  /* Change to Instagram color on hover */
}

.icons .icon:hover .fab.fa-youtube-square {
  color: #ff0001;
  /* Change to YouTube color on hover */
}

.icon-set {
  height: 40px;
  /* Increased icon size */
  width: 40px;
  /* Increased icon size */
}

.icon-set:hover {
  transform: scale(1.1);
  /* Added scale effect */
  filter: grayscale(0%) hue-rotate(0deg) saturate(150%);
  /* Adjusted hover effect */
}

.icon-set:active {
  filter: hue-rotate(50%);
}

.social-list {
  display: flex;
  /* flex-direction: column; */
  overflow: hidden;
}

/* Central container for navigation buttons */
.genre-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

/* Button style in light mode */
.genre-nav button {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600; /* Increased font weight */
  cursor: pointer;
  background-color: rgb(230, 103, 124); /* Light mode background color */
  color: rgba(255, 255, 255, 0.909); /* Light mode text color */
  transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
}

/* Hover animation for buttons in light mode */
.genre-nav button:hover {
  background-color: rgb(200, 85, 110); /* Slightly darker shade on hover */
  transform: scale(1.05); /* Slight zoom-in effect */
}

/* Dark mode button style */
body.dark-mode .genre-nav button {
  background-color: rgb(88, 22, 33); /* Dark mode background color */
  color: rgba(255, 255, 255, 0.909); /* Dark mode text color */
}

/* Hover animation for buttons in dark mode */
body.dark-mode .genre-nav button:hover {
  background-color: rgb(66, 15, 25); /* Slightly darker shade on hover */
  transform: scale(1.05); /* Slight zoom-in effect */
}

/* Responsive styling */
@media (max-width: 600px) {
  .genre-nav button {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

/*responsiveness*/
/* Responsive adjustments for medium screens (tablets) */
@media (max-width: 992px) {
  .genre-section {
    flex-direction: column;
  }

  .hero-banner img {
    width: 80%;
    margin: 0 auto;
  }

  .genre-content {
    width: 100%;
  }

  .genre-title {
    font-size: 1.8rem;
  }

  .genre-content span {
    font-size: 2.5rem;
  }
  .book-description {
    text-align: justify;
  }
}

/* Responsive adjustments for small screens (mobile) */
@media (max-width: 768px) {
  .genre-section {
    flex-direction: column;
  }

  .hero-banner img {
    width: 100%;
  }

  .genre-content {
    width: 100%;
    padding: 0.5rem;
  }

  .genre-title {
    font-size: 1.5rem;
  }

  .book-author,
  .book-genre,
  .book-description {
    font-size: 1rem;
  }

  .genre-content span {
    font-size: 2rem;
  }
  .book-description {
    text-align: justify;
  }
}

/* Mobile Styling */
@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .foot-top {
    display: block;
  }

  #quicklinks {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-f p,
  .footer-f a {
    font-size: 0.9rem;
  }
}
