@font-face {
  font-family: Amatic;
  src: url(/font/AmaticSC-Bold.ttf);
}
@font-face {
  font-family: Quatrocento;
  src: url(/font/QuattrocentoSans-Regular.ttf);
}
@font-face {
  font-family: breakSemiBold;
  src: url(font/Break-SemiBold.ttf);
}
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}
body {
  background-color: #181822;
  font-family: Quatrocento;
}
.titre {
  margin-top: 3%;
  background-image: url(titreFondKraft.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 35vh;
  display: flex;
}
.titre p {
  text-decoration: underline;
  text-decoration-style: dashed;
  font-family: breakSemiBold;
  margin: auto;
  text-align: center;
  font-size: 5em;
  color: #941b80;
}
.logo h1,
.originale h1 {
  color: orangered;
  margin: 5%;
  font-family: Amatic;
  font-size: 3em;
}
.bookLogo {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2%;
  width: 75vw; /* Ajustez la largeur de la grille selon vos besoins */
  max-width: 85vw;
  margin: 5% auto; /* Vous pouvez ajuster la largeur maximale si nécessaire */
}
.img-div {
  position: relative;
  border-radius: 5%;
  background-image: url(FondKraft.png);
  background-size: cover;
  padding-top: 100%; /* Ceci maintient les divs carrés */
}
.visuel {
  padding: 5%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover, contain, fill, selon ce que vous voulez */
}
.affiche {
  margin: 0% auto;
}
.affiche h1 {
  color: orangered;
  margin-left: 5%;
  margin-top: 10%;
  font-family: Amatic;
  font-size: 3em;
}
.bookAffiche {
  display: grid;
  box-sizing: border-box;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 1%;
  grid-auto-flow: row;
  grid-template-areas:
    "CDV1 ex1 CDV2"
    "CDV1 ex2 CDV2"
    "CDV1 ex3 CDV2";
  width: 75vw;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  justify-content: space-around;
  align-items: center;
}
.bookAffiche div {
  overflow: hidden; /* Assurez-vous que les divs enfants cachent également le débordement */
}

.bookAffiche img {
  border-radius: 15px;
  width: 100%;
  height: auto;
  object-fit: contain; /* Ajustez selon vos besoins: cover, contain, fill, etc. */
}
.CDV1 {
  grid-area: CDV1;
}

.CDV2 {
  grid-area: CDV2;
}

.ex1 {
  grid-area: ex1;
}

.ex2 {
  grid-area: ex2;
}

.ex3 {
  grid-area: ex3;
}

.bookOriginale {
  display: flex;
  max-height: 50vh; /* Ajustez la largeur de la grille selon vos besoins */
  max-width: 75vw;
  margin: auto;
  gap: 2%;
  justify-content: space-around;
  align-items: center;
}
.originaleImg img {
  border-radius: 15px;
  max-height: 40vh;
  width: 100%;
  margin: auto;
}
