body, html{
	margin:0;
	padding:0;
	position: absolute;
	display:flex;
	flex-direction:column;
	justify-content: flex-start;
	scroll-behavior: smooth;
	width: 100%;
	height: 100%;
  	background: white;
  	color: black;
  	font-family:serif;
}

header{
	width: 100%;
	background: white;
	position: relative;
}

nav{
	margin: auto;
	width: 55%;
	font-size: 1.5em;
}

.nav{
	margin: auto;
	padding: 0;
	display: flex;
	justify-content: space-around;
	list-style: none;
	width: 100%;
}

.nav_button{
	color: rgb(196,38,2);
	text-decoration: none;
}

.select{
	font-weight: bold;
}

.underline{
	margin: auto;
	background-color: rgb(196,38,2);
	height: 1px;
	width: 0;
}

.nav_button:hover .underline{
	transition-duration: 0.5s;
	width: 80%;
}
.banniere{
	width: 100%;
	display: flex;
	justify-content: flex-end;
	position: relative;
}
.logo{
	position: absolute;
	max-width: 50%;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
}
.maf{
	max-width: 20%;
}

.body{
	width: 70%;
	margin:1% auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
#page_up{
	position: fixed;
	right: 2%;
	bottom: 1%;
	width: 60px;
	height: 60px;
	background: rgb(196,38,2);
	border-radius: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}

#page_up.invisible{
	opacity: 0;
	transition:all ease-in 0.5s;
}
#page_up.visible{
	opacity:1;
	transition:all ease-in 0.5s;
}
#up{
	position: absolute;
	top: 0;
	left: 0;
}

.arrow{
	margin: auto;
	background-color: white;
	width: 25px;
	height: 5px;
	border-radius:5px;
	position: absolute;
}

.l{
	transform: rotate(-45deg);
	left: 10px;
	transition-duration: 0.5s; 
}

.r{
	transform: rotate(45deg);
	right: 10px;
	transition-duration: 0.5s; 
}

#page_up.visible:hover .l{
	transform: rotate(-60deg);
	left: 12px;
}
#page_up.visible:hover .r{
	transform: rotate(60deg);
	right: 12px;
}
#book{
 display:none; 
}

.book{
	position: absolute;
	background: rgb(196,38,2);
	top:40%;
	border-radius: 0 5% 5% 0;
	height: 130px;
	width: 70px;
	display: flex;
	align-items: center;
	padding: 10px;

}

.book a{
	color: white;
	text-decoration: none;
	text-align: center;
}

.book a:hover{
	text-decoration: underline;
	}

@media all and (max-width: 1024px){
  
  #book{
 display:block; 
}
  	.book{
      display:none;
  }
  
	header{
		position: fixed;
		z-index: 1;
	}
	.nav{
		display: none;
	}
	.logo{
		width: 55%;
		margin: auto;
	}
  	.maf{
      	max-height:17vw;
  	}
	.body{
		width: 90%;
		position: relative;
		margin: 14.8vw auto;
	}
	#page_up{
		display: none;
	}
	.hamburger{
		width:60px;
		height:60px;
		position: fixed;
		top: 2.5%;
		left: 5%;
		cursor: pointer;
		display: flex;
		align-items: center;
		z-index: 2;
		transition-duration: 0.5s
	}
	.hamburger_style,.hamburger_style:before,.hamburger_style:after{
		content: "";
		display: block;
		width: 100%;
		height: 5px;
		border-radius: 5px;
		background:rgb(196,38,2);
		position: relative; 
	}
	.hamburger_style:before{top:20px;}
	.hamburger_style:after{top:-25px;}

	.navclose{
		height: 100%;
		width: 100%;
		background: rgba(196,38,2,0.8);
		position: fixed;
		margin: 0;
		top: 0;
		left:0;
		padding: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-left: -110%;
		transition-duration: 0.3s
	}
	.navopen{
		margin-left:0;
	}
	.ouvert{
		transform: rotate(90deg);
	}
	.burgeropen,.burgeropen.hamburger_style:before,.burgeropen.hamburger_style:after{
		background:white;
	}

	.navopen .nav_button{
		color: white;
	}
	.navopen li{
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 3%;
	}
	.navopen a{
		padding: 1%;
	}
	.nav_button{
		width: 100%;
		font-size: 3em;
		font-family: sans-serif;
		font-weight: normal;
		text-align: center;
	}
	.select{
		background: rgba(196,38,2,0.9);
	}
	
}