@font-face {
    font-family: 'merriweatherregular';
    src: url('polices/merriweather-regular-webfont.eot');
    src: url('polices/merriweather-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('polices/merriweather-regular-webfont.woff2') format('woff2'),
         url('polices/merriweather-regular-webfont.woff') format('woff'),
         url('polices/merriweather-regular-webfont.ttf') format('truetype'),
         url('polices/merriweather-regular-webfont.svg#merriweatherregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'merriweatherbold';
    src: url('polices/merriweather-bold-webfont.eot');
    src: url('polices/merriweather-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('polices/merriweather-bold-webfont.woff2') format('woff2'),
         url('polices/merriweather-bold-webfont.woff') format('woff'),
         url('polices/merriweather-bold-webfont.ttf') format('truetype'),
         url('polices/merriweather-bold-webfont.svg#merriweatherregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'merriweatherlight';
    src: url('polices/merriweather-light-webfont.eot');
    src: url('polices/merriweather-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('polices/merriweather-light-webfont.woff2') format('woff2'),
         url('polices/merriweather-light-webfont.woff') format('woff'),
         url('polices/merriweather-light-webfont.ttf') format('truetype'),
         url('polices/merriweather-light-webfont.svg#merriweatherregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'merriweatheritalic';
    src: url('polices/merriweather-italic-webfont.eot');
    src: url('polices/merriweather-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('polices/merriweather-italic-webfont.woff2') format('woff2'),
         url('polices/merriweather-italic-webfont.woff') format('woff'),
         url('polices/merriweather-italic-webfont.ttf') format('truetype'),
         url('polices/merriweather-italic-webfont.svg#merriweatherregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'merriweatherblack';
    src: url('polices/merriweather-black-webfont.eot');
    src: url('polices/merriweather-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('polices/merriweather-black-webfont.woff2') format('woff2'),
         url('polices/merriweather-black-webfont.woff') format('woff'),
         url('polices/merriweather-black-webfont.ttf') format('truetype'),
         url('polices/merriweather-black-webfont.svg#merriweatherregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body, html {
	height: 100%;
}

body {
	font-family:'merriweatherregular', serif;
	color: black;
	width: 100%;
	margin: 0;
	padding: 0;
}

header {
	font-family:'merriweatherregular', serif;
	border-bottom: solid;
	display:flex;
	flex-wrap: wrap-reverse;
	justify-content: space-between;
	align-items: center;
}

#bloc_page {
	max-width: 1280px;
	min-height: 100%;
	position: relative;
}

#titre_principal {
	display: flex;
	flex-direction: row;
	align-items: center;
	align-items: baseline;
}

#l {
	font-size: 1.5em;
	margin: 20px 0 20px 60px;
}

header h1 {
	font-size: 3em;
	margin: 20px 0 0 0px;
}

header h2 {
	font-size: 1.5em;
	margin-left: 10px;
}

header img {
	display:flex;
	justify-content: flex-end;
	flex-direction: row;
	width: 50px;
	height: 50px;
	margin: 20px 60px 20px 20px;
}

/*--------------------------------------------------------*/

section {
	margin: 125px 125px 3px 125px;
}

#top {
	display: block;
	margin-top:40px;
	margin-right: auto;
	margin-left: auto;
	width: 102px;
	height: 130px;
}

/*--------------l'alphabet--------------*/

#conteneur {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
} 

.carte {
	background-color: white;
	width: 200px;
	height: 200px;
	perspective: 1000px;
	margin-bottom: 25px;
}

.la-carte {
	/* position:relative; */
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 2s;
	transform-style: preserve-3d;
}

.carte:hover .la-carte {
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
}

.carte-verso, .carte-recto {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.carte-verso {
	background-color: white;
}

.carte-recto {
	background-color: black;
	color: white;
	transform: rotateY(180deg);
}

/*--------------fin de l'alphabet--------------*/

/*--------------verso des cartes--------------*/

h3 {
	padding: 40px 0px;
	font-size: x-large;
}

#conteneur a {
	color: white;
	text-decoration: none;
}

#conteneur a:hover {
	color: white;
	text-decoration: underline;
}

/*--------------fin verso des cartes--------------*/

footer {
	font-family:'merriweatherlight', serif;
	background-color: white;
	font-size: 0.8em;
	border-top: solid;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	align-items: center;
	position: absolute;
	bottom: 0;
	width: 100%
}

footer mark {
		font-family:'merriweatherbold', serif;
		background-color: white;
		font-size: 1.1em;
}