html {
	background-image: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(255,255,255,0) 15%, rgba(255,255,255,0) 85%, rgba(0,0,0,0.2) 100%), url('./background.png');
	background-size: contain;
    background-position-y: -330px;
    font-size: 1.3em;
}

body {
	max-width: 1300px;
	margin: auto;
	font-family: "Liberation sans", sans-serif;
	color: #444;
	padding: 0 5px;
}

a {
    color: inherit;
    text-decoration: none;
}

button, .button {
	cursor: pointer;
}

.align-center {
	text-align: center;
	width: 100%;
}

h1 {
	font-family: Kiona;
	font-size: 121px;
	letter-spacing: -0.047619047619047616em;
	line-height: 0.7em;
	margin: calc(0.8em + 5vh) auto 20px;
	margin: 20px auto;
	text-align: left;
	display: flex;
	width: 5.915em;
	flex-wrap: wrap;
	font-weight: normal;
}

h1 > div::first-letter {
  font-size: 1.7em;
}

header h4 {
	font-style: italic;	
	font-size: 1.07em;
	display: block;
	margin: 0;
	padding-left: 0px;
}

h2 {
	font-family: "Ge Body";
	font-weight: normal;
	font-size: 2.5em;
	margin: 0.8em -8px 1em;
}

h2::first-letter {
	font-size: 1.4em;
	letter-spacing: 1px;
}

h3, h4 {
	font-family: "GoldenRatio";
	margin: 0.8rem 0;
}

h3 {
	font-size: 1.3em;
}

h4 {
	font-size: 1.1em;
}

h1,h2 {
	color: #111;
}

#qui h3, #qui h4, #contact label{
	color: #222;
}

section:not(#galerie) h2 {
	margin-left: -4%;
	margin-right: -4%; 
}

section:not(#modale) {
	margin: 5% 5% 0;
}

section#galerie{
    margin: 5em 10px 0;
}

header {
	text-align: center;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

header svg, header .button, .couleur, h2::first-letter, header a, header #alternative_downloads{
	fill: #4C8F29;
	color: #4C8F29;
}

header #alternative_downloads{
	margin-top: 7px;
}

header svg {
	width: 50px;
	height: 50px;
}

header .button {
	display: inline-block;
	border-radius: 20px;
	text-align: center;
	font-size: 1.25em;
	padding: 0.5em;
	border: 2px solid currentColor;
	margin-bottom: 5px;
}

header .button span {
	vertical-align: bottom;
	line-height: 50px;
	height: 50px;
	display: inline-block;
	font-size: 1.1em;
}

header #download {
	text-decoration: none;
	font-family: "Kiona";
	font-weight: bold;
	margin: 20px 0 15vh;
}

.profil {
	display: inline-flex;
	width: 49%;
}

#charte > div {
	text-align: justify;
}

#charte .couverture {
	width: 40%;
	float: right;
	height: 100%;
}

#charte div span {
    display: block;
    margin: 0.5em 0;
}

#charte div span:nth-child(1), #charte div span:nth-last-child(1), #charte div span:nth-last-child(2) {
	margin: 1em 0;
}

#charte div span::first-letter {
	font-size: 1.3em;
}

#charte img {
	max-height: 100%;
	max-width: 90%;
	object-fit: contain;
	margin-left: 10%;
}

.profil:nth-child(2n) {
	flex-direction: row-reverse;
	text-align: right;
}

.profil > div:not(.img) {
	margin: 0 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.profil > div p {
	margin-top: 0;
}

.profil img {
	max-height: 100%;
	object-fit: cover;
}

.img {
	height: 150px;
	width: 150px;
	border-radius: 100%;
	overflow: hidden;
	flex-shrink: 0;
}

.profil .role {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1em;
}

.profil .role svg {
	margin: 0 15px;
}

.participants {
	display: flex;
	justify-content: space-around;
	margin: 4em 4%;
}

.participants > div {
    text-align: center;
}

#galerie .wrapper {
	width: 100%;
	padding-bottom: 54.25%;
	position: relative;
	max-width: 1250px;
	margin: auto;
}

#galerie .content {
	position: absolute;
  	top: 0; bottom: 0; left: 0; right: 0;
    display: grid;
    grid-template-columns: repeat(11, 1fr);
	grid-template-rows: repeat(9, 1fr);
	grid-gap: 0.4rem;
}

#galerie img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#galerie .content > div {
	background-size: cover;
	cursor: pointer;
	background-position-y: center;
	background-position-x: center;
}

#galerie .content>div:nth-child(1){
    grid-column: span 3;
    grid-row: span 6;
}
#galerie .content>div:nth-child(2){
    grid-column: span 2;
    grid-row: span 3;
}
#galerie .content>div:nth-child(3){
    grid-column: span 3;
    grid-row: span 5;
}
#galerie .content>div:nth-child(4){
	grid-column: span 3;
    grid-row: span 2;
}
#galerie .content>div:nth-child(5){
    grid-column: span 3;
    grid-row: span 3;
}
#galerie .content>div:nth-child(6){
    grid-column: span 2;
    grid-row: span 3;
}
#galerie .content>div:nth-child(7){
    grid-column: span 6;
    grid-row: span 4;
}
#galerie .content>div:nth-child(8){
    grid-column: span 2;
    grid-row: span 3;
}
#galerie .content>div:nth-child(9){
    grid-column: span 3;
    grid-row: span 3;
}

#contact {
	padding: 0 0 3em;
}

#contact form > div {
	padding: 0 0 1.1rem;
}

#contact label, #contact input[type="submit"]{
	font-family: "GoldenRatio";
	display: block;
    font-weight: 600;
    line-height: 1.5em;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    margin: 0 0 0.75rem 0;
}

#contact input[type="submit"]:hover, a.button:hover, header .button:hover svg {
	background-color: #4C8F29;
	fill: white;
	color: white;
	border-color: #36621F;
}

#contact input[type="text"], #contact input[type="password"], #contact input[type="email"], #contact select, #contact textarea {
	display: block;
	outline: 0;
	padding: 0 0.55rem;
	text-decoration: none;
	width: calc(100% - 1.16rem);
	color: inherit;
	line-height: 2.1em;
	border: 1px solid #DDD;
	border-radius: 6px;
	font-size: 1.15em;
}

#contact input[type="text"]:focus, #contact input[type="password"]:focus, #contact input[type="email"]:focus, #contact select:focus, #contact textarea:focus {
	box-shadow: 0px 0px 4px 1px #61c030;
	border-color: transparent;
}

#contact input[type="submit"], #contact .button {
    background-color: transparent;
    border: 2px solid currentColor;
    border-radius: 0;
    cursor: pointer;
    padding: 0.75em 1.5em 0.6em;
    text-decoration: none;
}

#contact textarea {
    padding: 0.75rem 0.55rem;
    line-height: 1.1em;
}

ul,ol,li {
	list-style: none;
	padding: 0;
	margin: 0;
}

.a {
	color: #005700;
}

#modale {
	position: fixed;
	background-color: #000000dd;
	display: none;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	text-align: center;
}

#modale img {
	max-width: calc(100% - 200px);
	max-height: 100%;
	object-fit: contain;
}

#modale button:not(.close) {
	flex: auto;
	background: none;
	border: none;
	padding: 0;
}

#modale button.close, #modale button div {
	background-color: #333;
	color: #AAA;
	border-radius: 100%;
	display: inline-block;
	border: none;
}

#modale button:not(.close) div {
	height: 50px;
	width: 50px;
	line-height: 30px;
}

#modale button.close {
	position: absolute;
	top: 4px;
	right: 4px;
	height: 65px;
	width: 65px;
	line-height: 45px;
	padding: 0;
}

footer {
	background-color: #c6d9bdc4;
	padding: 10px 0;
	width: 100%;
	position: absolute;
	left: 0;
	font-size: 1.15em;
}

footer {
	background-color: #111111C5;
	color: white;
}

.footer {
	display: flex;
	align-items: first baseline;
	justify-content: center;
}

.rs {
	text-align: center;
	align-items: center;
	display: inline-flex;
	justify-content: center;
}

.h1 {
	font-family: Kiona;
	font-size: 2.35em;
	letter-spacing: -0.05em;
	line-height: 0.7em;
	margin: 10px 15px 5px 0px;
	text-align: left;
	display: flex;
	width: 5.915em;
	flex-wrap: wrap;
	font-weight: normal;
}

.h1 > div::first-letter {
  font-size: 1.7em;
}

.footer > div:not(.logo) {
	font-size: 0.85em;
}

.h4 {
	font-style: italic;	
	font-size: 1.1em;
	display: block;
	margin: 0;
	padding-left: 0px;
	font-family: "GoldenRatio";
}

.date {
	font-size: 0.72em;
	text-align: center;
}

#bandeau {
	background-color: red;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
	padding: 7px 0;
	color: #111;
}


@media (max-width: 690px) {
	html {
		background-image: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(255,255,255,0) 15%, rgba(255,255,255,0) 85%, rgba(0,0,0,0.2) 100%), url('./background_mobile.png');
	}
	h1 {
		font-size: 90px;
	}
}

@media (max-width: 660px) {
	.profil {
    	display: flex;
    	width: 100%;
    }

    .profil > div:not(.img) {
    	width: 100%;
    	text-align: center;
    }
}

@media (max-width: 520px) {
	h1 {
		font-size: 66px;
	}
}

@media (max-width: 410px) {
	h1 {
		font-size: 50px;
	}

	.img {
		height: 100px;
		width: 100px;
	}
}

@media (max-width: 300px) {
	h1 {
		font-size: 35px;
	}
}