.titleContentEbooks {
  position: relative;
}
.titleContentEbooks img {
  width: 100%;
}
.titleContentEbooks .textOnImg {
  position: absolute;
  top: 40%;
  left: 45%;
  color: white;
}
.titleContentEbooks .textOnImg h1 {
  font-size: 3rem;
}

.cardsContent {
  background: url("../img/ebooks/backgroundfleur.png");
  background-size: inherit;
  background-repeat: space;
}

.cards {
  min-height: 120vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.cards .card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cards .cardImg,
.cards .cardContent {
  width: 45%;
}
.cards .cardImg {
  z-index: 1;
  position: relative;
}
.cards .cardImg img {
  width: 100%;
}
.cards .cardImg .backgroundImg {
  position: absolute;
  height: 20vh;
  border-radius: 5px;
}
.cards .cardImg .backgroundImg1 {
  z-index: -1;
  background-color: #F3EEE4;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.cards .cardImg .backgroundImg2 {
  z-index: -2;
  background-color: #60828c;
  width: 120%;
  top: 45%;
  left: 55%;
  transform: translate(-50%, -50%);
}
.cards .cardContent {
  padding: 0 5%;
}
.cards .cardContent .initialPrice {
  font-size: 3rem;
  color: #768698;
  font-weight: 400;
}
.cards .cardContent .card-body {
  display: flex;
  flex-direction: column;
}
.cards .cardContent .card-body .subBuy {
  display: flex;
}
.cards .cardContent .card-body .subBuy a:first-child {
  margin-right: 15px;
}
.cards input {
  margin-right: 15px;
}
.cards a {
  width: 180px;
}
.cards h2 {
  color: #768698;
}
.cards .buyOffer input {
  color: #F3EEE4;
  border-radius: 30px;
  border: 0px;
  display: inline-block;
  cursor: pointer;
  font-size: 15px;
  padding: 25px 30px;
  text-decoration: none;
  width: 180px;
  background-color: #4A4453;
  border: 1px solid white;
}
.cards .buyOffer input::placeholder {
  color: white;
  text-align: center;
}
.cards .subOffer {
  display: none;
  padding: 15px 0;
}

div.avisContainer {
  margin: 5% 0;
}
div.avisContainer h2 {
  color: #768698;
}
div.avisContainer .dot {
  background-color: #c28788;
}
div.avisContainer .dot.active {
  background-color: white;
}
div.avisContainer .dot:hover {
  background-color: #F3EEE4;
}
div.avisContainer .backgroundAvis {
  background-color: #768698;
}

/* SMALL SCREEN */
@media only screen and (max-width: 600px) {
  .cards {
    flex-direction: column;
  }
  .cards .card {
    flex-direction: column;
  }
  .cards .cardImg,
.cards .cardContent {
    width: 100%;
    text-align: center;
  }
  .cards .cardImg img {
    width: 75%;
  }
  .cards .cardImg .backgroundImg {
    height: 10vh;
  }
  .cards .cardImg .backgroundImg1 {
    width: 90%;
    top: 40%;
    left: 0;
    transform: none;
  }
  .cards .cardImg .backgroundImg2 {
    width: 100%;
    top: 30%;
    left: 0;
    transform: none;
  }
  .cards .cardContent {
    text-align: center;
  }
  .cards .buyOffer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    min-height: 30vh;
  }
  .cards .subOffer a,
.cards .subBuy a {
    margin: 15px 0;
  }
}

/*# sourceMappingURL=ebooks.css.map */
