@import url("font-awesome.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,900,300italic");

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

body {
	font-family: 'Source Sans Pro';
	font-weight: 300;
	color: #5d5d5d;
}

header {
    background: #472000 url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;*/
    position: absolute;
    z-index: 10;
	top: 0;
	bottom: 0;
	width: 100%;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.header {
	border-radius: 0.5em;
	padding: 2em;
	background-color: rgba(0, 0, 0, 0.7);
	width: 30%;
	margin-left: 3em;
	margin-right: 3em;
	margin-top: 50vh; /* poussé de la moitié de hauteur de viewport */
	transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.header img {
	max-width: 100%;
	border-radius: 0.5em;
	margin-bottom: 1.5em;
}

@keyframes shake {
    65%  {
    	-webkit-transform: translateY(0em); 
    	transform: translateY(0em);
   	}
    69%  {
    	-webkit-transform: translateY(-0.5em); 
    	transform: translateY(-0.5em);
   	}
    71%  {
    	-webkit-transform: translateY(0.5em); 
    	transform: translateY(0.5em);
   	}
    75%  {
    	-webkit-transform: translateY(0em); 
    	transform: translateY(0em);
   	}
}

header .scroll-down {
	/*text-align: center;*/
	color: #fff;
	/*position: relative;*/
	/*bottom: 0em;*/
	margin-left: 3em;
	font-size: 200%;
	text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.5);
}

header .scroll-down i {
    animation-name: shake;
    animation-duration: 7s;
    animation-iteration-count: infinite;
}

h1 {
	font-size: 200%;
	color: #fff;
	font-weight: bolder;
	margin-bottom: 0.5em;
}

h2 {
	font-size: 150%;
	margin: 0.3em;
}

header p {
	font-size: larger;
	color: white;
}

.cheat {
	margin-top: 100vh;
	height: 100vh;
	position: relative;
	z-index: 0;
}
.cheat.scroll {
	margin-top: 0;
}

.content-wrapper {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	/*padding: 5%;*/
	/*margin-bottom: 3em;*/
    z-index: 1;
    min-height: 100vh;
}

.content-wrapper.scroll {
	position: relative;
	top: auto;
	height: auto;
}

.content {
	margin-bottom: 2em;
	width: 80%;
	margin: auto;
	padding: 4em 0 6em 0;
	text-align: center;
}

.item {
	display: inline-block;
	width: 25%;
	margin: 2%;
	background-color: #3c3c3c;
	border-radius: 0.5em;
	box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.5);
	text-align: center;
	padding: 1em;
	color: white;
	transition: box-shadow .25s ease;
}

.item:hover {
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.6);
}

.item a {
	line-height: 3em;
}

.item i.big {
	font-size: 300%;
	color: #fece35;
}

.full-width {
	width: 100%;
	margin: 2em 0;
}

.yellow {
	color: #fece35;
	font-weight: normal;
}

footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	/*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);*/
	background: white;
	/*width: 100%;*/
	text-align: center;
	padding: 1em;
	font-style: italic;
	z-index: 2;
	transition: all .25s ease;
	display: none;
}

footer.scroll {
	display: block;
}

/*@keyframes boom {
    0%   {color: inherit;}
    25%  {color: inherit;}
    50%  {color: #fece35;}
    75%  {color: inherit;}
    100% {color: inherit;}
}
.boomboom {
    animation-name: boom;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}*/

a {
	text-decoration: none;
	color: inherit;
	transition: color .25s ease;
}
a:active, a:hover {
	outline: 0;
}
a:hover {
	color: #fece35;
}

@media only screen and (max-width: 600px) {
	.header {
		width: 70%;
	}

	.item {
		width: 80%;
	}
}