@font-face {
    font-family: 'Commune_Nuit_Debout';
    src:    url('../polices/NuitDebout/Commune-Nuit_Debout_web.eot');
    src:    url('../polices/NuitDebout/Commune-Nuit_Debout_web.eot?#iefix') format('embedded-opentype'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.woff') format('woff'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.woff2') format('woff2'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.ttf') format('truetype'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.svg#svgFontName') format('svg');
    font-weight: normal;
}
@font-face {
    font-family: 'Commune_Nuit_Debout';
    src:    url('../polices/NuitDebout/Commune-Nuit_Debout_web.eot');
    src:    url('../polices/NuitDebout/Commune-Nuit_Debout_web.eot?#iefix') format('embedded-opentype'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.woff') format('woff'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.woff2') format('woff2'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.ttf') format('truetype'),
            url('../polices/NuitDebout/Commune-Nuit_Debout_web.svg#svgFontName') format('svg');
    font-weight: normal;
}

*{
	box-sizing: border-box;
}	

body{
	padding: 20px;
	font-family: "Palatino Linotype", serif;
	position: relative;
}
.editions::before{
	content: ' ';
  	display: block;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: url("../images/livres/mauvais-sang.jpg");
	background-size: 100%;
	background-repeat: repeat-y;
	z-index: -100;
	opacity: .25;
}

.main{
	max-width: 800px;
	margin: auto;
	display: flex;
	flex-direction: column;
}
header {
	visibility: hidden;
}
h2 {
	display:none;
}
h1 {
	font-family: "Calibri Light";
	font-size: 14px;
	font-weight: normal;
	text-align: center;
	padding: 50px 0px 25px 0px;
	margin-bottom: 20px;
	line-height: 20px;
}
h1.nuit-debout{
	font-family: 'Commune_Nuit_Debout';
	font-size:30px;
	color:#404245;
}
h1 cite{
	font-family: "Calibri Light";
	font-size: 20px;
}
strong{
	font-weight: normal;
}
em{
	font-style: normal;
}
cite{
	font-style: italic;
}

h1 a{
	color: black;
	text-decoration: none;
	padding-bottom: 10px;
	visibility: hidden;
}

.contenu{
	border-top-style: solid;
	border-width: 1px;
	padding-top: 30px;
	visibility: hidden;
}
	
.texte{
	text-align: justify;
	font-size: 14px;
	font-family: "Palatino Linotype", serif;
	line-height: 20px;
}
.texte.after{
	padding-top: 80px;
}
.texte a {
	color: black;
	text-decoration: none;
}

.citation{
	font-size: 14px;
	font-family: "Palatino Linotype", serif;
	line-height: 20px;
	font-style: italic;
	display: flex;
	flex-direction: column;	
	align-items: center;
	padding: 30px 15% 0px 15%;
}

.titre{
	font-weight: bold;
	font-style: normal;
	margin-bottom: 25px;
}

.blank{
	padding-bottom: 55px;
}

.flex-container{
	display: flex;
	justify-content: space-between;
	text-align: center;
	margin-top: 10vh;
	margin-bottom: 10vh;
}
.flex-container .box{
	width: 30%;
	aspect-ratio: 4 / 3;
	background-position: center;
    background-size: cover;
	opacity: .7;
}
.flex-container .box:hover{
	background-size: 105%;
	opacity: 1;
	transition: all .1s;
}
.flex-container .box:first-child{
	background-image: url("../images/livres/mauvais-sang-1.jpg");
}
.flex-container .box:nth-child(2){
	background-image: url("../images/livres/mauvais-sang-2.jpg");
}
.flex-container .box:nth-child(3){
	background-image: url("../images/livres/mauvais-sang-3.jpg");
}
.flex-container .box .box-title{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	font-family: 'Commune_Nuit_Debout';
	font-size: 7vh;
	text-transform: uppercase;
	text-shadow: 1px 1px 0px black;
	opacity: 0.6;
}
.flex-container .box .box-title:hover{
	cursor: pointer;
	text-shadow: 1px 2px 1px black;
	opacity: 0.9;
	transition: all .1s ease-out;
}
.flex-container .box a{
	text-decoration: none;
	color: white;
}

.lyon-container{
	display: flex;
	width: 100%;
	max-height: 50vh;
	justify-content: space-between;
}
.lyon-container .box{
	max-width: 25%;
}
.lyon-container .box img{
	width: 90%;
}
.puy-container img{
	width: 60%;
}
.poitiers-container{
	width: 100%;
}
.poitiers-container img{
	width: 100%;
}


#duo a{
	color: #9b0404;
}
#duo a:hover{
	color: black;
}
#recital a{
	color: #9b0404;
}
#recital a:hover{
	color: black;
}
#mathilde a{
	color: #9b0404;
}
#mathilde a:hover{
	color: black;
}
#patries-imaginaires a{
	color: #9b0404;
}
#patries-imaginaires a:hover{
	color: black;
}
#coralie a{
	color: #9b0404;
}
#coralie a:hover{
	color: black;
}
#coups-rage a{
	color: #9b0404;
}
#coups-rage a:hover{
	color: black;
}
video{
	width: 60%;
	padding-bottom:2rem;
}
/*traductions*/
#rp-jp, #rp-cl, #rp-poche, #rp-gf{
	width: 400px;
	padding-bottom: 30px;
}
#rp-jp img, #rp-cl img, #rp-poche img, #rp-gf img{
	width: 75%;
	margin-top: 20px;
}
#rp-jp a, #rp-cl a, #rp-poche a, #rp-gf a{
	text-decoration: none;
	color: black;
}
.affiche{
	position: relative;
}
.tof img{
	transition-property: transform box-shadow;
	transition-duration: 0.5s;
}
.tof img:hover{
	box-shadow: 8px 8px 16px #B7C1C4;
}
.survol{
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: 2s ease;
}
#rp-jp:hover .survol, #rp-cl:hover .survol, #rp-poche:hover .survol, #rp-gf:hover .survol{
	opacity: 1;
	z-index:1;
}
.description{
	line-height: 18px;
	font-size: 13px;
	text-decoration: none;
	text-align: left;
	padding-bottom: 30px;
}
.description.poche{
	padding-bottom: 0px;
	padding-top: 30px;
}
.description a{
	text-decoration: none;
	color:black;
}
.description a:hover{
	color:#9b0404;
}

.video{
	padding-top: 50px;
	position:relative;
	padding-bottom:56.25%;
	height:0;
	overflow:hidden;
}
 
.video iframe,
.video object,
.video embed{
padding-top: 40px;
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
border: none;
}

#tesis{
	padding-top:40px;
}
#prix{
	padding-top: 40px;
	padding-bottom: 60px;
}

nav{
	position: fixed;
	top:0;
	left:0;
	font-family: "Commune_Nuit_Debout";
	font-size:30px;
	z-index:0.9;
}
nav a{
	color:#404245;
	text-decoration:none;
	transition-delay: 2s;
}
nav ul{
	padding:0px;
	margin:20px;
}
nav li{
	list-style: none;
	margin:20px;
	opacity: 0;
}
.bouton{
	border-bottom:solid transparent 1px;
	display: inline;
	transition-duration:500ms;
}
.bouton:hover{
	border-bottom: solid black 1px;
	transition-delay: 100ms;
	transition-duration:500ms;
}

/* .editions{
	position: absolute;
	left: -20px;
	width: 100%;
	height: 800%;
	background-image: url("../images/livres/mauvais-sang.jpg");
	background-position: top;
	background-repeat: repeat-y;
	opacity: .2;
} */

.images-ecouter{
	display: inline-block;
	width: 60%;
}
.images-ecouter img{
	width: 100%;
}

/* Responsive */
@media screen and (max-width: 760px){
	.flex-container{
		flex-direction: column;
		justify-content: space-between;
		text-align: center;
		margin-top: 10vh;
		margin-bottom: 10vh;
	}
	.flex-container .box{
		width: 50%;
		margin: auto;
		margin-bottom: 40px;
	}
}
@media screen and (max-width: 660px){
	video{
		width: 80%;
	}
	.flex-container .box{
		width: 60%;
		margin-bottom: 40px;
	}
	.images-ecouter{
		width: 80%;
	}
	.puy-container img{
		width: 80%;
	}
}
@media screen and (max-width: 560px){
	video{
		width: 100%;
	}
	.flex-container .box{
		width: 70%;
		margin-bottom: 40px;
	}
	.images-ecouter{
		width: 100%;
	}
	.puy-container img{
		width: 100%;
	}
}
@media screen and (max-width: 440px){
	.citation{
	text-align: left;
	display: block;
	padding: 30px 7% 20px 7%;
	}
	.flex-container .box{
		width: 100%;
		margin-bottom: 40px;
	}
}