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;
}
header {
  width: 100vw;
}
.navbar1 {
  display: flex;
  position: fixed;
  width: 99vw;
  padding-left: 10px;
  padding-top: 5px;
  margin: 0;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #361e43;
}
#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;
}

.navbar1 li a:hover {
  background-color: #7a027a;
  color: white;
}

.navbar2 {
  display: flex;
  height: 45px;
  width: 99vw;
  padding-left: 10px;
  padding-top: 30px;
  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;
}

.navbar2 li a:hover {
  background-color: #7a027a;
  color: white;
}

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

section {
  font-size: 22px;
  font-weight: 500;
  margin: 60px 0;
  padding: 60px 20px;
}
.book-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.book-item {
  width: 150px;
  text-align: center;
}

.book-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s;
}

.book-item img:hover {
  transform: scale(1.05);
}

.book-item p {
  margin-top: 10px;
  font-weight: bold;
}

.resources {
  margin-top: 40px;
  text-align: center;
}

.resources h3 {
  color: #361e43;
}

.resources ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

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

.resources ul li a {
  color: #7a027a;
  text-decoration: none;
}

.resources ul li a:hover {
  text-decoration: underline;
}

iframe {
  display: block;
  margin: 20px auto;
  max-width: 100%;
}
.youtube-videos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.youtube-videos iframe {
  flex: 1;
  max-width: 500px;
  margin: 0 auto;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  color: #fff;
  padding: 10px 0;
  z-index: 1000;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.navbar a:hover {
  text-decoration: underline;
}
section {
  background-color: #eae4eb;
  /* border: 10px solid #361e43; */
  border-radius: 4px;
  padding: 60px 20px;
  margin: 60px 0;
}
/* Ensure navbar1 stays above navbar2 */
.navbar1 {
  z-index: 2; /* Ensure this is above navbar2 */
}

.navbar2 {
  z-index: 1; /* Ensure this is below navbar1 */
}

@media (max-width: 768px) {
  .navbar1,
  .navbar2 {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  nav li {
    margin-bottom: 10px;
  }
}
