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

@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 */

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

section
{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
}

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

body
{
	font-family: timeless, ubuntu, serif;
	font-size: 120%;
	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: josephin, Ubuntu, serif;
	color: white; 
	font-size: 5em;
	font-weight: normal;
	padding-left: 1em;
	padding-top: 0.8em;
}

header .soustitre
{
	font-family: timeless, ubuntu, serif;
	font-size: 1.5em;
	font-style: oblique;
	color: white;
	padding-left: 5em;
	margin-bottom: 5em;
}



/*MENUS */

nav
{
	margin: auto; /*sert à centrer, for some reason.*/
	font-size: 1.3em;
	font-family: josephin, ubuntu, serif;
	background-color: white;
	border-radius: 10px;
	width: 45%;
	min-width: 300px;
}

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

aside
{
	flex:1;
	position: relative;
	background-color: #d8e0e4;
	color: #1b2947;
	padding-right: 2%;
	padding-left: 2%;
	padding-top: 1%;
	padding-bottom: 1%;
	border-radius: 10px;
	width: 12%;
	margin-bottom: 20px;
	margin-top: 2%;
	margin-right: 2%;
	min-width: 150px;
	max-height: 300px;
	text-align: left;
}

.float
{
	float: left;
	padding-right: 5px;
}

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
{
    flex:4;
    background-color: white;
    padding: 2%;
    text-align: justify;
    color: #1b2947;
    border-radius: 10px;
    max-width: 90%;
    min-width: 200px;
    margin:2%;
    font-size: 1em;
}

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

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

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

blockquote /*citations*/
{
	font-size: 0.9em;
	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

*/