/* Header and navs  */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');


:root {
  --primary-color: #ea088c;
  --secondary-color: #26abe2;
  --scondary-color-light: #7acced;
}

* {
  font-family: "Poppins", sans-serif;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.mdl-btn {
  display: flex;
  justify-content: center;
}

body {
  background-color: #92a7bb1c;
}

section,
.single-book-container {
  background-color: white;
}

a {
  text-decoration: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}






.btn-primary {
  font-size: 1.7rem;
  background-color: var(--primary-color);
  border: none;
  padding: 0.9rem 3rem;
  font-weight: 500;
  border-radius: 0.5rem;
}


.btn-primary:hover {
  background-color: var(--secondary-color);
}


html {
  font-size: 65%;
  scroll-behavior: smooth;
}

.font-adjust {
  font-size: 1.5rem;
}

.header {
  margin-bottom: 10em;

}

.maindropdown>button {
  font-size: 1.5rem;


}

.maindropdown .dropdown-item {
  font-size: 1.5rem;
}


.user-dropdown>button {
  color: var(--primary-color);
}

.user-dropdown .dropdown-item {
  font-size: 1.5rem;

}

.user-dropdown i {
  color: var(--primary-color);
}

.user-dropdown button {
  background: none;
  border: none;
  font-size: 2rem;
}




.dropdown-menu-end a {
  font-size: 2rem;
}


#sign-up-btn {
  color: white;
  font-size: 1.5rem;

}


.main-nav {
  background-color: white;
  font-size: large;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-nav div {
  margin: 0em 0.2em 0em 0em;
}








#notifi {
  margin-right: 2.2em;
}

#offcanvasMain,
#offcanvasMainLabel {
  font-size: 1.8rem;
}

.nav-icon>a {
  color: var(--primary-color);
  margin: 0em 0em 0em 0.2em;
}

.nav-icon>button {
  font-size: 1.5rem;
}

.searchbox {
  width: 40%;

}


#aspectCart {
  position: fixed;
  font-size: 5rem;
  top: 85vh;
  bottom: 0;
  z-index: 100;
  margin-left: 0.5em;
}

#aspectCart a {
  color: var(--secondary-color);
}

#aspectCart .total-items {
  font-size: 1.5rem;
}



.total-items {
  font-size: 7px;
  background: red;
  color: #fff;
  border-radius: 50%;
  padding: 4px 6px;
  position: absolute;
  right: -5px;
  top: -5px;
}

/* Header and navs ends  */


/* login section */
.form-container {
  display: flex;
  align-items: center;
  justify-content: center;


  /* right: -105%; */
  z-index: 10000;
  height: 100%;
  width: 100%;
}

.login-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 0;
  right: -105%;
  z-index: 10000;
  height: 100%;
  width: 100%;
}

.login-form-container.active {
  right: 0;
}

.login-form-container form,
.form-container form {
  background: #fff;
  width: 40rem;
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 2rem;
}

.login-form-container form h3,
.form-container form h3 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: black;
  text-align: center;
}

.login-form-container form span,
.form-container form span {
  display: block;
  font-size: 1.5rem;
  padding-top: 1rem;
}

.login-form-container form .box,
.form-container form .box {
  width: 100%;
  margin: 0.7rem 0;
  font-size: 1.6rem;
  border: 1px solid gray;
  border-radius: 0.5rem;
  padding: 1rem 1.2rem;
  color: black;
  text-transform: none;
}

.login-form-container form .checkbox,
.form-container form .checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.login-form-container form .checkbox label,
.form-container form .checkbox label {
  font-size: 1.5rem;
  color: gray;
  cursor: pointer;
}

.login-form-container form .btn,
.form-container form .btn {
  text-align: center;
  width: 100%;
  margin: 1.5rem 0;
  font-size: large;
  color: white;
}

.login-form-container form p,
.form-container form p {
  padding-top: 0.8rem;
  color: gray;
  font-size: 1.5rem;
}

.login-form-container form p a,
.form-container form p a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.login-form-container #close-login-btn,
.form-container #close-login-btn {
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  font-size: 5rem;
  color: black;
  cursor: pointer;
}

/* login section ends */


/* book section */

.book-container {
  padding: 2em;
  margin: 2em !important;

}

.book-container a {
  margin: 0.5em;
  text-decoration: none;
}

.book-container .card:hover {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}


.similar-books {
  margin: 0em !important;
}

.main-tab-content {
  padding: 1em;
}


/* cart section */
.btn-con {
  align-items: center;
  flex-direction: column;
  text-align: center;

}

.guest-btn {
  text-align: center;
  background-color: var(--secondary-color);
}



.cart-page {
  font-size: large;
}

.cart-page .form-control {
  font-size: 1.5rem;
}

.cart-page .msg {
  font-size: large;
}

.cart-page h1 {
  font-weight: bold;
  letter-spacing: 2px;
}

.cart-container {
  border-radius: 10px;
  margin-bottom: 1em;
  background-color: white;
  padding: 0.5em;
}

.cart-items {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid gray;
  width: 100%;
  margin: 2rem auto;
}

.item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  margin-bottom: 1rem;
  border: solid 0.5px #979797;
  padding: 1.5rem;
  border-radius: 20px;
}

.cart-img {
  width: 50px;
  margin: 1em;
}

.cart-quantity-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  border: 0.5px var(--primary-color);
  font-size: 2rem;
}

.info {
  flex: 2;
}

.total-price {
  flex: 1;
}

.quantity-counter {
  flex: 2;
}

button#removeItembtn {
  font-size: 1.2rem;
  border-radius: 50%;
  background: red;
  border: red;
  color: #ffff;
  margin-left: 10px;
}

/* cart section end  */


/* qna */

.qna {
  padding: 0.5em;
}

.qna-btn {
  margin-bottom: 0.5em;
}



/* search result styles */
.search {
  position: relative;
  background: white;
  border-radius: 5px;

}

.search label {
  position: absolute;
  font-size: 2.5rem;
  padding-right: 1.5rem;
  color: var(--black);
  cursor: pointer;
  top: 25%;
  transform: translateX(-100%);

}


.search label:hover {
  color: var(--green);

}

.search input {
  height: 4rem;
  width: 80%;
  outline: none;
  border: 1px solid var(--secondary-color);

  padding: 1em;
  font-size: 1.5rem;
}

.results {
  width: 80%;
  position: absolute;

}


.results.active {
  background: white;
  animation: fade-in 500ms forwards;
  z-index: 2;
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
}

.results.active li {
  display: block;


}

.results li a {
  display: flex;
  justify-content: space-between;
  color: black;


}


.results li {
  list-style: none;
  width: 100%;
  border-radius: 3px;
  padding: 1.5rem 0.5em;
  display: none;
  font-size: small;
  cursor: pointer;
  font-size: 16px;
  border-bottom: .5px solid red;


}

.results li:hover {
  background-color: rgb(207, 202, 202);
}




.searchbox.active {
  display: block;
  position: absolute;
  margin-top: 15rem;
  z-index: 2;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

#search-icon-main {
  cursor: pointer;
}

@keyframes fade-in {
  0% {
    opacity: 0;

  }

  100% {
    opacity: 1;
  }

}

/* serch style end */


/* review cards */
.review-cards {
  width: 25rem;
  margin: 0.5em;

}

.splide button {
  font-size: 1rem;
}

/* review cards */

/* user comments section  */
.user-comments {
  margin-top: 1em;
  margin-bottom: 1em;
  background-color: inherit;
}



.user-heading-text {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  background-color: #2a182e;
  color: white;
  border-radius: 10px;
  width: 80%;
  height: 80%;

  background-image: url("/static/image/pink-circle.svg"), url("/static/image/shape-orange.svg");
  background-repeat: no-repeat;
  background-position: 105% -950%, -29% 400%;
  background-size: 30%, 35%;

}

.user-heading-section {
  background-image: url("/static/image/dots.svg");
  height: 50vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

}

.user-comments p {
  font-size: 1.6rem;
}

.user-comments .splide__arrows {
  display: none;
}

.user-comments .splide__pagination {
  display: none;
}

.user-comment-card {
  margin: 1em 1em 1em 0em !important;
  padding: 2em;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  background-color: white;
  position: relative;
}



.user-comment-card img {
  margin: 1em 1em 2em 0;
}

.user-comment-card i {
  position: absolute;
  color: var(--secondary-color);
  top: 0;
  margin-top: -1rem;
  font-size: 3rem;
}

.user-comments .user-heading {
  display: flex;
  align-items: center;
}


.user-comments .rounded-circle {
  border: 1px solid;
  border-radius: 50%;
  width: 8rem;
  height: 8rem;
}


/* our-achievement */

.our-achievement {
  text-align: center;
}

/* user comments section ends  */

/* book card styles from aap */
.book-footer {
  margin-top: -35px;
  height: 8rem;
}

.book-title {
  font-size: 1.5rem;
  color: #000;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.book-price {
  font-size: 1.5rem;
  color: #000;
  font-weight: bold;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 1.5rem;
  color: #fff;
}

.book-img {
  height: 25rem;
}

/* book card styles from aap */



/* Our achievement styles  */
.success-section {
  padding: 1em;
  background-color: inherit;
  margin-bottom: 3em;


}

.success-section>h1 {
  text-align: center;
  font-weight: bolder;

}

.success-div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-hero {
  width: 30%;
  margin: 1em;

}

.success-hero img {
  margin-bottom: 8em;
}


.our-achievement .rounded-circle {
  border-radius: 50%;
  width: 7rem;
  height: 7rem;
}

.our-achievement {
  width: 50%;
}


.success-cards {
  display: flex;
  flex-direction: row;
  margin-bottom: 2em;
  width: 30rem;

}

.success-cards h1 {
  font-weight: bolder;
  font-size: 2.5rem;
}

.success-cards img {
  margin-right: 1em;
}

/* Our achievement styles  */


/* Home buttons style */
.buttons-section {
  background-color: inherit;
  padding: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
}


.home-buttons {
  width: 50%;
}

.home-buttons {
  font-size: large;
  width: 99%;
  padding: 0.6em;
  background: #fff;
  border: none;
  border-radius: 1.5rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.3em auto;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25) !important;
  transition: all .3s ease;
}

.home-buttons a {
  text-decoration: none;
  color: #000;
}

.home-buttons:hover {
  transform: scale(1.03);
  color: var(--secondary-color);
}


/* Home buttons style  ends*/



/* Main footer styles */
.footer {
  background: #323e57;
  padding: 2em;
  text-transform: uppercase;
}


.footer .box-container {
  margin-left: 5em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 1.5rem;
  color: #fff;
}

.footer .box-container .box h3 {
  font-size: 2.2rem;
  color: #fff;
  padding: 1rem 0;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.4rem;
  color: #fff;
  padding: 1rem 0;
}

.footer .box-container .box a i {
  color: var(--primary-color);
  padding-right: 0.5rem;
}

.footer .box-container .box a:hover i {
  padding-right: 2rem;
}

.footer .box-container .box .map {
  width: 100%;
}

.footer .share {
  padding: 1rem 0;
  text-align: center;
}

.footer .share a {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  color: #fff;
  background: var(--primary-color);
  margin: 0 0.3rem;
  border-radius: 50%;
}

.footer .share a:hover {
  background: black;
}

.footer .credit {
  margin-top: 2rem;
  padding: 0 1rem;
  padding-top: 2.5rem;
  font-size: 2rem;
  color: gray;
  text-align: center;
}

.footer .credit span {
  color: var(--primary-color);
}

/* footer styles end */






@media (max-width: 750px) {
  .searchbox {
    position: absolute;
    top: 4em;
    width: 100%;
    z-index: 2;
    right: 0;
    left: 0;

  }

  .home-buttons {
    width: 95%;
    font-size: small;

  }

  #search-icon-main {
    margin-right: 0.5em;
  }



  .search input,
  .results {
    width: 100%;

  }

  .main-nav {
    justify-content: flex-end;
    padding: 0.5em;
  }

  .logo {
    position: absolute;
    left: 0;
    margin-left: 1em;
  }



  html {
    font-size: 50%;
  }

  .search-mobile-active {
    display: none;
  }


  .book-container {
    margin-top: 8em;
  }



  .user-heading-text {
    width: 90%;
    height: 80%;
    background-position: 110% 140%, -70% -110%;
    background-size: 40%, 60%;
  }

  .our-achievement {
    width: 100%;
    justify-content: center;
  }

  .success-div {
    flex-direction: column;
  }

  .success-cards {
    width: 20rem;
  }

  .success-cards h1 {
    font-size: 1.5rem;
  }

  .success-hero img {
    margin-bottom: 0.5em;
  }




}



@media (min-width: 750px) {
  #search-icon-main {
    display: none;
  }

  #aspectLogo {
    width: 70px;
  }

  .searchbox {
    margin-right: 15%;
  }

  .logo {
    margin-right: 10em;
  }

  .buttons-con {
    width: 75%;
  }
}


@media (min-width: 990px) {
  .content-cat-buttons {
    display: none;
  }
}