@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Baloo+2&family=Lexend+Exa:wght@100;200&family=Montserrat+Alternates:wght@100;200&family=Montserrat:wght@200&family=Poppins:ital,wght@0,100;0,400;0,600;1,800&family=Space+Mono&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
}

html {
  font-size: 62.5%;
  /* 1rem = 10px  */
}

/* Header section start css */

.header {
  width: 100%;
  height: auto;
  background-color: #f2f2f2;
}
.abc-header {
  padding: 4rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 26rem;
}
.searchFeild {
  position: relative;
}
.searchFeild input {
  width: 35rem;
  padding: 0.5rem;
  border: none;
  border-bottom: 3.8px solid #002e6c;
  background-color: transparent;
  font-size: 1.5rem;
  outline: none;
  color: #114fa0;
}
.searchFeild input::placeholder {
  color: #114fa0;
}

.searchFeild i {
  font-size: 2rem;
  color: #002e6c;
  position: absolute;
  right: 0;
  top: 20%;
}
.login_logout {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.lg-lo {
  display: flex;
}
.options h2 {
  font-size: 2rem;
  color: #ef7521;
  font-weight: bold;
  letter-spacing: 2px;
  font-family: "poppins", sans-serif;
}
.options h3 {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: "poppins", sans-serif;
  color: #002e6c;
  margin-top: -0.3rem;
  letter-spacing: 1px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.options h3:hover {
  background-color: #ef732181;
}
.lg-lo .signup {
  margin-right: 1rem;
}

.navlinks_header {
  padding: 1.5rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navlinks_header ul {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.navlinks_header ul li {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
}
.navlinks_header ul li a {
  color: #002e6c;
  font-family: "poppins";
}
.navlinks_header ul li a::after {
  position: absolute;
  content: "";
  background-color: #002e6c;
  height: 0.3rem;
  width: 0%;
  bottom: -1.4rem;
  transition: 0.2s ease-in-out;
  left: 50%;
  transform: translateX(-50%);
}
.navlinks_header ul li a:hover::after {
  width: 100%;
}
.navlinks_header ul li a.active::after {
  position: absolute;
  content: "";
  background-color: #002e6c;
  height: 0.3rem;
  width: 100%;
  bottom: -1.4rem;
  right: 0;
}

/* big card section start css */

#cards {
  width: 100%;
  height: 40rem;
  margin-bottom: 3rem;
  display: flex;
}

.big_left_card {
  width: 50%;
  height: 100%;
  background-color: #002e6c;
  color: #ffff;
  padding: 5rem;
}

.big_right_card {
  background-color: #ffe7d5;
  width: 50%;
  height: 100%;
  padding: 9rem;
}

.big_right_card .image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.big_right_card .image img {
  width: 37rem;
}

.bio {
  margin-top: 5rem;
  margin-left: 4rem;
}
.bio h2 {
  font-family: "poppins";
  font-weight: bold;
}

.bio h1 {
  font-family: math;
  font-size: 4.7rem;
  margin-top: 3rem;
  font-weight: 100;
}

.bio hr {
  width: 6rem;
  margin-top: 1rem;
}

/* vip reward  section start css */

.vip_rewards {
  margin: 6rem 10rem;
}
.vipReward {
  width: 100%;
  height: 37rem;
  border-radius: 2rem;
  display: flex;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin-bottom: 3rem;
}
.vip_left_Reward {
  width: 50%;
  height: 100%;
  background: #f2f2f2;
  border-top-left-radius: 2rem;
  border-bottom-left-radius: 2rem;
}
.vip_right_Reward {
  width: 50%;
  height: 100%;
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
  background-image: url(../images/big_card_img.png);
  background-size: cover;
  background-position: center;
}
.IMG-1 {
  background-image: url(../images/big_card_img1.png);
}
.left_reward_data {
  padding: 5rem 5rem;
}
.left_reward_data h1 {
  font-size: 4rem;
  font-family: math;
  color: #002e6c;
}
.left_reward_data hr {
  width: 10rem;
  height: 0.3rem;
  border-radius: 4rem;
  background-color: #ef7521;
  margin-top: 2rem;
}
.left_reward_data .p-1 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.left_reward_data p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.left_reward_data p span {
  font-weight: bold;
  color: #002e6c;
  font-family: "poppins", sans-serif;
}
.left_reward_data button {
  width: 100%;
  padding: 1rem;
  background-color: #ef7521;
  border: none;
  outline: none;
  border-radius: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.left_reward_data button a {
  font-size: 1.8rem;
  color: #ffff;
}

/* More books section start css */

.more_books {
  margin: 8rem 10rem;
}
.more_books h1 {
  text-align: center;
  font-family: "poppins";
  color: #ef7521;
  margin-bottom: 6rem;
}
#book_cards {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  gap: 4rem;
}
.card {
  width: 20rem;
  height: 45rem;
  border-radius: 1rem;
  padding: 1rem;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.card:hover {
  background-color: #f2f2f2;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.card .image {
  width: 100%;
  height: auto;
}
.card .image img {
  width: 100%;
  border-radius: 3rem;
  object-fit: cover;
}

.stars {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}
.stars i {
  color: #002e6c;
  font-size: 1.7rem;
}
.card_data h2 {
  letter-spacing: 1px;
  font-family: "poppins", sans-serif;
  color: #002e6c;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  margin-top: 0.3rem;
}
.card_data .p-1 {
  font-size: 1.5rem;
  letter-spacing: 1px;
  line-height: 2rem;
  color: #002e6c;
  margin-bottom: 1rem;
}
.card_data p {
  font-size: 1.5rem;
  letter-spacing: 1px;
  line-height: 2rem;
  color: #002e6c;
}

.card_data .p-2 {
  font-size: 1.8rem;
  letter-spacing: 1px;
  line-height: 2rem;
  color: #002e6c;
}
.select {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* More  section start css */

#links {
  margin: 2rem 5rem;
}
#links h2 {
  color: #ffff;
  font-weight: bold;
  font-family: "poppins";
  font-size: 1.5rem;
}
.more_information {
  width: 100%;
  height: auto;
  background-color: #002e6c;
  padding: 3rem;
}
.flex {
  display: flex;
  gap: 8rem;
}
.more_links {
  margin-top: 3rem;
}
.more_links li {
  padding-bottom: 1rem;
  font-size: 1.8rem;
}
.more_links li a {
  color: #f2f2f2ef;
}
.socialIcons {
  display: flex;
  margin-top: 4rem;
  margin-left: 3rem;
}
.socialIcons i {
  color: white;
  font-size: 2rem;
  padding-left: 3rem;
}

/* footer section start css */

.footer {
  padding: 1.3rem;
  background-color: #001f48;
}
.footer p {
  color: #f2f2f2;
  font-size: 1.8rem;
  text-align: center;
}

.menubar {
  display: none;
}
.menubar i {
  font-size: 2.3rem;
  color: #002e6c;
  position: absolute;
  left: 7rem;
  top: 3rem;
}

/* Responsive code  */

@media (max-width: 1152px) {
  .flex {
    display: flex;
    gap: 0rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .more_links li {
    text-align: center;
  }
  .socialIcons {
    margin-top: 0rem;
    margin-left: 0;
  }
  #links h2 {
    text-align: center;
  }
}

@media (max-width: 1120px) {
  .card {
    width: 25rem;
  }
}

@media (max-width: 1029px) {
  #book_cards {
    gap: 1rem;
  }
}

@media (max-width: 969px) {
  #book_cards {
    justify-content: center;
    gap: 10rem;
  }
}
@media (max-width: 990px) {
  .header {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    position: fixed;
    top: 0;
    z-index: 99999;
  }
  .menubar {
    display: block;
  }
  .login_logo {
    display: none;
  }
  .abc-header {
    flex-direction: column;
    justify-content: center;
    padding: 0 5rem;
  }
  .logo img {
    width: 20rem;
    margin: 1.5rem 0;
  }
  .options h2 {
    display: none;
  }
  .lg-lo {
    margin: 3rem 0;
  }
  .options h3 {
    font-size: 1.5rem;
    font-weight: 900;
    width: 12rem;
    font-family: "poppins", sans-serif;
    text-align: center;
    color: white;
    margin-top: -0.3rem;
    letter-spacing: 1px;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    padding: 1rem;
    background: #002e6c;
    border-radius: 5rem;
  }
  .options .signup {
    background: #ef7521;
  }

  .navlinks_header {
    position: absolute;
    width: 100%;
    padding: 3rem 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0;
    overflow: hidden;
    opacity: 0;
    background: #f2f2f2;
    z-index: 99999;
    transition: 0.3s ease-in-out;
  }
  .navlinks_header.active {
    height: 17rem;
    opacity: 1;
  }
  .links ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  .big_cards {
    margin-top: 20rem;
  }
  .vip_right_Reward {
    display: none;
  }
  .vip_left_Reward {
    width: 100%;
  }
  .vipReward {
    height: auto;
  }
  .big_left_card {
    width: 100%;
  }
  .big_right_card {
    /* background-color: #002e6c;
    padding: 15rem 0;
    width: 0; */
    display: none;
  }
  .big_right_card .image img {
    width: 15rem;
  }
}

@media (max-width: 850px) {
  .filters {
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
  }
  .categories ul {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .categories ul li a.active::after {
    position: absolute;
    content: "";
    background-color: #002e6c;
    height: 0;
    width: 0;
    bottom: 0;
    transition: 0.2s ease-in-out;
    right: 0;
  }
}

@media (max-width: 800px) {
  #book_cards {
    justify-content: center;
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .card {
    width: 20rem;
  }
  #book_cards {
    margin-top: 4rem;
    margin-bottom: 0;
  }
}

@media (max-width: 619px) {
  .card {
    width: 30rem;
    height: 51rem;
  }
  #book_cards {
    margin-top: 4rem;
    margin-bottom: 10rem;
  }
  .card_data {
    text-align: center;
  }
  .stars {
    justify-content: center;
  }
  .select {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 550px) {
  .left_reward_data h1 {
    font-size: 3rem;
  }
  .left_reward_data {
    padding: 3rem 2rem;
  }
  .vip_rewards {
    margin: 6rem 3rem;
  }
  .bio h1 {
    font-size: 4rem;
  }
  .bio {
    margin-left: 0;
  }
}

@media (max-width: 500px) {
  .books_section {
    margin: 26rem 0rem;
    margin-bottom: 10rem;
  }
  .card {
    width: 30rem;
    height: 45rem;
  }
}
@media (max-width: 440px) {
  .menubar i {
    left: 2rem;
  }
  .searchFeild input {
    width: 26rem;
  }
  .data h1 {
    font-size: 2.5rem;
  }
  .footer p {
    font-size: 1.4rem;
  }
}
@media (max-width: 380px) {
  .bio h1 {
    font-size: 3.3rem;
  }
  .card {
    width: 30rem;
    height: 45rem;
  }
}
