@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: 'elite';
    src:    url('../polices/Specialelite.ttf');
    src:    url('../polices/Specialelite.ttf') format('truetype'),
            url('../polices/Specialelite.woff') format('woff'),
            url('../polices/Specialelite.woff2') format('woff2');
    font-weight: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap');

.bodoni {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

*{
	box-sizing: border-box;
}	

body{
	padding: 20px;
	font-family: "Palatino Linotype", serif;
}

.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 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;
}

#container-couv{
	width: 100%;
	margin: auto;
	text-align: center;
}
#container-couv .codex-couv{
	width: 40vw;
	position: relative;
}
.couv{
	position: absolute;
	transition: transform 1300ms cubic-bezier(.09,.9,.41,.96);
	background-position: center;
	background-size: cover;
	width: 15vw;
	aspect-ratio: 5 / 7;
	left: 44%;
	transform: translateX(-55%);
	top: 60%;
}
#container-couv[data-state="on"] .pistes{
	background-image: url("../images/les-pistes.jpg");
	transform: translateX(-20vw);
}
#container-couv[data-state="on"] .carole{
	background-image: url("../images/livres/carole.jpg");
	transform: translate(0, 40%);
}
#container-couv[data-state="on"] .hannah{
	background-image: url("../images/hh-couv.jpg");
	transform: translateX(20vw);
}

.citation{
	text-align: justify;
	font-size: 14px;
	font-family: "Palatino Linotype", serif;
	line-height: 20px;
	padding-top: 5em;
	padding-bottom: 20px;
	padding-right: 15%;
	padding-left: 15%;
}
.typo{
	/* font-family: "elite"; */
	text-align: justify;
	font-size: 12px;
	line-height: 12px;
	padding-top: 3em;
	padding-bottom: 20px;
	padding-right: 30%;
	padding-left: 30%;
}

.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;
}



nav{
	position: fixed;
	top:0;
	left:0;
	font-family: "Commune_Nuit_Debout";
	font-size:30px;
	z-index:2;
}
nav a{
	color:#404245;
	text-decoration:none;
	transition-delay: 2s;
	background-color:white;
}
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;
}

/* Responsive */
@media (hover: none) {
  /* when hover is supported */
  .couv{
	transform: scale(0)!important;
	}
}

@media (max-aspect-ratio: 3/8) {
  .couv{
	top: 38%;
	}
}
@media (min-aspect-ratio: 3/8) {
  .couv{
	top: 38%;
	}
}
@media (min-aspect-ratio: 4/8) {
  .couv{
	top: 42%;
	}
}
@media (min-aspect-ratio: 5/8) {
  .couv{
	top: 43%;
	}
}
@media (min-aspect-ratio: 6/8) {
  .couv{
	top: 45%;
	}
}
@media (min-aspect-ratio: 7/8) {
  .couv{
	top: 46%;
	}
}
@media (min-aspect-ratio: 8/8) {
  .couv{
	top: 46%;
	}
}
@media (min-aspect-ratio: 8/7) {
  .couv{
	top: 50%;
	}
}
@media (min-aspect-ratio: 8/6) {
  .couv{
	top: 53%;
	}
}
@media (min-aspect-ratio: 8/5) {
  .couv{
	top: 56%;
	}
}
@media (min-aspect-ratio: 8/4) {
  .couv{
	top: 62%;
	}
}
@media (min-aspect-ratio: 8/3) {
  .couv{
	top: 68%;
	}
}
@media (min-aspect-ratio: 8/2) {
  .couv{
	top: 72%;
	}
}
@media (min-aspect-ratio: 8/1) {
  .couv{
	top: 80%;
	}
}


@media screen and (max-width: 500px){
	.citation{
	text-align: left;
	padding: 4em 7% 20px 7%;
	}
	.typo{
	padding-right: 10%;
	padding-left: 10%;
}
}