html {
  overflow-x: hidden;
}
body {
  background-color: #f0f0ec;
  font-family: "Roboto", sans-serif;
  color: #454545;
  font-size: 14px;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  color: #262626;
}
h1 {
  font-size: 70px;
}
h2 {
  font-size: 50px;
}
a {
  color: #4b816b;
  text-decoration: none;
}
header {
  background-color: #f0f0ec;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 24px 46px;
}
header .login i {
  display: none;
}
header .img-fluid {
  width: 150px;
}
header .cart-shopping {
  position: relative;
}
header .cart-shopping span {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: #ab2626;
  text-align: center;
  border-radius: 100%;
  color: #fff;
  font-weight: bold;
  padding: 3px 0 0;
  right: -5px;
  top: 0;
  font-size: 13px;
}
.btn {
  padding: 12px 18px;
  border-radius: 8px;
}
.btn-primary {
  background: #4b816b;
  border: none;
}
.btn-primary:hover {
  background: #2b443b;
}
.btn-outline-primary {
  color: #4b816b;
  border-color: #4b816b;
}
.btn-outline-primary:hover {
  background: #2b443b;
  color: #fff;
  border-color: #2b443b;
}
.btn-success {
  background: #363636;
  border: none;
}
.btn-success:hover {
  background: #262626;
}
.price {
  color: #58aa41;
}
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
}
.offcanvas-body .d-flex .btn {
  padding: 8px 15px;
}
.offcanvas-body .price {
  margin: 32px 0;
}
.carruseles-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  width: 850px;
  margin: 0 0 0 100px;
}
.card-design-1 h2 {
  font-size: 24px;
  color: #fff;
  text-align: center;
}
.card-design-1 span {
  color: #fff;
  font-size: 18px;
  font-weight: normal;
  width: 100%;
}
.card-design-2 {
  display: block !important;
  bottom: 0;
  overflow: hidden;
}
.card-design-2 h2 {
  text-align: left;
  position: absolute;
  left: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 16px;
  margin-left: 12px;
  z-index: 2;
}
.card-design-2 h2 span {
  font-size: 14px;
  font-weight: lighter;
}
.card-design-2 .overlay {
  background: #545e5a;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(#545e5a),
    to(rgba(84, 94, 90, 0))
  );
  background: linear-gradient(0deg, #545e5a 0%, rgba(84, 94, 90, 0) 100%);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.carrusel-container {
  width: 250px;
  height: 600px;
  overflow: hidden;
  position: relative;
}
.carrusel {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  width: 100%;
}
.carrusel li {
  width: 100%;
  height: 300px;
  margin: 12px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-perspective: 1000px;
  -ms-perspective: 1000px;
  perspective: 1000px;
}
.flip-card {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  font-family: "Montserrat", sans-serif;
}
.flip-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.6s;
  transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
  transition: transform 0.6s, -webkit-transform 0.6s;
}
.flip-card-back,
.flip-card-front {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.flip-card-front {
  background: #f04f36;
  color: #000;
}
.flip-card-back {
  background: #545e5a;
  color: #fff;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  position: relative;
  z-index: 9;
}
.carrusel li:hover .flip-card-inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.play-sound {
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}
.banner-articles {
  padding: 150px 20px;
  background: url("../images/landing/bg-banner.jpg") no-repeat center center;

  background-size: cover;
}
.banner-articles ul {
  padding: 0;
}
.banner-articles .bx-controls {
  display: none;
}
.library {
  padding: 150px 0 50px;
}
.library .bx-controls {
  display: none;
}
.library .container {
  background: url("../images/landing/library.png") no-repeat bottom center;

  background-size: contain;
  padding: 0 0 20px 0;
}
.library h2 {
  margin: 0 0 50px 0;
}
.library-text {
  padding: 0;
}
.library-text li {
  padding: 0;
  margin: 0;
}
.library-books {
  margin: 0 50px;
}
.books {
  padding: 0;
}
.books h3 {
  margin: 0 0 36px 0;
}
.books .row {
  margin: 0 0 50px;
}
.book-container {
  padding: 0 36px;
  text-align: center;
}
.book-container img {
  width: 180px;
  height: auto;
}
.book-container .book-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.modal-body .modal-carrucel li {
  padding: 24px;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  height: 550px;
}
.modal-body .modal-carrucel li h6 {
  font-weight: normal;
}
.modal-body .modal-carrucel li .price {
  margin: 12px 0 0;
  font-weight: bold;
}
.modal-body .modal-carrucel .input-group {
  width: 100% !important;
}
.modal-body .bx-controls {
  text-align: center;
  margin: 24px 0px;
}
.modal-body .bx-controls .bx-pager-item {
  display: inline-block;
  vertical-align: top;
  width: 40px;
  height: 5px;
  border-radius: 4px;
  background: #8b8b8b;
  margin: 0 4px;
  font-size: 0px;
  position: relative;
}
.modal-body .bx-controls .bx-pager-item a {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  overflow: hidden;
  top: 0;
}
.modal-body .bx-controls .bx-pager-item .active {
  background: #f04f36;
}
.flip-card-book {
  height: 100%;
  position: relative;
  -webkit-perspective: 1000px;
  -ms-perspective: 1000px;
  perspective: 1000px;
}
.flip-card-book .flip-card-inner-book {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 0.6s;
  transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
  transition: transform 0.6s, -webkit-transform 0.6s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.flip-card-book .flip-card-inner-book .flip-card-back-book,
.flip-card-book .flip-card-inner-book .flip-card-front-book {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 8px;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 32px;
}
.flip-card-book .flip-card-inner-book .flip-card-front-book {
  z-index: 2;
}
.flip-card-book .flip-card-inner-book .flip-card-front-book img {
  height: 200px;
}
.flip-card-book .flip-card-inner-book .flip-card-back-book {
  background-color: #f8f9fa;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  text-align: left;
}
.flip-card-book .flip-card-inner-book .flip-card-back-book ul {
  margin: 12px 0;
}
.flip-card-book .flip-card-inner-book .flip-card-back-book ul li {
  padding: 0;
  text-align: left;
  display: block;
  height: auto;
  margin: 0 0 18px 0;
}
.flip-card-book.flipped-book .flip-card-inner-book {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.flip-icon-book {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #333;
}
.back-content-book {
  max-height: 80%;
  margin-top: 30px;
  padding-right: 10px;
}
.back-content-book .cont-scroll {
  padding: 0 30px 0 0;
  height: 300px;
  overflow-y: scroll;
  margin: 0 0 30px 0;
}
.back-content-book .cont-scroll h6 {
  font-weight: bold !important;
}
.back-content-book::-webkit-scrollbar {
  width: 6px;
}
.back-content-book::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}
.card-slider {
  width: 100%;
  height: 505px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.card-slider .overlay {
  background: #545e5a;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(#545e5a),
    to(rgba(84, 94, 90, 0))
  );
  background: linear-gradient(0deg, #545e5a 0%, rgba(84, 94, 90, 0) 100%);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.card-slider h2 {
  text-align: left;
  position: absolute;
  left: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 16px;
  margin-left: 12px;
  z-index: 2;
}
.card-slider h2 span {
  font-size: 14px;
  font-weight: lighter;
}
.cont-nav {
  margin: 32px 0 0;
}
.autor {
  background: #fffbe8;
  margin: 150px 0 0;
  padding: 150px 0;
}
.autor img {
  margin: 0 0 25px 0;
  max-width: 200px;
  border-radius: 100%;
  -webkit-box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.1);
}
.autor .jhon {
  background: #fcf7dd;
  padding: 36px;
  -webkit-box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.contact {
  padding: 100px 0;
  background: #545e5a;
}
.contact input {
  width: 100%;
  margin: 0 0 12px 0;
}
.contact button {
  width: 100%;
}
.contact h3 {
  color: #fff;
  text-align: center;
  margin: 0 0 24px 0;
}
footer {
  background: #272929;
  padding: 24px;
}
footer img {
  width: 150px;
  opacity: 0.5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
}
footer a {
  color: #fff;
  text-decoration: underline;
  margin: 0 4px;
}
@media (max-width: 1400px) {
  .card-slider {
    height: 430px;
  }
  .book-content button {
    width: 100%;
    margin: 4px 0;
  }
}
@media (max-width: 1200px) {
  .card-slider {
    height: 356px;
  }
}
@media (max-width: 992px) {
  .book-content .row {
    margin: 0;
  }
  .banner-articles .col-md-3 {
    display: none;
  }
  .banner-articles .col-md-9 {
    width: 100%;
  }
  h1 {
    font-size: 50px;
  }
  h2 {
    font-size: 40px;
  }
  h3 {
    font-size: 30px;
  }
}
@media (max-width: 800px) {
  header {
    padding: 24px;
  }
}
@media (max-width: 768px) {
  .slider-articles li {
    width: 100%;
  }
  .slider-articles .card-slider {
    height: 200px;
    margin: 0 0 24px 0;
    width: 100%;
  }
  .carruseles-container {
    display: none;
  }
  .banner-articles {
    padding: 80px 20px;
  }
  .hero {
    text-align: center;
    padding: 80px 20px;
  }
  .books {
    padding: 80px 20px;
  }
  .library {
    padding: 80px 0 0px;
  }
  .library .container {
    background-size: auto;
    padding: 0 0 80px 0;
  }
  .library .container .col-lg-5 {
    padding: 0 50px;
  }
  .library-books {
    margin: 0;
  }
  .autor {
    margin: 0;
  }
  .contact {
    padding: 100px 20px;
  }
  footer {
    text-align: center;
  }
  footer img {
    margin: 0 0 24px;
  }
  footer .text-end {
    text-align: center !important;
  }
  .description-mobile {
    height: 190px !important;
  }
  .space-mobile {
    margin-bottom: 6px;
  }
  header .img-fluid {
    width: 70px;
  }
}
@media (max-width: 650px) {
  .book-container {
    text-align: center;
    display: block;
    margin: 0 0 50px 0;
  }
}
@media (max-width: 767px) {
  header .row.align-items-center {
    justify-content: space-between;
  }
  header .col-md-6.col-sm-6.col-6.text-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
  }
  header .btn {
    font-size: 16px;
    padding: 4px 8px;
    white-space: nowrap;
  }
  header .cart-shopping {
    padding: 4px 8px;
    font-size: 18px;
  }
  header img {
    max-width: 120px;
  }
}
.shopify-description p {
  all: unset;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.btn.btn-primary:focus,
.btn.btn-primary:active {
  background-color: #4b816b !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}
.btn.btn-outline-primary:focus,
.btn.btn-outline-primary:active {
  background-color: inherit !important;
  color: #4b816b !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: #4b816b !important;
}
@media (min-width: 992px) {
  h4.responsive-nowrap {
    white-space: nowrap;
  }
}
