nav {
  width: 100%;
  background-color: #353745;
  position: fixed;
  top: 0px;
  z-index: 10;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-top: auto;
  margin-bottom: auto;
}

nav ul li a {
  display: block;
  padding: 0 1em;
  color: #000 !important;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.menu {
  float: right;
  width: 25%;
  text-align: center;
  position: relative;
  font-family: Dancing Script;
  font-size: 22px;
}

#moncompte {
  float: right;
  width: 15%;
  text-align: center;
  position: relative;
  font-family: Dancing Script;
  font-size: 22px;
}

nav ul::after {
  display: table;
  clear: both;
}

nav a {
  display: block;
  text-decoration: none;
  color: white;
  padding-top: 20px;
  padding-bottom: 20px;
}

nav a:hover {
  color: #FFD700;
}

.sous_menu {
  display: none;
  position: absolute;
  width: 100%;
  z-index: 10;
  font-family: Dancing Script;
  font-size: 18px;
}

.sous_menu li {
  float: none;
  width: 100%;
  text-align: left;
}

.sous_menu a {
  background-color: #353745;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  line-height: 40px;
  width: 70%;
  box-shadow: 0px 10px 16px #000000;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.sous_menu a:hover {
  display: block;
  border-bottom: none;
  background-color: #2b2c38;
}

nav>ul li:hover .sous_menu {
  display: block;
}

#icone {
  width: auto;
  height: 70px;
}

#li_icone {
  width: 10%;
  float: left;
}

/* h1{
	width: 50%;
	text-align: center;
	margin: 0% 0% 50% 25%;
	position: absolute;
	font-family: Dancing Script;
	font-size: 80px;
	color: #353745;
	text-shadow: 3px 0 0 black, 0 3px 0 black, 0 -3px 0 black, -3px 0 0 black;
} */

h2 {
  font-family: Dancing Script;
  font-size: 80px;
}

#home_book {
  position: relative;
}

#title {
  position: relative;
  height: 300px;
}

#back {
  position: absolute;
  width: 100%;
}

#titletext {
  position: absolute;
  margin-top: 15%;
  z-index: 1;
}

#preview {
  width: 90%;
  margin-left: 5%;
  margin-top: 300px;
}

.preview_book {
  display: block;
  float: left;
  width: 27%;
  margin-left: 4%;
}

.cover {
  width: 98%;
  margin: 1%;
  display: inline-block;
}

#foot {
  background-color: #BCBCBC;
}

.rounded-25 {
  border-radius: 25px !important;
}

/* A propos */

@font-face {
  font-family: "Aurore";
  src: url("https://sae.skyhosting.fr/sae/webroot/fonts/LaBelleAurore-Regular.ttf");
}

body[page="apropos"] {
  margin: 0px;
}

#title_apropos {
  margin: 10%;
  font-family: Aurore;
  font-size: 32px;
  text-align: center;
}

#circles {
  width: 90%;
  margin: 1% 5% 0% 5%;
}

.checked{
	height: 3%;
	width: 3%;
	margin-top: 0.5%;
	margin-right: 10%;
	float: right;
	display: inline-block;
}

.proposliste_texte{
	margin-left: 10%;
}

#icones {
  margin-left: 10%;
  margin-top: 150px;
}

#proposliste {
  width: 70%;
  margin: 15%;
  font-size: 25px;
}

#propostexte {
  width: 70%;
  margin-left: 15%;
  margin-bottom: 5%;
  text-align: justify;
  font-size: 18px;
}

#pourquoi, #title_p{
	font-weight: bold;
	font-size: 30px;
	margin-left: 5%;
}

#text_container {
  text-align: center;
}


.circle_title {
  width: 30%;
  margin-left: 0.5%;
  display: inline-block;
}

.circle_text_title {
  font-size: 35px;
  font-weight: bold;
}

.circle_text {
  font-size: 25px;
}

footer {
  background-color: #43546B; 
  color: white; 
  padding: 2%; 
  margin-top: 2%;
}

/* Accueil */

.links{
	margin-left: 20px;
	font-family: Dancing Script;
	font-size: 60px;
}

main#carousel {
  grid-row: 1 / 2;
  grid-column: 1 / 8;
  width: 100vw;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 600px;
  --items: 5;
  --middle: 3;
  --position: 1;
  pointer-events: none;
}

div.item {
  position: absolute;
  width: 300px;
  height: 400px;
  background-color: none;
  --r: calc(var(--position) - var(--offset));
  --abs: max(calc(var(--r) * -1), var(--r));
  transition: all 0.25s linear;
  transform: rotateY(calc(-10deg * var(--r)))
    translateX(calc(-300px * var(--r)));
  z-index: calc((var(--position) - var(--abs)));
}

.coveracc{
	width: 300px;
	height: 400px;
}

div.item:nth-of-type(1) {
  --offset: 1;
  /*background-color: #90f1ef;*/
}
div.item:nth-of-type(2) {
  --offset: 2;
  /*background-color: #ff70a6;*/
}
div.item:nth-of-type(3) {
  --offset: 3;
  /*background-color: #ff9770;*/
}
div.item:nth-of-type(4) {
  --offset: 4;
  /*background-color: #ffd670;*/
}
div.item:nth-of-type(5) {
  --offset: 5;
  /*background-color: #e9ff70;*/
}

input:nth-of-type(1) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
input:nth-of-type(1):checked ~ main#carousel {
  --position: 1;
}

input:nth-of-type(2) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
input:nth-of-type(2):checked ~ main#carousel {
  --position: 2;
}

input:nth-of-type(3) {
  grid-column: 4 /5;
  grid-row: 2 / 3;
}
input:nth-of-type(3):checked ~ main#carousel {
  --position: 3;
}

input:nth-of-type(4) {
  grid-column: 5 / 6;
  grid-row: 2 / 3;
}
input:nth-of-type(4):checked ~ main#carousel {
  --position: 4;
}

input:nth-of-type(5) {
  grid-column: 6 / 7;
  grid-row: 2 / 3;
}
input:nth-of-type(5):checked ~ main#carousel {
  --position: 5;
}