* {
	box-sizing: border-box;
}

html,body{
	width: 100%;
	height: 100%;
}

body{ 
	margin: 0px;
	padding: 0px
	font-size: 100%;
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	color: black;
}

.wrapper {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 100%;
	max-width: 960px;
	min-width: 300px;
	margin: auto;
}

.wrapper2 {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	height: 100%;
}

header {
	position: fixed;
	flex-grow: 1;
	height: 100px;
	top: 0px;
	width: 100%;
	background-color: black;
	color: white;
	padding: 10px;
	z-index: 50;
}

header div {
	font-family: 'Oswald', sans-serif;
	font-size: 3rem;
}

nav#mobile {
	display: none;
}

nav#desktop {
	padding-top: 30px;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
}

nav#desktop a {
	display: block;
	border-style: solid;
	border-width: 0px 0px 2px 0px;
	border-color: transparent;
	margin-left: 15px;
	font-size: 16px;
}

nav#desktop a:hover {
	color: red;
	border-color: red;
}

img.menu {
	height: 30px;
}

div#overlay {
	position: absolute;
	display: none;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-gap: .5vh;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	padding: 10px;
	background-color: rgba(0,0,0,.6);
	z-index: 100;
	animation-name: show;
	animation-duration: .4s;
	transition-timing-function: ease-out;
  	overflow-y: hidden;
  	overflow-x:hidden;
	padding: 13% 0% 7% 0%;
}

@keyframes show {
	0% {top: 700px}
	100% {top: 0px}
}

div a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 960px;
	height: 100%;
	margin: auto;
	background-color: rgba(0,0,0,.6);
	font-family: 'Oswald', sans-serif;
	font-size: 1.3rem;
	color: white;
	border: solid 1px transparent;
	text-decoration: none;
}

div a:hover {
	background-color: rgba(0,0,0,.8);
	border: solid 1px white;
	font-size: 1.5rem;

}

main.home {
	position: relative;
	flex-grow: 1;
	padding: 10px;
	text-align: center;
}

main {
	position: relative;
	top: 120px;
	width: 100%;
	max-width: 960px;
	flex-grow: 1;
	padding: 10px;
	text-align: left;
	font-size: 1rem;
	line-height: 1.2rem;
	margin: auto;
	z-index: 0;
}

section {
	position: absolute;
	bottom: 40px;
	height: 100%;
	width: 100%;
	background: url("images/splash.png") no-repeat;
	background-size: 30%;
	background-position: center bottom;
}

section.content {
	display: flex;
	justify-content: center;
	position: absolute;
	height: 100%;
	width: 100%;
	background-image: none;
}

section div {
	height: 100%;
	width: 50%;
	max-width: 800px;
	background-image: url("images/splash.png");
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center bottom;
}

img.titre {
	position: relative;
	top: -35%;
	width: 90%;
	max-width: 595px;
	margin: auto;
}

article {
	flex-grow: 1;
	width: 100%;
	max-width: 600px;
	margin-bottom: 65%;
}


h1 {
	font-family: 'Oswald', sans-serif;
	font-size: 21px;
}

h2 {
	font-family: 'Oswald', sans-serif;
	font-size: 16px;
}

aside {
	flex-grow: 1;
	position: relative;
	top: 17px;
	width: 100%;
	max-width: 300px;
}

aside h2 {
	position: relative;
	top: -15px;
	font-family: 'Oswald', sans-serif;
	font-size: 21px;
	line-height: 25px;
}

fieldset h2 {
	position: relative;
	top: -5px;
	font-family: 'Oswald', sans-serif;
	font-size: 18px;
}

aside ul {
	position: relative;
	top: -15px;
	padding-left: 15px;
	color: black;
}

aside ul li {
	font-family: arial, helvetica, sans-serif;
	font-size: 13px;
	line-height: 22px;
}

aside div h2 {
	color: #b2b2b2;
}

div.box1 {
	position: relative;
	top: -15px;
	padding: 15px 0px 0px 15px;
	border-style: solid;
	border-width: 0px 0px 0px 10px;


}

.border_cyan {
	border-color: #00aeef;
}

.border_magenta {
	border-color: #ec008c;
}

.border_yellow {
	border-color: #fff200;
}

.border_red {
	border-color: red;
}

.border_green {
	border-color: green;
}

.border_blue {
	border-color: blue;
}

.border_dark {
	border-color: rgba(0,0,0,.9);
}

.border_midtone {
	border-color: rgba(0,0,0,.5);
}

.border_light {
	border-color: rgba(0,0,0,.2);
}

fieldset {
	border: solid 1px;
	border-color: rgba(0,0,0,.4);
	border-radius: 15px;
	z-index: 30;
	width: 100%;
}

legend {
	font-family: 'Oswald', sans-serif;
	font-size: 1rem;
}

ul {
	font-size: 12px;
	line-height: 15px;
	list-style: none;
	margin-bottom: 20px;
}

li::before {
	content: "· ";
}

fieldset img {
	display: block;
	width: 100%;
	margin: auto;
	margin-top: 10px;
}

figcaption {
	position: relative;
	top: 5px;
	width: 90%;
	margin: auto;
	font-family: arial, sans-serif;
	font-size: 10px;
	font-weight: bold;
	line-height: 12px;
	margin-bottom: 20px;
	text-align: center;
}


footer {
	position: fixed;
	width: 100%;
	max-height: 40px;
	bottom: 0px;
	background-color: black;
	color: white;
	padding: 10px;
}

div.foot a {
	display: inline;
	font-family: 'Oswald', sans-serif;
	font-size: .9rem;
	color: #c0c0c0;
	text-decoration: none;
	border-color: transparent;
}

div.foot a:hover {
	color: white;
}

@media screen and (max-width: 960px){

	section {
		position: absolute;
		bottom: 33px;
		height: 100%;
		width: 100%;
		background: url("images/splash.png") no-repeat;
		background-size: 50%;
		background-position: center bottom;
	}

	.wrapper2 {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		height: 100%;
	}

	article {
		position: relative;
		min-width: 100%;
		margin-bottom: 20px;
		justify-content: center
	}

	fieldset img {
		display: block;
		width: 100%;
		margin: auto;
		margin-top: 10px;
	}

	aside {
		position: relative;
		top: 17px;
		width: 60%;
		margin-bottom: 65%;
	}

}



@media screen and (max-width: 768px) {

	nav#desktop {
		display: none;
	}

	nav#mobile {
		display: block;
	}

	div#overlay {
		padding-top: 105px;
	}

	section {
		background-size: 100%;
	}

	aside {
		padding-left: 20px;
		width: 100%;
	}

}


