section {
  background-color: #eae4eb;
  border: 10px solid 361e43;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
  padding: 60px 20px;
  margin: 60px 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0 0 0 0;
  padding: 0;
  background-color: #e6c4e6;
}

.navbar1 {
  display: flex;
  position: fixed;
  top: 0; /* Make it stick to the top */
  width: 100%; /* Cover full width */
  justify-content: space-between;
  align-items: center; /* Align items vertically */
  padding: 10px 20px;
  background-color: #361e43; /* Background for visibility */
  z-index: 1000; /* Ensure it's above other elements */
}

#logo1 {
  font-size: 37px;
  padding-left: 15px;
  color: #e6c4e6;
  text-decoration: none;
}
.navbar1 ul {
  background-size: cover;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}
.navbar2 ul {
  background-size: cover;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}
nav ul li {
  margin: 0 15px;
}

.navbar1 li a {
  color: white;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 25px;
  transition: background-color 0.3s;
}

/* Hover effect for links in navbar1 */
.navbar1 li a:hover {
  background-color: #7a027a;
  color: white;
}

/* Styles for navbar2 */
.navbar2 {
  display: flex;
  height: 45px;
  width: 99vw;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0;
  justify-content: center;
  background-color: #361e43;
  margin-top: 59px;
  position: fixed;
}

.navbar2 li a {
  color: #b175b1;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 25px;
  transition: background-color 0.3s;
}

/* Hover effect for links in navbar2 */
.navbar2 li a:hover {
  background-color: #7a027a;
  color: white;
}

main {
  /* position: fixed; */
  margin: 0 50px 50px 50px;
  padding-top: 150px;
}
.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.title1 {
  color: #361e43;
  text-align: center;
  font-size: 38px;
  text-decoration: underline;
}
.genre-heading {
  font-size: 30px;
  color: #361e43;
  text-align: center;
}

/* Container for the playlists */
.playlists-container {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap to the next line if there's not enough space */
  gap: 20px; /* Space between the playlists */
  justify-content: center; /* Center the playlists horizontally */
  padding: 20px;
}

#chatbot {
  width: 500px;
  height: 300px;
  padding: 20px;
  background-color: #b175b1;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  text-align: center;
}
#chatbot input[type="text"] {
  width: 90%;
  height: 20px;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 30px;
}
#chatbot button {
  margin-top: 20px;
  background-color: #361e43;
  color: white;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: bold;
  padding: 9px 22px;
  border-radius: 30px;
  transition: 0.4s;
  cursor: pointer;
}

.cta-button:hover {
  background-color: transparent;
  border: 2px solid white;
}
#chatbot #recommendations {
  margin-top: 20px;
}

#recommendations h3 {
  font-family: "Arial", sans-serif;
  color: #333;
  margin-bottom: 20px;
}

.book-recommendation {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.book-cover {
  width: 128px;
  height: 193px;
  margin-right: 20px;
  border-radius: 5px;
}

.book-details {
  max-width: 500px;
}

.book-title {
  font-family: "Arial", sans-serif;
  color: #2c3e50;
  margin: 0 0 10px;
}

.book-authors {
  font-family: "Arial", sans-serif;
  color: #7f8c8d;
  margin: 0 0 10px;
}

.book-description {
  font-family: "Arial", sans-serif;
  color: #34495e;
  margin: 0 0 10px;
}

.book-link {
  font-family: "Arial", sans-serif;
  color: #2980b9;
  text-decoration: none;
  font-weight: bold;
}

.book-link:hover {
  text-decoration: underline;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-info,
.social-media,
.quick-links,
.newsletter-signup {
  flex: 1;
  margin-right: 20px;
}

.social-media a {
  display: block;
  color: #fff;
  margin: 5px 0;
  text-decoration: none;
}

.quick-links a {
  display: block;
  color: #fff;
  margin: 5px 0;
  text-decoration: none;
}

.newsletter-signup form {
  display: flex;
  flex-direction: column;
}

.newsletter-signup input {
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
}

.newsletter-signup button {
  padding: 10px;
  background-color: #f39c12;
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
}

.newsletter-signup button:hover {
  background-color: #e67e22;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
}
/* For tablets */
@media (max-width: 768px) {
  .navbar1 ul {
    flex-direction: column;
    align-items: center;
  }

  .navbar1 li {
    margin: 10px 0;
  }

  #chatbot {
    width: 100%;
    height: auto;
    padding: 15px;
  }
}

/* For mobile phones */
@media (max-width: 480px) {
  .navbar1 {
    flex-direction: column;
    padding: 10px;
  }

  #logo1 {
    font-size: 28px;
  }

  .navbar1 ul {
    flex-direction: column;
    align-items: center;
  }

  .navbar1 li {
    margin: 5px 0;
  }

  #chatbot {
    width: 90%;
  }

  .genre-heading {
    font-size: 24px;
  }

  .title1 {
    font-size: 28px;
  }
}
.book-cover {
  width: 100%;
  height: auto;
  max-width: 150px; /* Optional limit */
}

.book-recommendation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.book-details {
  flex: 1;
}
html {
  font-size: 16px; /* Default */
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 12px;
  }
}
