@font-face 
    {
    font-family: 'calamusdbonniniregular';
    src: url('../polices/calamusdbonnini-regular-webfont.eot');
    src: url('../polices/calamusdbonnini-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../polices/calamusdbonnini-regular-webfont.woff2') format('woff2'),
         url('../polices/calamusdbonnini-regular-webfont.woff') format('woff'),
         url('../polices/calamusdbonnini-regular-webfont.svg#calamusdbonniniregular') format('svg');
    font-weight: normal;
    font-style: normal;
    }

html
   	{
	   scroll-behavior: smooth;
   	}

header
	{
	position: absolute;
	top: 0%;
	width: 92%;
	margin: auto;
	line-height: 6%;
	text-align: center;
	}

header h1
	{
	color: white;
	font-size: 3.7em;
	font-family: "calamusdbonniniregular",Arial,serif;
	font-weight: bold;
	text-align: center;
	text-shadow: 5px 5px 5px #242A44;
	}

		/* en-dessous de 1020 px de large, le header n'est plus lisible ou chevauche : on réduit la taille de police selon la largeur dispo */

		@media (max-width: 1020px)
	       
		{

		header h1
			{
			font-size: 3.2em;
			}

		}

		@media (max-width: 860px)
	       
		{

		header h1
			{
			font-size: 2.8em;
			}

		}

		@media (max-width: 710px)
	       
		{

		header
			{
			line-height: 40px;
			}

		header h1
			{
			font-size: 2.2em;
			}

		}

		@media (max-width: 364px)
	       
		{

		header
			{
			line-height: 55px;
			}

		header h1
			{
			font-size: 1.8em;
			}

		}

header a
	{
	color: white;
	text-decoration: none;
	transition: color 0.6s;
	}

header a:hover
	{
	color: #497AFC;
	}

.langue
	{
	position: relative;
	margin: 0 0 0 80%;
	}
	
		@media (max-width: 466px)
	       
		{	
        .langue
	        {
	        margin: 0 0 0 78%;
	        }
	    }
	    	
		@media (max-width: 386px)
	       
		{	
        .langue
	        {
	        margin: 0 0 0 75%;
	        }
	    }
	    
ul.choix
	{
	list-style: none;
	}

li.choix
	{
	display: inline-block;
	line-height: 1em;
	background-color: rgba(255,209,142,0.5);
	border: 3px #FCAF3E outset;
	border-radius: 9px;
	margin: 5px 10px 5px 10px;
	padding: 4px 6px 4px 6px;
	font-family: 'DINNextLTPro',serif;
	color: black;
	font-size: 1em;
	}
	
		@media (max-width: 830px)
	       
		{	

		li.choix
			{
			line-height: 0.8em;
			border: 2px #FCAF3E outset;
			border-radius: 6px;
			margin: 3px 7px 3px 7px;
			padding: 2px 3px 2px 3px;
			font-size: 0.8em;
			}
		}

ul.choix a
	{	
	text-decoration: none;
	}

li.choix:hover
	{
	background-color: rgba(30,63,109,0.8);
	border: 3px white outset;
	color: white;
	transition: 0.5s;
	}

body
     	{
     	width:  100%  !important;
     	max-width:  100%  !important;
     	margin: auto;
	background: white url(../images/graduel.jpg) no-repeat fixed;
	background-size: cover;
    	}

		/* cas particulier des smartphones tenus verticaux : on change l'image de fond */

		@media (max-width: 451px)
	       
		{

		body
		     	{
			background: white url(../images/graduel.jpg) no-repeat fixed;
			background-size: cover;
			}
		}

nav
	{
	position: fixed;
	right: 5px;
	width: 20%;
	height: 77%;
	padding: 8px 8px 8px 8px;
	}

nav ul.menu
	{
	display: block;
	list-style: none;
	color: white;
	font-size: x-large;
	font-family: "calamusdbonniniregular",Arial,serif;
	font-weight: bold;
	text-align: left;
	border: none;
	}

nav li.menu
	{
	display: block;
	border: 3px white outset;
	border-radius: 10px;
	padding: 5px 5px 9px 9px;
	margin-top: 15px;
	margin-bottom: 15px;
	background-color: rgba(255,0,0,0.5);
	transition: color 0.8s;
	}
	
nav li.picto-grand, li.picto-petit
	{
	display: none;
	border: 3px white outset;
	border-radius: 25px;
	padding: 3px 3px 3px 3px;
	margin-top: 15px;
	margin-bottom: 15px;
	background-color: rgba(255,0,0,0.5);
	transition: color 0.8s;
	}

nav li.picto-petit
	{
	display: none;
	border: 3px white solid;
	border-radius: 28px;
	}	

		/* cas particulier des smartphones tenus verticaux : le bloc nav passe au centre et on réduit les polices */

		@media (max-width: 1051px)
	       
		{

		nav
			{
			top: 65px;
			width: 20%;
			z-index: 10;
			padding: 4px 4px 4px 4px;
			}

		nav ul.menu
			{
			font-size: 1.2em;
			text-align: center;
			}

		nav li.menu
			{
			border: 2px white outset;
			padding: 3px 3px 6px 6px;
			margin-top: 10px;
			margin-bottom: 10px;
			}
		}

		@media (max-width: 851px)
	       
		{

		nav
			{
			z-index: 10;
			right: 1%;
			width: 168px;
			height: 77%;
			padding: 8px 8px 8px 8px;
			}

		nav ul.menu
			{
			font-size: 1em;
			text-align: center;
			}

		nav li.menu
			{
			border: 2px white outset;
			padding: 2px 2px 4px 4px;
			margin-top: 5px;
			margin-bottom: 5px;
			}

		}

		@media (max-width: 670px)
	       
		{
	
		nav
			{
			top: 120px;
			width: 96px;
			}

		nav li.picto-petit	
			{
			display: block;
			}	

		nav li.menu, nav li.menu-deroulant, nav li.menu-developpe
			{
			display: none;
			}
		}		

		/* cas particulier des écrans de moins de 450 px de haut: diminution des polices */

		@media (max-height: 450px)
	       
		{
		nav
			{
			position: fixed;
			top: 15%;
			right: 2%;
			width: 20%;
			padding: 4px 4px 4px 4px;
			}

		nav ul.menu
			{
			font-size: 1.2em;
			text-align: left;
			}

		nav li.menu
			{
			border: 2px white outset;
			padding: 3px 3px 6px 6px;
			margin-top: 10px;
			margin-bottom: 10px;
			}

		}

nav a
	{
	text-decoration: none;
	color: white
	}

nav a:hover
	{
	color: black;
	}

li.menu:hover
	{
	background-color: rgba(255,180,180,0.5);
	}
	
section
	{
	position: relative;
	margin: 30px 23% auto auto;
	width: 62%;
	}	

section p
	{
	color: black;
	background-color: rgba(255,255,252,0.6);
	border-radius: 15px;
	text-align: center;
	font-family: "calamusdbonniniregular",serif;
	font-size: 2em;
	letter-spacing: 1px;
	word-spacing: 2px;
	margin: 12px 12px 12px 12px;
	padding: 6px 6px 6px 6px;
	}

section a
	{
	color: #3983F8;
	transition: color 0.7s font-weight 0.7s;
	text-decoration: none;
	}

section a:hover
	{
	color: #CA0A0F;
	text-decoration: underline;
	}

article
	{
	position: relative;
	left: 10%;
	width: 70%;
	}

article a
	{
	color: white;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
	letter-spacing: 1px;
	word-spacing: 2px;
	}

article a:hover
	{
	color: #CA0A0F;
	text-decoration: underline;
	}

div.disque
	{
	position: relative;
	display: inline-block;
	width: 270px;
	left: 10%;
	}

img.image_CD
	{
	margin: 12px 12px 12px 8px;
	border-radius: 10px;
	box-shadow: 5px 5px 12px #242A44;
	}

p.legende
	{
	width: 240px;
	height: 62px;
	color: #6C2904;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	font-family: "calamusdbonniniregular",Arial,serif;
	font-size: x-large;
	font-weight: bold;
	border: 2px maroon solid;
	border-radius: 10px;
	box-shadow: 5px 5px 6px #242A44;
	background-color: rgba(255,255,252,0.6);
	padding: 3px 3px 3px 3px;
	}

p.espace
	{
	width: 240px;
	height: 6px;
	border: none;
	margin: 0 0 0 0;
	}

figure
	{
	display: inline-block;
	color: white;
	text-align: center;
	font-family: serif;
	font-size: 0.9em;
	border-radius: 5px;
	background-color: rgba(79,69,63,0.7);
	margin: 4px 4px 4px 4px;
	padding: 3px 3px 3px 3px;
	word-spacing: 3px;
	letter-spacing: 1px;
	}

audio
	{
	width: 240px;
	margin-left: 1px;
	}

p.liens
	{
	display: block;
	width: 240px;
	text-align: center;
	font-family: "calamusdbonniniregular",Arial,serif;
	border: 2px black solid;
	border-radius: 10px;
	box-shadow: 5px 5px 6px #242A44;
	background-color: rgba(79,69,63,0.7);
	margin: 4px 4px 4px 4px;
	padding: 3px 3px 3px 3px;
	}

p.liens:hover
	{
	background-color: rgba(232,197,76,0.7);
	}
	
		/* cas particulier des écrans étroits : élargissement du bloc section, et on réduit les polices */

		@media (max-width: 811px)
	       
		{
		section
			{
			width: 82%;
			margin: 30px 33% auto auto;
			}

		section p
			{
			font-size: 1em;
			box-shadow: 3px 3px 4px #242A44;
			margin: 6px 6px 6px 6px;
			padding: 3px 3px 3px 3px;
			}
	
		article
			{
			left: 5%;
			width: 80%;
			}
		}

		/* cas particulier des smartphones tenus verticaux : élargissement du bloc section, et on réduit les polices */

		@media (max-width: 451px)
	       
		{
		section
			{
			left: 1%;
			width: 80%;
			margin-top: 60px;
			}

		section p
			{
			font-size: 1em;
			box-shadow: 3px 3px 4px #242A44;
			margin: 5px 5px 5px 5px;
			padding: 2px 2px 2px 2px;
			}

		article
			{
			left: 10%;
			width: 80%;
			}
		}

		/* cas particulier des écrans de moins de 450 px de haut : bloc section moins large que pour les écrans étroits */

		@media (max-height: 450px)
	       
		{
		section
			{
			left: 12%;
			width: 60%;
			margin: 30px 33% auto auto;
			}

		section p
			{
			font-size: 1em;
			box-shadow: 3px 3px 4px #242A44;
			margin: 6px 6px 6px 6px;
			padding: 3px 3px 3px 3px;
			}
		}

footer
	{
	position: fixed;
	width: 18%;
	height: 10%;
	bottom: 6px;
	right: 5px;
	}

footer p.mentions
	{
	display: inline-block;
	border: 1px grey inset;
	border-radius: 10px;
	padding: 5px 7px 5px 7px;
	margin-left: 6px;
	color: white;
	font-size: 0.8em;
	font-family: serif;
	text-align: center;
	background-color: rgba(0,0,0,0.5);
	}
		/* cas particulier des écrans étroits : le footer passe au centre et on réduit les polices */

		@media (max-width: 811px)
	       
		{

		footer
			{
			position: relative;
			width: 88%;
			margin: auto;
			}

		footer p.mentions
			{
			padding: 3px 5px 3px 5px;
			margin-left: 4px;
			font-size: 0.6em;
			}

		}

footer a
	{
	color: white;
	font-weight: normal;
	transition: color 0.8s, font-weight 1s;
	}

footer a:hover
	{
	font-weight: bold;
	color: #497AFC;
	}

#topp
	{
	position: fixed;
	left: 10px;
	top: 40%;
	width: 35px;
	height: 35px;
	border: 3px solid grey;
	border-radius: 20px;
	background-color: rgba(255,255,255,0.9);
	opacity: 0.7;
	transition: 0.5s;
	}

#topp:hover
	{
	border: 3px solid white;
	opacity: 1;
	}
		

