@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;
    }

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 500;
    font-style: bold;
    src: url("../polices/DINNextLTPro-Bold.woff") format('woff'); 
}

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 400;
    font-style: normal;
    src: url("../polices/DINNextLTPro-Regular.woff") format('woff');     
}

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 400;
    font-style: italic;
    src: url("../polices/DINNextLTPro-Italic.woff") format('woff');     
}

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 300;
    font-style: normal;
    src: url("../polices/DINNextLTPro-Light.woff") format('woff');     
}

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 300;
    font-style: italic;
    src: url("../polices/DINNextLTPro-LightItalic.woff") format('woff');     
}

@font-face {
    font-family: 'AvenirNextRoundedPro';
    font-weight: 200;
    font-style: normal;
    src: local('AvenirNextRoundedPro'), url("../polices/AvenirNextLTPro-UltLt.woff") format('woff');     
}

@font-face {
    font-family: 'AvenirNextRoundedPro';
    font-weight: 200;
    font-style: italic;
    src: local('AvenirNextRoundedPro'), url("../polices/AvenirNextLTPro-UltLtIt.woff") format('woff');     
}

@font-face {
    font-family: 'AvenirNextRoundedPro';
    font-weight: 400;
    font-style: normal;
    src: local('AvenirNextRoundedPro'), url("../polices/AvenirNextRoundedProRegular.woff") format('woff');     
}

@font-face {
    font-family: 'AvenirNextRoundedPro';
    font-weight: 400;
    font-style: italic;
    src: local('AvenirNextRoundedPro'), url("../polices/AvenirNextRoundedProRegularIt.woff") format('woff');     
}

html
   	{
	   scroll-behavior: smooth;
   	}

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

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

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

		@media (max-width: 861px)
	       
		{

		header h1
			{
			font-size: 2.8em;
			}

		}

		@media (max-width: 710px)
	       
		{

		header
			{
			line-height: 40px;
			}

		header h1
			{
			font-size: 2.4em;
			}

		}

		@media (max-width: 354px)
	       
		{

		header
			{
			line-height: 55px;
			}

		header h1
			{
			font-size: 2.1em;
			}

		}
	
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 0px 6px;
	font-family: 'DINNextLTPro',serif;
	color: black;
	font-size: 1em;
	}

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.gregorien
	{
	width:  100%  !important;
     	max-width:  100%  !important;
     	margin: auto;
	background: #8E4500 url(../images/fond-gregorien.png) fixed;
	background-size: cover;
	background-blend-mode: multiply;
    	}

nav
	{
	position: fixed;
	z-index: 10;
	right: 2%;
	width: 118px;
	height: 77%;
	padding: 8px 8px 8px 8px;
	}

nav ul.menu
	{
	display: block;
	list-style: none;
	color: white;
	border: none;
	}

nav li.menu-grand, li.menu-petit
	{
	display: block;
	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.menu-petit
	{
	display: none;
	border: 3px white solid;
	border-radius: 28px;
	}
		/* cas particulier des smartphones: réduction de taille de pictogramme */

		@media (max-width: 450px)
	       
		{
		nav
			{
			width: 96px;
			}
			
		nav li.menu-petit	
			{
			display: block;
			}	

		nav li.menu-grand	
			{
			display: none;
			}
		}
	
		@media (max-height: 450px)
	       
		{
		nav
			{
			width: 96px;
			}
			
		nav li.menu-petit	
			{
			display: block;
			}	

		nav li.menu-grand	
			{
			display: none;
			}
		}

section
	{
	position: absolute;
	top: 30%;
	left: 1%;
	width: 88%;
	background-color: rgba(6,5,2,0.4);
	border-radius: 20px;
	padding: 1% 1% 1% 1%;
	color: white;
	font-size: 1.4em;
	font-family: "DINNextLTPro",serif;
	word-spacing: 3px;
	letter-spacing: 1px;
	font-weight: 300;
	text-align: left;
	}

		/* écrans étroits : le bloc section passe en pleine largeur et au centre */

		@media (max-width: 751px)
	       
		{

		section
			{
			width: 80%;
			margin: auto;
			font-size: large;
			}
		}

section h1
	{
	font-family: "calamusdbonniniregular",serif;
	font-size: 1.9em;
	font-weight: bold;
	color: #E8AF1B;
	text-align: center;
	}

section h2
	{
	font-family: "calamusdbonniniregular",serif;
	font-size: 1.6em;
	font-weight: bold;
	color: #E8AF1B;
	text-indent: 10%;
	}

section a
	{
	color: #7DD3FC;
	}

section a:hover
	{
	color: #497AFC;
	font-weight: bold;
	transition: color 0.8s, font-weight 0.8s;
	}


		/* en-dessous de 500 px de largeur, réduction de police */

		@media (max-width: 501px)
	       
		{
	
		section h3
			{
			font-size: 1.5em;
			}
		}

		/* en-dessous de 451 px de largeur, on affiche encore plus bas la section */

		@media (max-width: 451px)
	       
		{
	
		section
			{
			top: 40%;
			}
		}

		/* en-dessous de 460px de haut, il faut aussi afficher plus bas la section*/
		
		@media (max-height: 460px) 
		
		{

		section
			{
			top: 40%;
			}
		}

		

section p.intro:first-letter,p.historique:first-letter,p.methode:first-letter
	{
	font-family: "calamusdbonniniregular",serif;
	display: block;
	float: left;
	margin-right: 1%;
	font-size: 3em;
	}
		
section p.citation
	{
	font-family: 'AvenirNextRoundedPro';
	width: 60%;
	margin: auto;
	font-weight: 400;
	font-size: 0.9em;
	text-align: left;
	text-indent: 3%;
	background-color: rgba(25,20,13,0.7);
	border-radius: 16px;
	box-shadow: 0px 0px 9px 9px rgba(25,20,13,0.6);
	padding: 5px 5px 5px 5px;
	}

.reference
	{
	font-family: 'AvenirNextRoundedPro';
	width: 60%;
	text-align: center;
	font-weight: 200;
	font-size: 1em;
	text-align: right;
	}

section ul
	{
	font-family: "DINNextLTPro";
	width: 60%;
	margin: auto;
	text-align: left;
	font-weight: 300;
	font-size: 1em;
	text-indent: 2%;
	}

section li
	{
	margin: 10px 0 10px 0;;
	}

aside
	{
	position: relative;
	width: 80%;
	margin-top: 4%;
	z-index: 10;
	}

aside ul.navigation
	{
	list-style: none;
	color: white;
	font-size: 1.8em;
	font-weight: bold;
	font-family: "calamusdbonniniregular",serif;
	word-spacing: 3px;
	text-align: center;
	}

aside li.sommaire
	{
	display: inline-block;
	border: 3px white outset;
	border-radius: 8px;
	padding: 6px 10px 6px 10px;
	margin: 0 4% 0 4%;
	background-color: rgba(73,122,252,0.7);
	transition: color 0.8s;i
	}

		/* cas particulier des smartphones : réduction de police, etc. */

		@media (max-width: 1051px) 
		
		{
		
		aside
			{
			position: relative;
			width: 80%;
			}

		aside ul.navigation
			{
			font-size: 1.2em;
			text-align: center;
			}

		aside li.sommaire
			{
			border: 2px white outset;
			padding: 4px 6px 4px 6px;
			margin: 6px 6px 6px 6px;
			}

		}

		@media (max-width: 751px) 
		
		{
		
		aside
			{
			position: relative;
			width: 80%;
			}

		aside ul.navigation
			{
			font-size: 1.2em;
			text-align: center;
			}

		aside li.sommaire
			{
			border: 2px white outset;
			padding: 4px 6px 4px 6px;
			margin: 6px 6px 6px 6px;
			}

		}

		/* en-dessous de 460px de haut, il faut remonter le menu, sinon il chevauche la section avec le texte*/
		
		@media (max-height: 460px) 
		
		{
		
		aside
			{
			margin-top: 0;
			}

		}
	
aside a
	{
	color: white;
	text-decoration: none;
	transition: color 0.8s;
	}

aside a:hover
	{
	color: black;
	transition: color 0.8s;
	}

li.sommaire:hover
	{
	background-color: rgba(255,180,180,0.9);
	}

footer
	{
	position: fixed;
	width: 22%;
	height: 10%;
	bottom: 0;
	right: 1%;
	}
		/* écrans étroits : le footer est centré */

		@media (max-width: 1051px)
	       
		{
		
		footer
			{
			width: 40%;
			}

		}

		/* écrans très étroits : le footer est supprimé  */

		@media (max-width: 751px)
	       
		{

		footer
			{
			display: none;
			}

		}

		/* cas particulier des écrans de moins de 450 px de haut: le footer est centré */

		@media (max-height: 450px)
	       
		{
	
		footer
			{
			display: none;
			}
		}

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

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

footer p.mentions
	{
	display: inline-block;
	border: 1px grey inset;
	border-radius: 10px;
	padding: 5px 5px 7px 7px;
	margin-left: 6px;
	color: white;
	font-size: 0.8em;
	text-align: center;
	background-color: rgba(0,0,0,0.8);
	}

