@font-face
{
	font-family: 'PoliceDeTitre';
	src : url('../fonts/AlexBrush-Regular.ttf') format('truetype');	/* ce format est "compatible" sur tous les navigateurs, inutile donc de charger d'autres formats */
}

h1, h2 {font-family: PoliceDeTitre, verdana, times new roman, arial;}

h2
{
	font-size: 1.7em;
	color: #963F09;
	text-align: center;		
	padding : 0px;
	margin : 0px;
}

h3
{
	font-family: serif, arial;
	font-size: 1em;
	font-weight: normal;
}

a
{
	text-decoration: none;
	color: inherit;
}

p {margin-bottom: 5px;}

body
{
	background-color : #EEE;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 0px;
}

#enTete
{
	width: 100%;
	border: solid 2px #AAA;
	background: linear-gradient(#E6E6E6, #CCC);
	border-top: unset;
	border-radius: 0px 0px 12px 12px;
	z-index: 3;
}

h1
{
	font-size : 3.8em;
	color: #963F09;
	text-align: center;
	text-shadow: 0px 3px 3px rgb(135, 135, 135);	
	margin-bottom: 14px;
	margin-top: 20px;
}

nav
{
	box-sizing: border-box;
	width: 100%;
	margin-top : 4px;
	padding: 2px;

	border: solid 2px #AAA;
	border-radius: 10px;
	background: radial-gradient(rgb(220, 220, 220), rgb(200, 200, 200));

	display: flex;
	justify-content: space-around;
	z-index: 1;
}

nav a
{
	box-sizing: border-box;
	border-radius: 10px;
	margin: 0px 1px 0px 1px;
	flex : 1;
}
nav a:hover 
{
	background-color: #F1F1F1;
	color: #C1241F;
	box-shadow: 0px 0px 2px #777;
}
nav a:active {background-color: white;}

section{width: 100%;}

article
{
	text-align: justify;
	display: block;
	margin-top: 8px;
	margin-bottom: 6px;
	width: 100%;
}

#cadre
{
	width: 100%;
	border : solid 2px #AAA;
	border-radius: 20px;
	background-color: black;	
	position: relative;	
}

.couche
{
	width: 100%;
	height: 100%;

	position: absolute;
	top: 0px;
	left: 0px;

	display: flex;
	justify-content: center;
	align-items: center;
}

.photoInf, .photoSup
{
	max-height: 95%;
	width: auto;
	display: none;

	animation: AffichagePhoto 8s;
	-webkit-animation: AffichagePhoto 8s; 
	-moz-animation: AffichagePhoto 8s; 
}

#piedDePage
{
	width: 15%;
	min-width: 230px;
	margin-top: 0px;
	padding: 8px;
	text-align: center;

	border : solid 3px #AAA;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 140px;
	border-bottom-right-radius: 140px;
	box-shadow: 0px 0px 12px brown;
	background: radial-gradient(rgb(220, 220, 220), rgb(200, 200, 200));

	position: absolute;
	top: 104px;
	left: 42%;
	z-index: 2;
	
	animation: signatureAppear 4s 4s forwards;	
	-webkit-animation: signatureAppear 4s 4s forwards;
	-moz-animation: signatureAppear 4s 4s forwards;
}	

#piedDePage p
{
	margin-top: 4px;
	margin-bottom: 3px;
}

#signature
{
	font-family: PoliceDeTitre;
	font-size: 1.3em;
	color: #963F09;

	animation: ombreOrange 2s 1s alternate infinite;
	-webkit-animation: ombreOrange 2s 1s alternate infinite;
	-moz-animation: ombreOrange 2s 1s alternate infinite;
}

/* Animations diverses */
@keyframes ombreOrange
{
	from{text-shadow: none;}
	to{text-shadow: 0px 0px 15px #FFCB38;}
}

@-webkit-keyframes ombreOrange
{
	from{text-shadow: none;}
	to{text-shadow: 0px 0px 15px #FFCB38;}
}

@-moz-keyframes ombreOrange
{
	from{text-shadow: none;}
	to{text-shadow: 0px 0px 15px #FFCB38;}
}

@keyframes signatureAppear
{
	from
	{
		top: 104px;
		left: 42%;
	}
	to
	{
		top: 40px;
		left: 42%;
	}
}

@-webkit-keyframes signatureAppear
{
	from
	{
		top: 104px;
		left: 42%;
	}
	to
	{
		top: 40px;
		left: 42%;
	}
}

@-moz-keyframes signatureAppear
{
	from
	{
		top: 104px;
		left: 42%;
	}
	to
	{
		top: 40px;
		left: 42%;
	}
}

@keyframes AffichagePhoto
{
	0% {opacity: 0;}
	50% {opacity: 1;}
	100% {opacity: 0;}
}

@-webkit-keyframes AffichagePhoto
{
	0% {opacity: 0;}
	50% {opacity: 1;}
	100% {opacity: 0;}
}

@-moz-keyframes AffichagePhoto
{
	0% {opacity: 0;}
	50% {opacity: 1;}
	100% {opacity: 0;}
}

/* Media Queries pour le Responsive Design */
@media all and (max-width: 1280px)
{	
	
	h1 {font-size: 3em;}

	.photoInf, .photoSup
	{
		max-width: 100%;
		max-height: 100%;
	}

	#piedDePage
	{
		width: 40%;
		position: relative;
		top: 0px;
		left: 0%;

		padding: unset;
		margin: unset;
		margin-top: 6px;
		border-width: 2px;
		
		animation: unset;
		-webkit-animation: unset;
		-moz-animation: unset;
		
		z-index: 3;	
	}

	#piedDePage p {margin: 7px 2px 0px 0px;}
}

@media all and (max-width: 800px)
{	

	h1
	{
		margin-top: 8px;
		margin-bottom: 4px;
		font-size: 2.7em;
	}
	
	h2 {font-size: 1.5em;}

	h3
	{
		margin-top: 8px;
		margin-bottom: 8px;
	}

	article {margin-bottom: 4px;}

	.photoInf, .photoSup
	{
		max-width: 97%;
		max-height: 100%;
	}

	#piedDePage {margin-top: 6px;}
}

@media all and (max-width: 480px)
{
	body
	{
		width: 96%;
		margin: auto;
	}

	nav, #piedDePage
	{
		border-width: 1px;
		border-color: #666;
	}

	nav 
	{
		width: 100%;
		margin-top: 3px;
	}

	#enTete
	{
		width: 99%;
		position: initial;
		border-radius: 30px 30px 0px 0px;
		border-top: #AAA solid 1px;
		text-align: center;
		margin-top: 6px;	
		border: double #99381D;		
		box-shadow: 0px 0px 6px black;	
	}

	h1
	{
		font-size: 1.6em; 
		color: black;
		font-weight: normal;
		margin-top: 3px;
		margin-bottom: 0px;	
		padding: 0px;
		text-shadow: none;
	}

	h2
	{
		font-size: 1.4em;
	}

	nav, nav a {border-radius: 0px 0px 30px 30px;}

	nav a {margin: 4px 1px 2px 1px;}

	article
	{
		margin-top: 6px;
		margin-bottom: 4px;
	}

	#cadre {border-width: 1px;}

	#piedDePage
	{
		box-shadow: none;
		padding-bottom: 4px;
	}

	#piedDePage p {margin-top: 6px;}	
}

@media all and (max-width: 360px) {

	h1 {font-size: 1.9em;}

	h2 {font-size: 1.4em;}

	nav {box-sizing: border-box; padding: 2px;}
}

