body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}
 
h1 { 
   
  margin-top:  20px;
  margin-bottom:  -30px;

} 
 
.read-later-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.read-later-item {
  display: flex;
  align-items: center;
  padding: 10px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  background: #ffe2e2;
  border-radius: 8px;
  box-shadow: 5px 5px 3px rgb(186, 136, 136);
}

.dark-mode .read-later-item {
  background: rgba(255, 233, 233, 0.676);
  box-shadow: 5px 5px 3px rgb(45, 45, 45);
}

.read-later-item img {
  max-width: 150px;
  height: auto;
  margin-right: 20px;
}

.content-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 15px;
}

.content-container p {
  margin: 0 auto;
  font-size: 18px;
  font-weight: 700;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-container button {
  padding: 10px 15px;
  cursor: pointer;
  background: hsl(357, 37%, 62%);
  color: snow;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: hsl(357, 37%, 52%);
}

hr {
  width: 100%;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 10px 0;
}

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

::-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, 37%, 62%);
}

.container1 {
  padding: 70px 100px;
  background-color: var(--seashell);
  border: 2px solid hsl(20, 43%, 93%);
  box-shadow: var(--shadow-2);
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 750px;
  gap: 2rem;
}

.formform-label,
.form-label {
  color: var(--charcoal);
}

.input-field {
  margin-top: 5px;
}

.circle {
  height: 24px;
  width: 24px;
  border-radius: 24px;
  background-color: black;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999999;
  /* so that it stays on top of all other elements */
}

/* media queries for cursor on mobile and tablet */
@media only screen and (max-width: 998px) {
  .circle {
    display: none;
  }
}

.navbar-list {
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.navbar-item {
  cursor: pointer;
  padding: none;
  font-size: 15px;
}

/* Google Translate Element */
#google_element {
  font-family: var(--ff-poppins);
  font-size: 1.6rem;
  color: var(--charcoal);
}

/* Select options */
.goog-te-combo {
  background-color: var(--seashell);
  color: var(--charcoal);
  border: 2px solid hsl(20, 43%, 93%);
  border-radius: 5px;
  padding: 8px 8px;
  cursor: pointer;
}

/* Change the hover effect of the options */
.goog-te-combo option:hover {
  background-color: lightcoral !important;
  /* Change to your desired background color for options on hover */
  color: white;
  /* Change to your desired text color for options on hover */
}

.form-label {
  color: var(--charcoal);
}

.exchange-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-left: 30px;
  padding-right: 30px;
}

.form-fields {
  display: flex;
  flex-direction: column;
  align-items: left;
  width: 100%;
}

:root {
  /**
     * colors
     */

  --chinese-violet_30: hsla(304, 14%, 46%, 0.3);
  --chinese-violet: hsl(304, 14%, 46%);
  --sonic-silver: hsl(208, 7%, 46%);
  --old-rose_30: hsla(357, 37%, 62%, 0.3);
  --ghost-white: hsl(233, 33%, 95%);
  --light-pink: hsl(357, 93%, 84%);
  --light-gray: hsl(0, 0%, 80%);
  --old-rose: hwb(357 6% 36%);
  --seashell: hsl(20, 43%, 93%);
  --charcoal: hsl(203, 30%, 26%);
  --white: hsl(0, 0%, 100%);

  /**
     * typography
     */

  --ff-philosopher: "Philosopher", sans-serif;
  --ff-poppins: "Poppins", sans-serif;

  --fs-1: 4rem;
  --fs-2: 3.2rem;
  --fs-3: 2.7rem;
  --fs-4: 2.4rem;
  --fs-5: 2.2rem;
  --fs-6: 2rem;
  --fs-7: 1.8rem;

  --fw-500: 500;
  --fw-700: 700;

  /**
     * spacing
     */

  --section-padding: 60px;

  /**
     * shadow
     */

  --shadow-1: 4px 6px 10px hsla(231, 94%, 7%, 0.06);
  /* --shadow-2: 2px 0px 15px 5px hsla(231, 94%, 7%, 0.06); */
  --shadow-2: 0px 1px 7px 5px hsla(231, 94%, 7%, 0.06);
  --shadow-3: 3px 3px var(--chinese-violet);
  --shadow-4: 5px 5px var(--chinese-violet);

  /**
     * radius
     */

  --radius-5: 5px;
  --radius-10: 10px;

  /**
     * clip path
     */

  --polygon: polygon(100% 29%, 100% 100%, 19% 99%, 0 56%);

  /**
     * transition
     */

  --transition-1: all 0.15s ease;
  --transition-2: 0s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/* Define the animation */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Apply animation to the hero-banner */
.hero-banner {
  position: relative;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  animation: float 1.5s ease-in-out infinite;
}

/*-----------------------------------*\
    #RESET
  \*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a,
img,
span,
data,
input,
button,
textarea,
ion-icon {
  display: block;

}
 
a {

  color:  #bc5402;
  text-decoration:  none;

}
 
img {

  height:  auto;

}
 
input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
textarea {
  width: 100%;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

ion-icon {
  pointer-events: none;
}

html {
  font-family: var(--ff-poppins);
  font-size: 10px;
}

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: var(--sonic-silver);
  /* 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;
}

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

::-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%);
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  background-color: var(--white);

  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  padding-block: 12px;
  z-index: 4;
  transition: var(--transition-2);
}

.header.active {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  filter: drop-shadow(var(--shadow-1));
  transform: translateY(-100%);
  transition: none;
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.logo {

  font-family:  var(--ff-philosopher);
  font-size:  4rem;
  color:  var(--charcoal);
  line-height:  1;
  text-align:  center;

}
 
.dark-mode .logopic {
  content: url("http://127.0.0.1:5502/assets/images/final.png");
}

.nav-toggle-btn {
  font-size: 40px;
  color: var(--charcoal);
}

.nav-toggle-btn ion-icon {
  --ionicon-stroke-width: 20px;
}

.nav-toggle-btn.active .open,
.nav-toggle-btn .close {
  display: none;
}

.nav-toggle-btn .open,
.nav-toggle-btn.active .close {
  display: block;
}

.navbar {
  border: 1px solid #000;
  display: inline-block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-inline: 15px;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.25s var(--cubic-out);
}

.navbar.active {
  max-height: 387px;
  visibility: visible;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  transition-duration: 0.5s;
  overflow-y: scroll;
}

.navbar-list {
  display: flex;
  justify-content: center;
  /* Center align the navbar items */
  align-items: center;
  /* Vertically center the navbar items */
  margin: 0;
  /* Remove default margin */
  padding: 0;
  /* Remove default padding */
}

.navbar-item {
  margin: 0 10px;
  /* Adjust the horizontal margin to increase spacing */
  padding: 0;
  /* Remove default padding */
}

.navbar-link {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: var(--charcoal);
  padding: 8px 12px;
  /* Adjust padding as needed */
  line-height: 2;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) {
  color: var(--old-rose);
}

.dropdown-menu {
  /* display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background-color: var(--white);
  padding: 10px;
  border-radius: 5px; */
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: all 0.3s ease;
  top: 100%;
  text-align: center;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 8px;
  background-color: transparent;
  overflow: hidden;
  padding: 5px;
  width: 200px;
  border: 1px solid #ddd;
  /* Add a light gray border */
}

.dropdown-menu-item {
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dropdown-menu-item:last-child {
  margin-bottom: 0;
}

.dropdown-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu-item a {
  text-decoration: none;
  color: #000;
  color: #fff;
  /* White color for links */
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}

.dropdown-item:first-child {
  margin-top: 0;
}

.dropdown-menu.active {
  display: block;
}

.navbar-item.dropdown {
  position: relative;
  /* Ensure the dropdown menu is positioned relative to the navbar item */
}

.dropdown-menu-item .navbar-link {
  display: inline-block;
  /* Ensure links are inline-block to center them */
}

.navbar-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  /* Smooth transition for rotation */
}

.navbar-item.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-toggle-btn {
  font-size: 40px;
  color: var(--charcoal);
}

.nav-toggle-btn ion-icon {
  --ionicon-stroke-width: 20px;
}

.nav-toggle-btn.active .open,
.nav-toggle-btn .close {
  display: none;
}

.nav-toggle-btn .open,
.nav-toggle-btn.active .close {
  display: block;
}

.navbar {
  border: 1px solid #000;
  display: inline-block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-inline: 15px;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.25s var(--cubic-out);
  padding: 0;
}

.navbar.active {
  max-height: 387px;
  visibility: visible;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  transition-duration: 0.5s;
  overflow-y: scroll;
}

.navbar-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-item {
  margin: 0 10px;
  padding: 0;
}

.navbar-link {
  position: relative;
  color: var(--charcoal);
  padding: 8px 12px;
  line-height: 2;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) {
  color: var(--old-rose);
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: all 0.3s ease;
  top: 100%;
}

.dropdown-menu-list {
  list-style: none;

  margin: 0;
  padding: 0;
}

.dropdown-menu-item {
  padding: 4px 10px;
}

.dropdown-menu-item a {
  text-decoration: none;
  color: #000;
}

.dropdown-menu.active {
  display: block;
}

.navbar-item.dropdown {
  position: relative;
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  /* border: 1px solid black; */
  padding-block-start: calc(var(--section-padding) + 60px);
  text-align: center;
}

.hero .container {
  /* border: 1px solid black; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  /* border: 1px solid black; */
  width: 55%;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.hero .hero-title {
  margin-block: 10px 25px;
  font-size: 5rem;
  text-align: start;
}

.hero .section-text {
  font-size: 1.5rem;
  margin-top: 0;
}

.hero-banner {
  width: 40%;
  padding-inline-start: 20px;
  padding-block-end: 30px;
  max-width: 400px;
  margin-top: 2.5rem;

  /* border: 2px solid red; */
}

.hero-banner .w-100 {
  border-radius: 10px;
  height: 100%;
}

.hero-banner::before {
  top: 30px;
  right: 30px;
  bottom: 0;
  left: 0;
  background-color: var(--light-pink);
  border-radius: var(--radius-10);
  z-index: -1;
}

.play-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(0, 0%, 100%);
  color: var(--chinese-violet);
  font-size: 2rem;
  margin-top: 1.5rem;
  padding: 10px 15px;
  border-radius: 10px;
  transition: all 1s ease;
  animation: pulse 1s ease infinite;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
    rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.play-btn h2 {
  font-size: 1.5rem;
}

.play-btn:is(:hover, :focus) {
  color: #fff;
  background-color: var(--old-rose);
}

@keyframes pulse {
  0%,
  50% {
    box-shadow: 0 0 0 0 hsla(0, 0%, 100%, 0.5);
  }

  100% {
    box-shadow: 0 0 0 10px transparent;
  }
}

/* media queries for hero section on mobile and tablet */
@media only screen and (max-width: 898px) {
  .hero-content {
    width: 90%;
  }

  .hero-banner {
    width: 90%;
    order: -1;
  }
}

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

footer {
  background-color: var(--seashell);
  padding: 20px 30px;
  width: 100vw;
}

.foot-top {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  /* Adjusted alignment */
  border-bottom: 1px solid black;
  padding-bottom: 20px;
  gap: 50px;
}

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

.description {
  color: var(--sonic-silver);
  text-align: justify;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.foot-middle {
  font-size: 1.6rem;
  text-align: center;
}

.foot-quick :hover {
  color: rgb(201, 168, 168);
}

.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;
}

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;
}
 
form[type="newsletter"] {

  display:  flex;
  flex-direction:  column;
  align-items:  center;
  max-width:  400px;
  margin:  0 auto;
  /* Adjusted margin */
  padding:  20px;
  box-shadow:  aqua;
  /* Adjusted padding */

}
 
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;
}

input:focus {
  outline: 0;
}

input[type="news"] {
  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);

  transition: border-color 0.3s;
  text-transform: uppercase;
}

input[type="news"]:focus {
  border: 2px solid #c27a7e;
}
 
input[type="submit"] {

  width: 100%;
  /* Adjusted width */
  max-width:  300px;
  background:  rgb(231 132 139);
  border:  0px;
  height:  40px;
  /* Increased height */
  line-height: 40px;
  /* Adjusted line height */
  padding:  0px;
  /* Removed padding */
  font-size:  14px;
  font-weight:  400;
  letter-spacing:  2px;
  text-transform:  uppercase;
  cursor:  pointer;

}
 
input[type="submit"]:hover {
  background: linear-gradient(to right, #000 50%, #36363b 50%);
  background-size: 200% 100%;
  color: white;

  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: 20px;
  padding-top: 10px;
  /* Increased gap for larger icons */
}

.icons .icon i {
  font-size: 24px;
  /* Set the default font size for icons */
  transition: all 0.3s ease;
  /* Add transition for smooth animation */
}

.icons .icon:hover {
  transform: scale(1.5);
  /* Scale the 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;
}

/* .footer-top {
    padding-block: 50px;
    border-block-end: 1px solid var(--chinese-violet_30);
  } */

.footer .logo {
  margin-block-end: 15px;
}

/* .footer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
  } */

/* .footer-link {
    color: var(--charcoal);
    transition: var(--transition-1);
  } */

.footer-link:is(:hover, :focus) {
  color: var(--old-rose);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
}

/*-----------------------------------*\
    #MEDIA QUERIES
  \*-----------------------------------*/

@media (max-width: 768px) {
  .foot-left,
  .foot-right {
    margin-bottom: 30px;
    flex: 1 100%;
  }

  .read-later-item {
    display: flex;
    flex-direction: column;
  }

  .read-later-item img {
    margin: 0 auto;
  }

  .read-later-item .content-container {
    margin-top: 10px;
    border-top: 3px solid hsl(0, 0%, 53%);
  }
}

/* @media (max-width: 480px) {} */

/**
   * responsive for large than 575px screen
   */
@media (max-width: 575px) {
  .container1 {
    max-width: 350px;
    width: 100%;
    margin-inline: auto;
    border-radius: var(--radius-5);
    padding: 30px;
  }

  .container {
    padding-bottom: 1rem;
    padding-top: 1rem;
    padding-left: 0 !important;
  }

  html {
    overflow-x: hidden;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero .hero-title {
    font-size: 3rem;
    line-height: 120%;
    margin-bottom: 10px;
    text-align: center;
  }

  .section-text {
    text-align: center;
  }

  .section-subtitle {
    line-height: 120%;
  }
}

@media (min-width: 575px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-2: 4.5rem;
    --fs-3: 3.5rem;
    --fs-5: 2.5rem;
  }

  /**
     * REUSED STYLE
     */

  .container,
  .container1,
  .header,
  .navbar {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
    padding: 0;
    /* border-radius: var(--radius-5); */
  }

  .section-text {
    --fs-7: 2rem;
  }

  /**
     * HEADER
     */

  .header {
    top: 30px;
  }

  .header.active {
    max-width: unset;
    border-radius: 0px;
  }

  .navbar {
    left: 50%;
    transform: translateX(-50%);
  }

  /**
     * PREVIEW
     */

  .tab-card.active {
    height: 50vh;
  }

  /**
     * ACHIEVEMENT
     */

  .achievement-card {
    display: flex;
  }

  .achievement-card > * {
    width: 50%;
  }

  .achievement-card .card-content {
    padding-block: 30px;
  }

  .achievement-card .card-title {
    margin-block-end: 20px;
  }

  /**
     * CONTACT
     */

  .social-list-title {
    --fs-6: 2.2rem;
  }

  .social-link {
    font-size: 25px;
    padding: 8px;
  }
}

/**
   * responsive for large than 768px screen
   */

@media (min-width: 768px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-2: 4.8rem;
  }

  /**
     * REUSED STYLE
     */

  .container,
  .container1,
  .header,
  .navbar {
    max-width: 720px;
    /* border-radius:61px; */
  }

  .grid-list {
    grid-template-columns: 1fr 1fr;
  }

  /**
     * HERO
     */

  .hero {
    top: 75px;
    position: relative;
    padding-block-start: calc(var(--section-padding) + 100px);
    text-align: left;
  }

  .hero .container {
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
  }

  /**
     * BENEFITS
     */

  .benefits :is(.section-title, .section-text) {
    text-align: left;
  }

  .benefits-content {
    grid-column: 1 / 3;
  }

  /**
     * CHAPTERS, PRICING
     */

  :is(.chapters, .pricing) .grid-list li:last-child {
    grid-column: 1 / 3;
    max-width: calc(50% - 12.5px);
    width: 100%;
    margin-inline: auto;
  }

  /**
     * PREVIEW
     */

  .tab-card.active {
    height: 70vh;
  }

  /**
     * AUTHOR
     */

  .author .h2 {
    --fs-3: 4.2rem;
  }

  /**
     * ACHIEVEMENT
     */

  .achievement-card {
    flex-direction: column;
  }

  .achievement-card > * {
    width: 100%;
  }

  /**
     * CONTACT
     */

  .contact .wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 990px) {
  .switch-container {
    /* right: -20px; */
    bottom: 20px;
    transform: translateY(-25px) !important;
    right: 10px !important;
    /* right: 20px; */
  }

  .hero .container {
    gap: 3rem;
    justify-content: center;
  }

  .hero .container .hero-content,
  .hero .container .hero-banner {
    flex: 1 0 25rem;
  }

  .benefits .container,
  .container,
  .chapters .container,
  .pricing .container {
    flex-direction: column;
    align-items: center;
  }
}

/**
   * responsive for large than 992px screen
   */

@media (min-width: 990px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-2: 5.4rem;
    --fs-3: 4rem;
  }

  /**
     * REUSED STYLE
     */

  .container,
  .container1,
  .header,
  .navbar {
    max-width: 987px;
    border-radius: 10px;
    padding: 0;
  }

  .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /**
     * HEADER
     */

  .header .container {
    padding-inline: 0px 30px;
  }

  .nav-toggle-btn {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
  }

  .navbar-list {
    margin-block-end: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* .switch-container {
      right: 0.2rem;
    } */

  /**
     * CHAPTER, PRICING
     */

  :is(.chapters, .pricing) .grid-list li:last-child {
    all: unset;
  }

  /**
     * PREVIEW
     */

  .tab-list {
    flex-direction: row;
    gap: 20px;
  }

  .tab-text {
    text-orientation: upright;
    white-space: nowrap;
    writing-mode: vertical-lr;
  }

  .tab-card {
    height: 70vh;
    max-width: 60px;
  }

  .tab-card.active {
    max-width: 650px;
  }

  /**
     * AUTHOR
     */

  .author .container {
    grid-template-columns: 0.6fr 1fr;
    gap: 0;
  }

  .author-content {
    margin-block-start: 40px;
    margin-inline-start: -30px;
    padding-block-end: 70px;
  }

  /**
     * ACHIEVEMENT
     */

  .achievement .grid-list {
    grid-template-columns: 1fr 1fr;
  }

  .achievement-card {
    flex-direction: row;
  }

  .achievement-card > * {
    width: 50%;
  }

  /**
     * CONTACT
     */

  .contact .wrapper {
    grid-template-columns: 1fr 0.5fr;
  }

  .contact-form {
    padding: 40px;
  }
}

@media (min-width: 992px) {
  .benefits .grid-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /* Add gap between cards */
    align-items: center;
  }

  .benefits-card {
    width: calc(33.33% - 20px);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    /* Add margin to separate cards vertically */
    margin: 20px;
    /* Add margin to provide full spacing for each card */
  }

  .benefits-content {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .benefits-card .card-text {
    margin-block-end: 20px;
  }

  .container {
    padding-inline: 5rem;
  }

  .hero-button {
    padding: 0;
  }
}

/**
   * responsive for large than 1200px screen
   */

@media (min-width: 1200px) {
  /**
     * CUSTOM PROPERTY
     */

  :root {
    /**
       * typography
       */

    --fs-2: 6rem;
    --fs-3: 4.5rem;
    --fs-4: 3rem;
    --fs-5: 3rem;
  }

  /**
     * REUSED STYLE
     */

  .container,
  .header,
  .navbar {
    max-width: 1330px;
    border-radius: 10px;
  }

  .navbar-list {
    gap: 30px;
    /* Increase gap between navbar items */
    justify-content: center;
    /* Center align navbar items */
    padding-left: 2rem;
  }

  .benefits .grid-list {
    grid-template-columns: repeat(3, 1fr);
    /* Display three cards per row */
    gap: 20px;
    justify-content: center;
    align-items: center;
  }

  .benefits-card {
    width: calc(33.33% - 20px);
    /* Adjust width for three cards per row */
    margin: 20px;
  }

  /**
     * PREVIEW
     */

  .tab-card {
    max-width: 75px;
  }

  .tab-card.active {
    max-width: 750px;
  }

  /**
     * AUTHOR
     */

  .author-content {
    padding: 85px 60px 115px;
  }

  /**
     * FOOTER
     */

  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer .logo {
    margin-block-end: 0;
  }
}

.social_media_icons {
  font-size: 30px;
}

/*Adding Transitions*/

.navbar-link {
  transition: all 0.3s ease;
  padding-left: 4px;
  padding-right: 4px;
}

/* .navbar-link:hover {
    transform: scale(1.1);
    border-radius: 15px;
    background-color: blanchedalmond; */
/* text-shadow: 2px 2px 10px #f39d127e, -2px -2px 4px rgba(175, 142, 25, 0.5); */

/* .navbar-link.active,
  .navbar-link:hover {
    /* font-size: 1.1em; */
/* border-bottom: 2px solid darkred; 
    color: #fcb0b480;
  } */

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0px;
  height: 3px;
  background-color: #fcb0b480;
  width: 0;
  height: 3px;
  box-shadow: 0 0 10px #f39d127e;
  transition: all 0.6s;
}

.navbar-link:hover::after {
  width: 100%;
}

/* Faq Section */
.faq-section {
  padding: 20px;
  background-color: var(--seashell);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq {
  font-weight: 700;
  color: var(--sonic-silver);
  text-align: center;
  font-family: var(--ff-philosopher);
}

.icon {
  margin-right: 16px;
  transition: transform 0.5s ease-in-out;
}

.icon.active {
  transform: rotate(-180deg);
}

.answers {
  color: var(--sonic-silver);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

body.dark-mode {
  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='%232f2f2f' 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='%233a3a3a' 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='%23454545' 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='%23505050' 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='%235b5b5b' 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='%23666666' 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='%23707070' 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='%237b7b7b' 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='%23858585' 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='%23909090' 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");
}

.dark-mode {
  color: #fff;
}

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

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

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

.dark-mode .container {
  color: #fff;
  padding-left: 4rem;
  padding-right: 1rem;
}

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

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

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

.question {
  color: var(--sonic-silver);
  display: flex;
  align-items: center;
  font-weight: bold;
  justify-content: space-between;
}

.faq-container {
  background-color: var(--white);
  margin-bottom: 2rem;
  border-radius: 4px;
  box-shadow: 1px 1px 5px #efecea;
  padding: 4px 16px;
  line-height: 4rem;
  cursor: pointer;
  width: 60%;
}

.faq-container:hover {
  background-color: var(--old-rose_30);
}

/* Dark Mode Switch */
.dark-mode .switch-container {
  right: -4px;
  top: 20px;
}
.light-mode .switch-container {
  right: -4px;
  top: 20px;
}

/**
  * Dark Mode
  */

.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: hsl(357, 93%, 84%);
}

body.dark-mode .navbar-link::after {
  content: "";
  background: var(--old-rose);
  box-shadow: 0 0 10px #fcb0b480;
}

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

footer {
  position: relative;
  top: 140px;
}

.circle1 {
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

#back-to-top {
  width: 51px;
  height: 51px;
  fill: #d26d6d;
  transition: fill 0.3s;
}

#back-to-top-container {
  position: fixed;
  bottom: 160px;
  right: 40px;
  cursor: pointer;
  z-index: 1000;
  /* Ensures it appears above other elements */
}

#back-to-top {
  color: white;
  /* Initial arrow color */
  transition: fill 0.3s ease, background-color 0.3s ease;
}

#back-to-top:hover {
  fill: black;
  /* Background color on hover */
}

/* Switch Container */
.switch-container {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  right: -4px;
  top: 15px;
}

/* Hidden Checkbox */
.switch-checkbox {
  display: none;
}

/* Switch Label */
.switch-label {
  position: relative;
  width: 45px;
  height: 30px;
  background-color: #ccc;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.5s ease;
}
 
.switch-label .sun-icon, 
.switch-label .moon-icon { 

  font-size:  19px;
  position:  absolute;
  cursor:  pointer;
  top: 50%;
  transform:  translateY(-50%);
  transition:  opacity 0.5s ease, color 0.5s ease;

}
 
.switch-label .sun-icon {

  color: #f39c12;
  left: 2px;

}
 
 
.switch-label .moon-icon {

  color:  #bdc3c7;
  opacity: 0;
  left: 5px;

}
 
/* Switch Button */
.switch-button {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 25px;
  height: 25px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, background-color 0.5s ease;
}

/* Checkbox Checked State */
.switch-checkbox:checked + .switch-label {
  background-color: #34495e;
}
 
.switch-checkbox:checked + .switch-label .sun-icon {
  opacity: 0;
}
 
.switch-checkbox:checked + .switch-label .moon-icon {
  opacity: 1;
}

.switch-checkbox:checked + .switch-label .switch-button {
  transform: translateX(13px);
  /* background-color: #34495e; */
}

@media screen and (max-width: 900px) {
  .faq-container {
    width: 100%;
  }
}

@media (min-width: 320px) {
  .navbar-list {
    flex-direction: column;
  }
}
 
@media (min-width: 881px) {

  .navbar-list {

    flex-direction: column;

  }

}
 
@media (min-width: 641px) {

  .navbar-list {

    flex-direction:  none;
  }

}
 
@media (min-width: 990px) {
  .header .container {
    padding-inline: 0px 30px;
  }
}

@media (min-width: 1200px) {
  .container,
  .header,
  .navbar {
    max-width: 1330px;
    border-radius: 10px;
  }
}

@media (min-width: 960px) {
  .navbar-list {
    flex-direction: row;
  }
}

/* genre */
#genre .chapter-card {
  background-color: var(--seashell);
}

.subscribe-btn {
  background-color: var(--old-rose);
  color: var(--white);
}

.subscribe-btn:is(:hover, :focus) {
  background-color: var(--chinese-violet);
}

/* Medium devices (large tablets and small laptops, 768px to 1060px) */
@media (min-width: 768px) and (max-width: 1060px) {
  .foot-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .foot-left {
    max-width: 50%;
  }

  .foot-middle,
  .social-icons {
    flex: 1;
    max-width: 25%;
    text-align: left;
  }

  .foot-left .desc a.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
  }

  .foot-left .desc p {
    text-align: justify;
    max-width: 100%;
  }

  .foot-middle h2,
  .social-icons h5 {
    font-size: 18px;
  }

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

  .foot-middle ul li {
    margin-bottom: 10px;
  }

  .foot-middle ul li a {
    text-decoration: none;
  }
}

@media (max-width: 768px) {
  .foot-top {
    flex-direction: column;
    align-items: center;
  }

  .foot-left,
  .foot-middle,
  .social-icons,
  .description {
    max-width: 100%;
    text-align: center;
  }

  .foot-left .desc a.logo {
    display: block;
    margin-bottom: 10px;
  }

  .social-icons .input-newsletter {
    flex-direction: column;
  }

  .social-icons .input-newsletter input,
  .social-icons .input-newsletter button,
  .description {
    width: 100%;
    margin: 5px 0;
  }
}

/* recommendation system */
.container00 {
  max-width: 900px;
  max-height: 800px;
  margin: 20px auto;
  padding: 80px;
  border: 1px solid #ccc;
  /* border-radius: 5px; */
  background-color: var(--seashell);
  border-radius: var(--radius-5);
  margin-bottom: 50px;
}

.container01 {
  background-color: var(--seashell);
  border-radius: var(--radius-5);
  margin-bottom: 50px;
  margin-left: 310px;
  margin-right: 310px;
  padding: 80px;
  border: 2px solid #b49393;
  color: black;
}

.preference-bar {
  display: flex;
  justify-content: center;
  /* Center items horizontally */
  align-items: center;
  flex-wrap: wrap;
  /* Allow items to wrap if they exceed container width */
}

.preference-bar > * {
  margin: 0 10px;
  /* Add spacing between items */
}

.preference-bar label {
  font-weight: bold;
  font-size: 20px;
  color: #474646;
}

select {
  /* Remove default blue background color */
  background-color: transparent;
  /* Optional: Remove default blue text color */
  color: black;
  /* or whatever color you want */
}

.preference-bar button {
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 5px;
  /* background-color: #007bff; */
  /* color: #fff; */
  border: none;
  cursor: pointer;
}

/* .preference-bar button:hover { */
/* background-color: #0056b3; */
/* } */

.preference-bar select {
  padding: 8px;
  font-size: 20px;
  border-radius: 5px;
  border: 2px solid #444242;
  outline: none;
  background-color: rgb(234, 224, 221);
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.preference-bar select option {
  background-color: rgb(242, 227, 227);
  color: #333;
  padding: 8px;
}

.container00 h2 {
  color: rgb(62, 60, 60);
  margin-bottom: 50px;
  margin-left: 230px;
  font-size: 30px;
}

.preference-bar select:hover {
  background-color: var(--old-rose_30);
}

.preference-bar select:focus {
  border-color: #1e1e1f;
  /* Border color when the select element is focused */
  box-shadow: 0 0 5px rgb(232, 167, 137);
  /* Adding a shadow for better focus indication */
}

/* .light-mode .switch-container {
  right: 14px;
  top: 5px;
}

.dark-mode .switch-container {
  right: 14px;
  top: 5px;
} */

.dark-mode .preference-bar label,
.dark-mode .preference-bar select:hover,
.dark-mode .container00 h2 {
  color: white;
  /* Color for dark mode */
}

#heading {
  padding-top: 18rem;
}

.book {
  display: flex;
  margin-bottom: 20px;
  border: 3px double #7c7b7a;
  border-radius: 5px;
  overflow: hidden;
}

.book .book-info {
  flex: 1;
  padding: 20px;
  background-color: #f9f9f9;
}

.book .book-info h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.book .book-info p {
  margin: 5px 0;
}

.book .book-info img {
  width: 120px;
  /* Adjust the width as needed */
  height: auto;
  float: right;
  margin-left: 20px;
}

.book .book-info h2 {
  margin-top: 0;
  margin-bottom: 10px;
  margin-left: 10px;
}

.recommendationTitle {
  font-size: larger;
  margin-left: 200px;
  margin-bottom: 20px;
}

body {
  overflow-x: hidden;
}

body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .h1,
body.dark-mode .h2,
body.dark-mode .h3 {
  color: #ffffff;
  margin: 0 10px;
}

.container00.dark-mode,
.container01.dark-mode {
  background-color: #1e1e1e;
  color: #ffffff;
}

.section-subtitle.dark-mode,
.h2.section-title.has-underline.dark-mode {
  color: #ffffff;
}

.btn-primary.dark-mode {
  background-color: #333333;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.book-info.dark-mode {
  background-color: #2c2c2c;
  color: #ffffff;
}

.book-image.dark-mode {
  border: 1px solid #ffffff;
}

.cards {
  height: 28rem;
}

.pricing-card {
  height: 70rem;
}

.card-title {
  padding: 2px;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Media Queries for Recommended Books section */

@media only screen and (max-width: 574px) {
  .switch-container {
    transform: translateY(-10px) !important;
  }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .container00 {
    padding: 30px;
    margin-bottom: 30px;
  }

  .container01 {
    padding: 30px;
    margin-bottom: 30px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .preference-bar {
    flex-direction: column;
    /* Stack items vertically */
  }

  .preference-bar label,
  .preference-bar select {
    font-size: 16px;
    /* Reduce font size for better fit */
  }

  .container00 h2 {
    font-size: 24px;
    margin-left: 0;
  }
}

@media only screen and (max-width: 574px) {
  .switch-container {
    transform: translateY(-10px) !important;
  }
}

@media only screen and (min-width: 574px) and(max-width:600px) {
  .switch-container {
    transform: translateY(-25px) !important;
  }
}

/* Devices between 600px and 768px */
@media only screen and (min-width: 600px) and (max-width: 767px) {
  .container00 {
    padding: 40px;
    /* Adjust padding for better spacing */
    margin-bottom: 40px;
    /* Adjust margin for better spacing */
  }

  .container01 {
    padding: 40px;
    /* Adjust padding for better spacing */
    margin-bottom: 40px;
    /* Adjust margin for better spacing */
    margin-left: 20px;
    margin-right: 20px;
  }

  .preference-bar {
    flex-direction: column;
    /* Stack items vertically */
  }

  .preference-bar label,
  .preference-bar select {
    font-size: 16px;
    /* Reduce font size for better fit */
  }

  .container00 h2 {
    font-size: 26px;
    /* Increase font size for better readability */
    margin-left: 0;
  }
}

/* Small devices (landscape phones, 768px and up) */
@media only screen and (min-width: 768px) {
  /* No changes needed from the base styles */
  .container00 {
    max-width: 700px;
    /* Adjust the max-width for better layout on landscape phones */
    padding: 50px;
    /* Increase padding for better spacing */
  }

  .container01 {
    max-width: 700px;
    /* Adjust the max-width for better layout on landscape phones */
    margin-left: auto;
    margin-right: auto;
    padding: 50px;
    /* Increase padding for better spacing */
  }

  .preference-bar {
    justify-content: space-between;
    /* Maintain space between items */
    flex-wrap: wrap;
    /* Allow items to wrap */
  }

  .preference-bar label,
  .preference-bar select {
    font-size: 18px;
    /* Increase font size for better readability */
  }
}

/* Medium devices (tablets, 992px and up) */
@media only screen and (min-width: 990px) {
  .container00 {
    max-width: 800px;
  }

  .container01 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .preference-bar {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .preference-bar label,
  .preference-bar select {
    font-size: 18px;
  }
}

/* Large devices (desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .container00 {
    max-width: 1000px;
  }

  .container01 {
    max-width: 1000px;
  }

  .preference-bar label,
  .preference-bar select {
    font-size: 20px;
  }
}

/* media queries for chat widget  */

@media screen and (max-width: 1010px) {
  .bp-widget-web.bp-widget-web {
    right: calc(3.4% - 23px);
  }
}

@media screen and (min-width: 1010px) {
  .bp-widget-web.bp-widget-web {
    right: calc(2.8% - 23px);
  }
}

@media only screen and (max-width: 598px) {
  .bp-widget-web.bp-widget-web {
    right: calc(4.95% - 23px);
  }
}

.row-copy {
  display: flex;
  flex-direction: row;
  text-align: center;
  justify-content: center;
  gap: 10px;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: var(--white);
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
