/* TRVAILLER À LA MISE AUX NORMES MOBILES AVEC @media all (max-device-width: 480px) */

@font-face
{
	font-family: bebas_neue;
	src: url("fonts/BebasNeue-Regular.ttf");
	font-weight: normal;
	font-style: normal;
}

@font-face
{
	font-family: cabin;
	src: url("fonts/cabin/Cabin-Regular.ttf");
	font-weight: normal;
	font-style: normal;
}

@font-face
{
	font-family: hey_august;
	src: url('fonts/hey_august/Hey August.ttf'),
		 url('fonts/hey_august/Hey August.otf');
	font-weight: normal;
	font-style: normal;
}

@font-face
{
	font-family: timeless;
	src: url(fonts/timeless/Timeless.ttf),
		 url(fonts/timeless/timeless-webfont.woff),
	 	 url(fonts/timeless/timeless-webfont.woff2);
	font-weight: normal;
	font-style: normal;
}

@font-face
{
	font-family: timeless_bold;
	src: url(fonts/timeless/Timeless-Bold.ttf);
	font-weight: bold;
	font-style: normal;
}

@font-face
{
	font-family: josephin;
	src: url(fonts/josephin/Josephin.ttf),
		url(fonts/josephin/josephin-webfont.woff),
		url(fonts/josephin/josephin-webfont.woff2);
	font-weight: normal;
	font-style: normal;
}

/* PAGE */

#bloc_page
{
	width: 100%;
	margin: auto;
}

section
{
	display: block;
	margin: auto;
}

*
{
	overflow: auto;
	word-wrap: break-word;
}

body
{
	font-family: cabin, ubuntu, serif;
	font-size: 1em;
	text-align: justify;
	background-image: url(img/background.jpg);
	background-repeat: no-repeat;
	background-position: top right;
	background-color: #b51c21;
	background-attachment: fixed;
	margin: 2%;
}

a
{
	color: #b51c21;
}


a:visited
{
	color: #ff6a6c;
}

a.cache
{
	text-decoration: none;
	color: white;
}



/*HEADER */

header h1
{
	font-family: bebas_neue, Ubuntu, serif;
	color: white; 
	font-size: 7em;
	font-weight: normal;
	padding-left: 1em;
	padding-top: 0.8em;
}

header .soustitre
{
	font-family: cabin, ubuntu, serif;
	font-size: 1.2em;
	font-style: normal;
	color: white;
	padding-left: 5em;
	margin-bottom: 5em;
}



/*MENUS */

.deroul
{
	display: none;
}

nav > ul li:hover .deroul
{
	display: block;
	position: absolute;
	background-color: white;
	font-color: #b51c21;
	font-size: 0.9em;
	border-style: none;
}

nav
{
	margin: auto; /*sert à centrer, for some reason.*/
	font-size: 1.5em;
	color: #1b2947;
	font-family: bebas_neue, ubuntu, serif;
	background-color: white;
	border-radius: 10px;
	padding-left: 2%;
	padding-right: 2%;
	max-width: 90%;
	min-width: 200px;
}

nav ul, nav li
{
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding-right: 8px;
	padding-left: 8px;
}

nav a
{
	color: #b51c21;
	text-decoration: none;
}

nav a:visited
{
	color: #b51c21;
	text-decoration: none;
}

footer
{
	color: white;
	font-style: italic;
	font-weight: bold;
}

footer a
{
	color: white;
}

footer a:visited
{
	color: white;
}

/*CORPS*/

.boite
{
	background-color: #d8e0e4;
	padding-right: 2%;
	padding-left: 2%;
	padding-top: 1%;
	padding-bottom: 1%;
	margin: 15px;
}

article
{
    background-color: white;
    padding: 2%;
    text-align: justify;
    color: #1b2947;
    border-radius: 10px;
    max-width: 90%;
    min-width: 200px;
    margin:auto;
    margin-top: 2%;
    margin-bottom: 2%;
    font-size: 1.1em;
}

article img
{
	display: block;
	margin: auto;
	max-width: 95%;
}

h1
{
	font-family: bebas_neue, ubuntu, serif;
	font-size: 2.5em;
	font-weight: normal;
	padding-left: 1.2em;
	color: #b51c21;
}

h2
{
	font-family: bebas_neue, ubuntu, serif;
	font-size: 2em;
	font-weight: normal;
	padding-left: 1.2em;
	color: #b51c21;
}


h3
{
	font-size: 1.5em;
	padding-left: 1.5em;
	color: #b51c21;
}

h2 a
{
	color: #b51c21;
}

h4
{
	font-size: 1.2em;
	padding-left: 1.8em;
	padding-right: 1.8em;
	color: #b51c21;
}

blockquote /*citations*/
{
	font-size: 100%;
	font-weight: normal;
}

img
{
	display: block;
	max-height: 500px;
	padding-bottom: 2%;
	padding-top: 2%;
	margin: auto;
}

.avatar
{
	width: 200px;
	padding-bottom: 2%;
	padding-top: 2%;
}

ul
{
	list-style-type: circle;
	overflow: visible;
}

li
{
	padding-bottom: 0.2em;
	overflow: visible;
}

ol
{
	overflow: visible;
}


/*_______________________CHANTIER___________________

/*Aperçu de texte
a:title
{
	font-size: 1em;
}
*/

/*Faire flotter un bout de texte - test

*/