@import url(http://fonts.googleapis.com/css?family=Amatic+SC);

body{
	margin: 0;
	padding: 0;
	font-family: Arial;
}

a{
	text-decoration: none;
	color: #378643;
}

a:hover{
	text-decoration: underline;
}

header{
	width: 100%;
}

.logo{
	width: 300px;
	height: 110px;
}

main{
	-webkit-box-shadow: 0 0 30px -10px #000000;
	box-shadow: 0 0 30px -10px #000000;
	width: 980px;
	margin: 0 auto 50px;
	padding: 30px;
	background: white;
}

footer{
	width: 100%;
	padding-bottom: 10px;
	padding-top: 10px;
	text-align: center;
	font-size: 12px;
	background-color: rgba(0,0,0,0.90);
	color: white;
	position: fixed;
	bottom: 0;
}

section p{
	text-align:justify;
}

nav{
	background: #378643;
	text-align: center;
	margin-bottom: 50px;
}

nav a{
	color: white;
	padding: 10px 15px;
	display: inline-block;
	vertical-align: middle;
	padding-bottom: 2px;
}

nav a:hover{
	text-decoration: none;
	border-bottom: solid 1px white;
}

nav a.active{
	border-bottom: solid 1px white;
	padding-bottom: 2px;
}

p{
	text-align: justify;
}

h1{
	padding: 20px 0 20px 0;
	border-bottom: solid 1px black;
	margin: 0 0 40px 0;
	font-family: 'Amatic SC', cursive;
	font-size: 50px;
	color: #46AA55;
	background: url('../images/lucius.png') no-repeat;
	background-position: right;
}

h2{
	font-size: 24px;
	color: #46AA55;
	text-align: left;
}

h3{
	font-size: 22px;
	color: #46AA55;
	padding-top: 5px;
	text-align: center;
}

.logoteam {
	margin: auto;
	display: block;
	padding: 20px 0; 
}

.logoindex:hover{
	border-bottom: none;
}

.pteam{
	text-align: center;
}

.up{
	position: fixed;
	right: 40px;
	bottom: 50px;
}

.divcomparaison{
	text-align:center;
}

.pcomparaison{
	text-align: left;
}

div.comparaison{
	display: inline-block;
	width: 485px;
	clear: both;
}

.imagecomparaison{
	border: solid black 1px;
	float: left;
	width: 200px;
	margin: 0 20px 20px 20px;
}

.bon{
	color: green;
}

.mauvais{
	color: darkred;
}

div.divbouton{
	text-align: center;
	clear: both;
}

a.bouton span{
	display: block;
}

a.bouton{
	padding: 15px;
	color: white;
	background: #0a6e19;
	display: inline-block;
	margin: 5px;
	width: 200px;
	clear: both;
}

div.liens_accueil{
	text-align: center;
	margin: 80px auto;
}

div.liens_accueil a{
	display: inline;
}

a.bouton:hover{
	text-decoration: none;
	background: #46AA55;
}

#menu{
	display: none;
}

@media screen and (max-width: 980px){
	
	#menu{
		display: inline;
		padding: 9px;
		border: none;
		background: white;
		float: right;
		text-transform: uppercase;
		vertical-align: top;
		color: #46AA55;
	}

	header nav a{
		display: none;
	}

	a.logoindex{
		display: inline;
	}
	
	main{
		width: auto;
	}
	
	.up{
		display: none;
	}
	
	div.comparaison{
		width: auto;
		padding: 15px;
		margin: 28px;
		display: block;
	}
	
	section p{
		text-align: left;
	}
}

@media screen and (max-width: 460px){
	.logoteam{
		width: 100%;
	}
	
	div.liens_accueil a{
		display: block;
		margin: 10px auto;
		width: auto;
	}
}

@media screen and (max-width: 595px){
	h1{
		background: none;
	}
}

@media screen and (max-width: 700px){
	
	div.liens_accueil a{
		display: block;
		margin: 10px auto;
		width: 250px;
	}
}