#livros {
  position: relative;
}
#livros::after {
  content: '';
  position: absolute;
  width: calc(100% - 20%);
  min-width: 1500px;
  height: 100%;
  top: 5%;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: url(../img/v2/bg-estante.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.btn-large {
  color: #ffffff;
  text-decoration: none;
  background: #105ea9;
  display: inline-block;
  padding: 20px 30px 14px 30px;
  font-size: 25px;
  font-weight: 600;
  border-radius: 8px;
  margin: 50px 0;
  box-shadow: -3px 4px 7px #00000045;
  min-width: 260px;
}

#livros .row {
  align-items: flex-end;
}
h2 {
  font-size: 2.5rem;
  color: #105EA9;
  font-weight: 800;
}
.box-prateleira {
  display: flex;
  justify-content: center;
  margin: 100px 0;
  flex-wrap: wrap;
  border-radius: 20px;
  padding: 30px 0;
  position: relative;
}

.box-livro {
  position: relative;
  margin: 60px auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 250px;
}
/*
.box-livro::after {
  content: '';
  position: absolute;
  bottom: -20px;
  background: linear-gradient(90deg, transparent 0%, #FFF 15%, #FFF 85%, transparent 100%);
  left: -50px;
  right: -50px;
  width: calc(100% + 100px);
  height: 20px;
  z-index: 5;
}
.box-livro::before {
  content: '';
  position: absolute;
  bottom: -20px;
  background: transparent;
  left: 0;
  right: 0;
  width: 100%;
  height: 20px;
  z-index: 1;
  box-shadow: 0px 0px 30px #8ebfd5;
}
*/
.box-livro img {
  max-width: 150px;
  margin: 0px 35px;
  box-shadow: 15px -10px 26px #95c5db;
}
.btn-livros i{
  position: relative;
  bottom: -3px;
}
.btn-large {
  position: relative;
  z-index: 2;
}
.btn-large::before {
  content: '';
  position: absolute;
  background: url(../img/bg-btn.svg);
  background-size: contain;
  background-repeat: no-repeat;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: -2;
  transition: 0.2s ease-in-out;
  opacity: 0;
}
.btn-large::after {
  content: '';
  position: absolute;
  background: linear-gradient(#0e5ea8, #0e5ea8);
  background-size: contain;
  background-repeat: no-repeat;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: -1;
  border-radius: 8px;
  transition: 0.2s ease;
  opacity: 0;
}
.btn-large:hover {
  color: #fff;
  transition: 0.2s ease;
  transform: rotate(-2deg) scale(1.02);
}
.btn-large:hover::before {
  content: '';
  position: absolute;
  background: url(../img/bg-btn.svg);
  background-size: contain;
  background-repeat: no-repeat;
  top: -15px;
  right: -25px;
  left: -38px;
  bottom: -25px;
  width: calc(100% + 80px);
  z-index: -2;
  opacity: 1;
}
.btn-large:hover::after {
  content: '';
  position: absolute;
  background: linear-gradient(#3693ED, #3693ED);
  background-size: contain;
  background-repeat: no-repeat;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: -1;
  border-radius: 8px;
  opacity: 1;
}
.btn-large span {
  background: url(../img/nuvem-menu.svg);
  position: absolute;
  right: 0px;
  bottom: -35px;
  width: 100px;
  height: 58px;
  font-size: 15px;
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 31px;
  opacity: 0;
  transition: 0.2s ease;
}
.btn-large:hover span {
  opacity: 1;
}

.box-livro img {
  transition: 0.2s ease-in-out;
  position: relative;
  z-index: 1;
}
.box-livro:hover img {
  transform: rotate(-4deg) scale(1.05);
  position: relative;
  z-index: 10;
}
.box-livro span {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 70%;
  display: block;
  top: 60px;
}
.box-livro:hover .span-back {
  color: #fff;
  transform: rotate(-4deg) scale(1.05);
}
.box-livro .span-back::before {
  content: '';
  position: absolute;
  background: url(../img/livro-back.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: -2;
  transition: 0.2s ease-in-out;
  opacity: 0;
}
.box-livro:hover .span-back::before {
  content: '';
  top: -50px;
  right: 0;
  left: 0px;
  bottom: 6px;
  width: 100%;
  z-index: -2;
  opacity: 1;
}
.box-livro .span-front {
  position: absolute;
  z-index: 99;
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
}
.box-livro:hover .span-front {
  color: #fff;
  transform: rotate(-4deg) scale(1.05);
}
.box-livro .span-front::after {
  content: '';
  position: absolute;
  background: url(../img/livro-front.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  top: -20px;
  left: -15px;
  bottom: 0;
  width: 40%;
  z-index: 99;
  transition: 0.2s ease-in-out;
  opacity: 0;
}
.box-livro:hover .span-front::after {
  content: '';
  top: -20px;
  left: -10px;
  bottom: 0;
  width: 40%;
  z-index: 99;
  opacity: 1;
}

#livros{
  position: relative;
}
#livros .img-linha {
  position: absolute;
  width: 35%;
  right: 0;
  top: -100px;
}
#livros .img-nuvem-03 {
  position: absolute;
  left: 0px;
  top: 55%;
  width: 200px;
  animation: nuvem1 20s infinite ease-in-out alternate;
}
#livros .img-nuvem-04 {
  position: absolute;
  left: -50px;
  top: 58%;
  width: 180px;
  animation: nuvem1 15s infinite ease-in-out alternate;
}
#livros .img-nuvem-02 {
  position: absolute;
  right: 50px;
  bottom: 15%;
  width: 100px;
  animation: nuvem1 20s infinite ease-in-out alternate;
}
#livros .img-nuvem-01 {
  position: absolute;
  right: 100px;
  bottom: 15%;
  width: 200px;
  animation: nuvem1 15s infinite ease-in-out alternate;
}

.box-prateleira .click-aqui {
    margin: -25px;
    bottom: -185px;
    left: 20px;
}

#livro {
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
  background: #332e64a3;
}
#livro .capa {
  position: absolute;
  width: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-65%, -50%) rotate(-10deg);
}
#livro .capa.grande {
  width: 450px;
}
#livro .capa img{
  width: 100%;
}
#livro .container {
  max-width: 1250px;
  background: #514D7A;
  padding: 30px;
  position: relative;
  border-radius: 25px;
}
#livro .resumo {
  padding: 0 50px 40px 50px;
}
#livro  .livro-titulo{
    margin-top: -125px;
    margin-left: -30px;
    margin-bottom: 30px;
    text-align: center;
}
#livro .resumo h3{
  color: #FFF;
}
#livro .resumo p {
  margin-top: 0;
  margin-bottom: 2rem;
  color: #fff;
  font-size: 21px;
}
#livro .resumo .lista-sobre {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
#livro .resumo .lista-sobre img {
  border-radius: 50px;
}
#livro .resumo .lista-sobre span {
  color: #fff;
  flex: 0 0 48%;
}
#livro .btn-large-orange i {
  font-size: 14px;
  padding-right: 5px;
}
#livro .btn-large-orange:hover::before {
  top: -20px;
  right: -22px;
  left: -36px;
  bottom: -27px;
  width: calc(100% + 70px);
}
#livroFooter {
  background: #332e64a3;
}

.img-footer-livro {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
}
.owl-wrapper {
  display: table !important;
}
.owl-item {
  display: table-cell;
  float: none!important;
  vertical-align: bottom;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  color: inherit;
  border: none;
  font: inherit;
  color: #fff;
  background: transparent;
  outline: none;
}
.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover{
  color: inherit;
  border: none;
  font: inherit;
  color: #fff;
  background: transparent;
  outline: none;
}
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
}
.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
}
.owl-carousel .owl-nav button.owl-next img{
  width: 90px;
}
.owl-carousel .owl-nav button.owl-prev img{
  width: 90px;
}

#livros .container {
  max-width: 1250px;
  position: relative;
  z-index: 1;
}

#modalLivro .close:hover,
#modalLivro .close:active,
#modalLivro .close:focus
 {
  outline: none;
  box-shadow: none;
}

.container-livro p {
    text-align: center;
    color: #fff;
    max-width: 320px;
    margin: 0 auto;
}

@media (min-width: 1440px) {}
@media (max-width: 1440px) {
  .box-prateleira {
    display: flex;
    justify-content: center;
    margin: 30px 0 100px 0;
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 30px 70px;
    position: relative;
  }
  .click-aqui {
    left: 20px;
  }
}
@media (max-width: 1024px) {}
@media (max-width: 768px) {
  .btn-livros {
    justify-content: center;
  }
  .btn-large {
    margin: 25px 0;
  }
  .click-aqui {
    bottom: -65px;
    left: 40px;
  }
  .col-lg-2.offset-lg-1 img {
    max-width: 100px;
  }
  .box-livro img {
    max-width: 150px;
    margin: 0px 35px;
    box-shadow: 15px -10px 26px #95c5db;
  }
  .box-prateleira .click-aqui {
    left: -10px;
  }
  #livros .img-nuvem-03 {
    display: none;
  }
  #livros .img-nuvem-04 {
    display: none;
  }
  #livros .img-nuvem-01 {
    display: none;
  }
  #livros .img-nuvem-02 {
    display: none;
  }
  #livro .resumo {
    padding: 0 15px 50px 15px;
  }
  #livro {
    height: auto;
    padding: 150px 0 50px 0;
    padding-top: 180px!important;
  }
  #livro .resumo .lista-sobre span {
    color: #fff;
    flex: 0 0 100%;
  }
  .resumo .img-fluid {
    margin-bottom: 30px;
  }
  .box-prateleira .click-aqui {
    margin: -25px;
    bottom: -231px;
    left: 20px;
  }
}
@media (max-width: 425px) {
  #livros::after {
    min-width: 1500px;
    top: 7%;
  }
}
@media (max-width: 376px) {}