@import url("https://fonts.googleapis.com/css?family=Amaranth:400,400italic,700,700italic");

html {
	background-image: url("../images/background.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

body {
	max-width: 1200px;
	margin: 0 auto;

	font-family: "Amaranth", sans-serif;
	background-color: rgba(255, 255, 255, 0.7);
	box-shadow: 0px 0px 15px 6px rgba(25, 25, 25, 0.7);
}

.section-container {
	width: 100%;
	height: fit-content;
	margin-bottom: 30px;

	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.section-container h2 {
	text-align: left;
	text-indent: 10mm;
}

/*////////////////////////////////////////////
                    MATOMO
////////////////////////////////////////////*/
.ctn-matomo-use {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background-color: #000000cc;
	z-index: 100;
}

.matomo-use {
	position: relative;
	width: calc(100% / 3);
	background-color: white;
	border: solid transparent 1px;
	border-radius: 8px;

	margin: 0 auto;
	padding: 15px;

	font-size: 12pt;
}

.matomo-use h2 {
	font-size: 16pt;
	text-align: left;
	margin-top: 0;
	margin-left: 20px;
}

.matomo-use p:first-of-type {
	margin: 0px 20px;
	text-indent: 1cm;
}

.matomo-use ul {
	margin-top: 40px;
	padding: 0;
	width: 100%;
	height: 50px;

	display: flex;
	flex-direction: row;
	justify-content: space-around;
	list-style: none;
}

.matomo-use li {
	width: 40%;
	height: 100%;

	font-size: 18pt;
	font-weight: bold;
	color: white;
	text-align: center;
	line-height: 50px;
	cursor: pointer;
}

.matomo-use li:first-child {
	border: solid 2px #6a994e;
	background-color: #6a994e;
}
.matomo-use li:first-child:hover {
	border-color: #a7c957;
	background-color: #a7c957;
}

.matomo-use li:last-child {
	border: solid 2px #d90429;
	background-color: #d90429;
}
.matomo-use li:last-child:hover {
	border-color: #ef233c;
	background-color: #ef233c;
}

/*////////////////////////////////////////////
                    HEADER
////////////////////////////////////////////*/
header {
	width: 100%;
	height: 400px;
	margin: 0;
	position: relative;

	background-image: url("../images/banniere.jpg");
	background-size: 100% 128%;
	background-position: 50% 78%;
	background-repeat: no-repeat;
	background-attachment: scroll;
}

/*CSS pour le logo*/
.header-logo {
	width: 164px;

	position: absolute;
	left: 25px;
	top: 25px;
}

.header-logo img {
	width: 100%;
	border: solid black 2px;
}

/*CSS pour le bouton click-to-action*/
.click-to-action {
	width: 200px;
	height: 60px;

	position: absolute;
	right: 25px;
	bottom: 25px;

	background-color: #f89406;
	border-radius: 38px;

	text-align: center;
}

.click-to-action a {
	color: snow;
	text-decoration: none;
	font-size: 20px;
	font-weight: bold;
	line-height: 60px;
}

/*CSS du menu de navigation*/
nav {
	width: 100%;
	margin: 0;

	background-color: #1ea3f7;
	text-align: center;
}

nav a,
nav p {
	display: inline-block;
	text-decoration: none;
	color: white;
}

nav > ul {
	margin: 0px;
	padding: 0px;

	list-style-type: none;

	display: flex;
	flex: auto;
}

nav > ul > li {
	position: relative;
	margin: 0px;
	padding: 0px;

	flex: 1 1 0px;
	cursor: pointer;
}

nav > ul > li > p {
	display: inline-block;
	width: 100%;
	line-height: 60px;

	font-size: 15pt;
	font-weight: bold;

	margin-top: 0;
	margin-bottom: 0;
}

nav > ul > :not(li:last-child) {
	border-right: solid 2px white;
}

.submenu {
	display: none;
	position: absolute;
	width: 100%;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	z-index: 100;
}

.submenu > li {
	width: 100%;
	height: 40px;
	line-height: 40px;

	font-size: 14pt;
	font-weight: normal;
	background-color: #808080;
}

.submenu > li > a {
	display: inline-block;
	width: 100%;
	height: 40px;
	line-height: 40px;

	font-size: 14pt;
	font-weight: normal;
}

.submenu > li:not(:last-child) > a {
	border-style: solid;
	border-width: 0px 0px 1px 0px;
	border-color: black;
}

.submenu > li > a:hover {
	background-color: #8c8c8c;
}

.burger {
	display: none;
}

/*////////////////////////////////////////////
                    FOOTER
////////////////////////////////////////////*/
footer {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;

	border-top: inset lightgrey 5px;
	background-color: white;

	padding-bottom: 20px;
}

footer h2 {
	font-size: 14pt;
}

footer > *:first-child {
	width: calc(100% / 4);
	padding-left: 10px;
}

footer > *:first-child h2 {
	text-align: left;
	margin: 15px 0;
}

footer > *:last-child {
	width: calc(100% / 4);
	padding-right: 10px;
}

footer > *:last-child h2 {
	text-align: right;
	margin: 15px 0;
}

.sites-tiers ul {
	list-style-type: none;
	padding-left: 15px;
}

.sites-tiers ul li {
	margin-top: 10px;
}

.sites-tiers ul li a {
	color: black;
	text-decoration: none;
}

.sites-tiers ul li a:visited {
	color: black;
}

.sites-tiers ul li a:hover {
	color: #1ea3f7;
}

.footer-logo {
	margin: auto 0;
}

.footer-logo img {
	width: 265px;

	display: block;
	margin: 0 auto;
}

.icon-container {
	text-align: right;
	padding-right: 15px;
}

.icon-container > a {
	text-decoration: none;
	font-size: 20pt;
}

.icon-container > :not(a:last-child) {
	margin-right: 10px;
}

/*////////////////////////////////////////////
                VERSION MOBILE
////////////////////////////////////////////*/
@media screen and (max-width: 1200px) {
	/*////////////////////////////////////////////
                        HEADER
    ////////////////////////////////////////////*/
	header {
		height: 32vw;
	}
}

@media screen and (max-width: 800px) {
	html {
		background-image: none;
		background-color: white;
	}

	html,
	body {
		overflow-x: hidden;
	}

	html {
		width: 100vw;
	}

	body {
		max-width: 100%;
	}

	/*////////////////////////////////////////////
                        MATOMO
    ////////////////////////////////////////////*/
	.matomo-use {
		width: 100%;
	}

	/*////////////////////////////////////////////
                        HEADER
    ////////////////////////////////////////////*/
	/*CSS pour le logo*/
	.header-logo {
		width: 20vw;

		left: 5px;
		top: 5px;
	}

	/*CSS pour le bouton click-to-action*/
	.click-to-action {
		width: 40%;
		height: 30%;

		right: 5px;
		bottom: 5px;

		display: flex;
		justify-content: center;
		align-items: center;
	}

	.click-to-action a {
		font-size: 14pt;
		line-height: unset;
	}

	/*CSS du menu de navigation*/
	.burger {
		width: 35px;
		display: inline-block;

		border: solid white 2px;
		border-radius: 20%;

		margin: 10px auto;
	}

	.burger > div {
		width: 25px;
		height: 4px;
		background-color: white;
		margin: 5px;
	}

	nav {
		width: 100%;
		margin: 0;
		padding-top: 5px;
		background-color: #1ea3f7;
		text-align: center;
	}

	nav a,
	nav p {
		display: inline-block;
		text-decoration: none;
		color: white;
	}

	nav > ul {
		width: 100%;

		margin: 0px;
		padding: 0px;

		display: list-item;
		list-style-type: none;
	}

	nav > ul > li {
		margin: 0px;
		padding: 0px;

		flex: 1 1 0px;
		cursor: pointer;

		border-top: solid 2px white;
	}

	nav > ul > li > p {
		display: inline-block;
		width: 100%;
		line-height: 60px;

		font-size: 15pt;
		font-weight: bold;

		margin-top: 0;
		margin-bottom: 0;
	}

	nav > ul > :not(li:last-child) {
		border-right: none;
	}

	.submenu {
		position: unset;
	}

	/*////////////////////////////////////////////
                        FOOTER
    ////////////////////////////////////////////*/
	footer {
		width: 100vw;
		min-height: 200px;

		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: center;

		border-top: inset lightgrey 5px;
	}

	footer > *:not(:last-child) {
		margin-bottom: 10px;
	}

	footer > *:first-child {
		width: 80%;
		padding-left: 0;
		text-align: center;
	}

	footer > *:first-child h2 {
		text-align: center;
	}

	footer > *:last-child {
		width: 80%;
		padding-right: 0;
		text-align: center;
	}

	footer > *:last-child h2 {
		text-align: center;
	}

	.footer-logo {
		width: 100%;

		display: flex;
		justify-content: center;
		align-items: center;

		margin: auto 0;
	}

	.footer-logo img {
		width: 60%;
	}

	.icon-container {
		text-align: center;
		padding-right: 0;
	}
}
