@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, h3, .sousTitre {font-family: PoliceDeTitre, verdana, times new roman, arial ;}

h1
{
	text-align: center;
	font-size : 3.3em;
	color : #99381D;
	text-shadow: 4px 5px 4px rgb(126, 126, 126);
	margin-top: 10px;
	margin-bottom: 10px;
}

h2
{
	font-size: 1.7em;
	color : #99381D;
	text-align: center;
	padding : 0px;
	margin : 0px;
}

a
{
	text-decoration: none;
	color: inherit;
}

body
{
	width: 99%;
	margin: auto;
	margin-top: 0px;

	background: url('../img/Biographie/background.jpg') no-repeat fixed center ;
	background-size: cover;

	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

#enTete, nav {border: solid 2px #888;}

#enTete
{
	width: 100%;
	border-radius: 0px 0px 180px 180px;
	border-top: none;
	padding-bottom: 8px;
	text-align: center;
	background: radial-gradient(rgb(220, 220, 220), rgb(200, 200, 200));

	z-index: 3;
}

.sousTitre
{
	padding : 3px 15px 0px 15px;
	font-size: 1.6em;
	border : double #99381D;
	border-radius : 30px/20px;
	box-shadow: 0px 0px 8px #333;

	position: relative;
	top: -5px;
}

nav
{
	box-sizing: border-box;
	width: 83%;
	border-radius: 15px;
	margin-top: 4px;
	padding: 2px;
	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: 15px;
	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;}

#biographie article, #biographie aside, #piedDePage {border: solid 2px #888;}

section
{
	width: 100%;
	height: 60%;
	margin-top: 6px;

	display: flex;
	justify-content: space-between;
}

#biographie article
{
	width: 55%;
	background-color: rgba(220, 220, 220, 0.9);
	margin-right: 6px;
	border-radius: 15px;
	padding: 6px;
	text-align: justify;
	overflow: auto;
}

#biographie aside
{
	width: 45%;
	border-radius: 15px;
	background-color: rgba(220, 220, 220, 0.9);
	overflow: hidden;

	position: relative;
}

.couche
{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;

	display: flex;
	justify-content: center;
	align-items: center;
}

.photoInf, .photoSup
{
	height: 80%;
	max-width: 97%;
	width: auto;
	display: none;									/* valeur par défaut servant l'animation */

	animation: AffichagePhoto 8s;
	-webkit-animation: AffichagePhoto 8s;
	-moz-animation: AffichagePhoto 8s;
}

#piedDePage
{
	width: 15%;
	margin-top: 10px;
	padding: 8px;
	text-align: center;

	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 140px;
	border-bottom-right-radius: 140px;
	background: radial-gradient(rgb(220, 220, 220), rgb(200, 200, 200));
	box-shadow: 0px 0px 12px brown;

	position: absolute;
	top: 115px;
	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: #99381D;

	animation: ombreOrange 2s 1s alternate infinite;
	-webkit-animation: ombreOrange 2s 1s alternate infinite;
	-moz-animation: ombreOrange 2s 1s alternate infinite;
}

/* Animations diverses */
@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;}
}

@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: 115px;}
	to{top: 40px;}
}

@-webkit-keyframes signatureAppear
{
	from{top: 115px;}
	to{top: 40px;}
}

@-moz-keyframes signatureAppear
{
	from{top: 115px;}
	to{top: 40px;}
}

/* Media Queries pour le responsive Design */

@media all and (max-width: 1024px)
{
	body
	{
		width: 98%;
		height: unset;
	}

	h1 {font-size: 2.5em;}

	h2 { margin: 4px 0px 2px 0px; }

	.sousTitre
	{
		font-size: 1.6em;
		text-shadow: none;
		margin-top: 4px;
	}


	#enTete, nav, #biographie article, #biographie aside, #piedDePage {border-width: 1px;}
	nav, #biographie article, #biographie aside{margin-top: 3px;}

	section
	{
		all: initial;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		width: 100%;
		box-sizing: border-box;
	}

	#biographie article, #biographie aside
	{
		box-sizing: border-box;
		width: 100%;
		height: 49%;
	}

	#biographie article
	{
		padding: 8px;
		border-radius: 25px 25px 4px 4px;
		border-right: inherit;
	}
	#biographie article p
	{
		margin-bottom: 10px;
		margin-top: 6px;
	}

	#biographie aside
	{
		height: 50%;
		border-radius: 4px 4px 25px 25px;
		border-left: inherit;
	}

	.photoInf, .photoSup { height: 98%;	}

	#piedDePage
	{
		position: initial;
		box-shadow: unset;
		width: 35%;
		min-width: 300px;
		margin-top: 1px;
		padding: 10px 4px 7px 4px;
		text-align: center;

		border-radius: 0px 0px 50px 50px;
		background: radial-gradient(rgb(220, 220, 220), rgb(200, 200, 200));
	}
}

@media all and (max-width: 640px)
{
	#enTete, nav, #piedDePage {border-color: #888;border-width: 2px;}

	#enTete
	{
		position: initial;
		border-radius: 50px 50px 0px 0px;
		text-align: center;
		margin-top: 6px;	
		box-sizing: border-box;
		padding: 4px;
	}

	h1 
	{
		all: initial;
		font-size: 2.5em;
		margin-bottom: 0px;
		margin-top: 0px;
	}

	nav, nav a:hover, nav a:active {border-radius: 0px 0px 50px 50px;}

	#sousTitre {display: none;}
	.sousTitre
	{
		border: none;
		background: none;
		box-shadow: unset;
		text-align: center;
		position: initial;
		display: block;
		text-shadow: brown 2px 6px 4px;
		font-size: 1.7em;

	}

	nav {
		width: 100%;
		margin-top: 2px;
	}

	h2 {margin: 4px 0px 2px 0px;}

	#biographie article, #biographie aside, .sousTitre
	{
		border-width: 2px;
		border-color: #888;
		margin-top: 2px;
	}

	#biographie article, #biographie aside {height: 49.6%;}

	#piedDePage {padding: 5px 4px 5px 4px;}
}

@media all and (max-width: 520px)
{
	h1 	{ font-size: 2.2em; }
	h2 {font-size: 1.5em;font-weight: normal;}
	#enTete { margin-top: 2px; }
	#biographie { margin-top: 1px; }
	#biographie article { border-radius: 20px 20px 4px 4px; }
	#biographie aside { border-radius: 4px 4px 20px 20px; }

	.photoInf, .photoSup { height: 96%; border-radius: 7px;	}
}

@media all and (max-width: 384px)
{
	body {width: 99%;margin-top: 1px;}

	#biographie article, #biographie aside {height: 49.4%; margin-top: 2px;}

	nav, nav a:hover, nav a:active {border-radius: 0px 0px 40px 40px;}

	#enTete 
	{
		border-radius: 40px 40px 0px 0px;
		margin-top: 2px;
		padding: 0px;
	}

	h1
	{
		font-size: 1.8em;
		margin-top: 1px;
		margin-bottom: 0px;
	}

	nav {margin-top: 1px; }
	nav a {
		margin: 0px;
	}

	h2 {font-size: 1.4em;margin: 0px;}

	.photoInf, .photoSup
	{
		border-radius: 1px;
	}

	#piedDePage { padding: 3px; min-width: 260px; margin-top: 0px; }
}
