
.logoMen{
  position: relative;
  width: 20%;
  left: 35%;
}
.book {
	transition: opacity 0.4s 0.2s;
	justify-content: center;
	text-align: center;
  width: 100%;
  }
  .book p{
	margin-top: 8vw;
	text-align: center;
	font-size: 5vw;
	color: #000000;
  }
  .page {
	width: 30vw;
	height: 44vw;
	background-color: #111111;
	float: left;
	margin-bottom: 0.5em;
	background: left top no-repeat;
	background-size: cover;
  }
  .page:nth-child(even) {
	clear: both;
  }
  .book {
	perspective: 250vw;
  }
  .book .pages {
	width: 60vw;
	height: 44vw;
	position: relative;
	transform-style: preserve-3d;
	backface-visibility: hidden;
	border-radius: 4px;
	/*box-shadow: 0 0 0 1px #e3dfd8;*/
  }
  .book .page {
	float: none;
	clear: none;
	margin: 0;
	position: absolute;
	top: 0;
	width: 30vw;
	height: 44vw;
	transform-origin: 0 0;
	transition: transform 1.4s;
	backface-visibility: hidden;
	transform-style: preserve-3d;
	cursor: pointer;
	user-select: none;
	background-color: #f0f0f0;
  }
  .book .page:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0);
	transition: background 0.7s;
	z-index: 2;
  }
  .book .page:nth-child(odd) {
	pointer-events: all;
	transform: rotateY(0deg);
	right: 0;
	border-radius: 0 4px 4px 0;
	background-image: linear-gradient(to right, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 10%);
  }
  .book .page:nth-child(odd):hover {
	transform: rotateY(-15deg);
  }
  .book .page:nth-child(odd):hover:before {
	background: rgba(0, 0, 0, 0.03);
  }
  .book .page:nth-child(odd):before {
	background: rgba(0, 0, 0, 0);
  }
  .book .page:nth-child(even) {
	pointer-events: none;
	transform: rotateY(180deg);
	transform-origin: 100% 0;
	left: 0;
	border-radius: 4px 0 0 4px;
	border-color: black;
	background-image: linear-gradient(to left, rgba(0,0,0,.12) 0%, rgba(0,0,0,0) 10%);
  }
  .book .page:nth-child(even):before {
	background: rgba(0, 0, 0, 0.2);
  }
  .book .page.grabbing {
	transition: none;
  }
  .book .page.flipped:nth-child(odd) {
	pointer-events: none;
	transform: rotateY(-180deg);
  }
  .book .page.flipped:nth-child(odd):before {
	background: rgba(0, 0, 0, 0.2);
  }
  .book .page.flipped:nth-child(even) {
	pointer-events: all;
	transform: rotateY(0deg);
  }
  .book .page.flipped:nth-child(even):hover {
	transform: rotateY(15deg);
  }
  .book .page.flipped:nth-child(even):hover:before {
	background: rgba(0, 0, 0, 0.03);
  }
  .book .page.flipped:nth-child(even):before {
	background: rgba(0, 0, 0, 0);
  }
  .book *,
  .book * :before,
  .book *:after {
	box-sizing: border-box;
  }
  .page:nth-child(odd){
	background-position: right top;
  }
  .maincover {
    width: 300px;
    height: 400px;
    margin: auto;
    background-image: url('../img/menucov.PNG') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 5px solid #8B4513;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

.menuecover1 {
  width: 300px;
  height: 400px;
  margin: auto;
  background-image: url('../img/menu/2.svg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.menuecover2 {
  width: 300px;
  height: 400px;
  margin: auto;
  background-image: url('../img/menu/3.svg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.menuecover3 {
  width: 300px;
  height: 400px;
  margin: auto;
  background-image: url('../img/menu/4.svg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.menuecover4 {
  width: 300px;
  height: 400px;
  margin: auto;
  background-image: url('../img/menu/5.svg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.maincoverEnd {
  width: 300px;
  height: 400px;
  margin: auto;
  background-image: url('../img/menu/6.svg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 5px solid #8B4513;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding: 20px;
}

/* Style général pour les pages paires */
.pagesPaire {
	padding: 30px;
	margin: 10px auto;
	border-radius: 15px;
	position: relative;
  }
  
  /* Style des titres */
.pagesPaire h2 {
	font-size: 2rem;
	margin: 20px 0;
	text-transform: uppercase;
	font-weight: bold;
  }
  
  /* Ligne décorative sous les titres */
.pagesPaire h2::after {
	content: "";
	display: block;
	margin: 10px auto;
	width: 50%;
	height: 2px;
	background-color: #FFD700;
  }
  
  /* Style des listes */
.pagesPaire ul {
	list-style-type: none;
	padding: 0;
	margin: 20px 0;
  }
  
.pagesPaire ul li {
	font-size: 0.5em;
	margin: 12px 0;
	display: flex;
	justify-content: space-between;
  }
  
  /* Style des coins décoratifs */
  .corner-decor {
	position: absolute;
	font-size: 2em;
	color: #005BB5; /* Bleu élégant */
  }
  
  .corner-decor.top-left {
	top: 10px;
	left: 10px;
  }
  
  .corner-decor.top-right {
	top: 10px;
	right: 10px;
  }
  
  .corner-decor.bottom-left {
	bottom: 10px;
	left: 10px;
  }
  
  .corner-decor.bottom-right {
	bottom: 10px;
	right: 10px;
  }
  
  /* Décoration entre les sections */
  .decor {
	margin: 10px auto;
	width: 60%;
	height: 1px;
	background-color: #FFD700;
  }
  
  .pagesPaire{
	background-color: #008F3D !important;
  }

  .pagesInpaire button{
  background-color: #005BB5;
  z-index: 3000;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  }

  .pagesInpaire ul li{
	z-index: 3000;
	position: fixed;
  }

  .rotate-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #005BB5; /* Bleu pour le bouton */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    z-index: 1000; /* Assurez-vous qu'il est au-dessus des autres éléments */
}

/* Changer la couleur au survol */
.rotate-button:hover {
    background-color: #00428d; /* Couleur plus sombre au survol */
}
.pagesInpaire{
  background-color: #cacaca !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .pagesInpaire h2 {
  font-size: 2rem;
  margin: 20px 0;
  text-transform: uppercase;
  font-weight: bold;
  }
  
  /* Ligne décorative sous les titres */
}


/* ================================================================================================================================== */
/* ================================================================================================================================== */
/* ================================================================================================================================== */
/* ================================================================================================================================== */

/* ===================== */
/* RESPONSIVE POUR TABLETTES */
/* ===================== */
@media (max-width: 1024px) {
  .logoMen {
    width: 30%;
    left: 35%;
  }

  .book p {
    font-size: 4vw;
    margin-top: 10vw;
  }

  .book .pages {
    width: 80vw;
    height: 60vw;
  }

  .book .page {
    width: 40vw;
    height: 60vw;
  }

  .maincover,
  .menuecover1,
  .menuecover2,
  .menuecover3,
  .menuecover4,
  .maincoverEnd {
    width: 250px;
    height: 350px;
  }

  .pagesPaire h2 {
    font-size: 1.5rem;
  }

  .pagesPaire ul li {
    font-size: 0.8em;
  }
}


/* ===================== */
/* RESPONSIVE POUR MOBILE */
/* ===================== */
@media (max-width: 768px) {
  .logoMen {
    width: 50%;
    left: 25%;
  }

  .book p {
    font-size: 6vw;
    margin-top: 12vw;
  }

  .book .pages {
    width: 90vw;
    height: 70vw;
  }

  .book .page {
    width: 45vw;
    height: 70vw;
  }

  .maincover,
  .menuecover1,
  .menuecover2,
  .menuecover3,
  .menuecover4,
  .maincoverEnd {
    width: 90%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .pagesPaire h2 {
    font-size: 1.2rem;
  }

  .pagesPaire ul li {
    font-size: 0.9em;
    flex-direction: column;
    align-items: flex-start;
  }

  .rotate-button {
    font-size: 14px;
    padding: 8px 16px;
  }
}
