/*********************************************************************/
/* = Version : 1.0 */
/* = Date de la version : xx/06/2014 */
/* = Auteur : Patrick Joly */
/* = Contact : patrickjoly@free.fr */
/*********************************************************************/
body {
  	background-color: #6fcc6a;
	color: #ffffff;
	font-family: "trebuchet ms", helvetica, arial, sans-serif;
	font-size: 1em;
	margin: 0 auto;
	max-width: 90%;
	overflow: scroll;
	padding: 0;
	text-align: justify;	
}

/* header */
header {
	margin: 60px 0 0 0;
	padding: 0;
	text-align: center;
}

/* navigation */
nav {
	background: #af5db3;
	margin: 0;
	min-height: 2em;
	padding: 10px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;	
}

nav ul {
	margin: 0;
	padding: 0;
	text-align: center;
	transition: max-height 0.5s linear;
}

nav li {
	display: inline-block;	
	margin: 0;
	padding: 5px;
}

nav li a {
	background: #6fcc6a;
	color: #ffffff;
	text-decoration: none;
	margin: 0;
	padding: 5px;
	-ms-border-radius: 5px;	
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;	
}

nav li a:hover {
	background: #ffffff;
	color: #af5db3;
}

.checkbox {
  display: none;
}

/* footer */
footer {
	border-top: 1px solid #ffffff;
	margin: 0;
	padding: 10px;
	min-height: 2em;
	text-align: center;
}

/* titres */
h1 {
	font-size: 3em;
	font-weight: bold;
	letter-spacing: 10px;	
	margin: 0;
	padding: 0;
}

h2 {
	font-size: 2em;
	letter-spacing: 5px;
	margin: 0;
	padding: 0;	
}	

h3 {
	border-bottom: 1px solid #ffffff;
	font-size: 1.2em;
	margin: 20px 0 0 0;
	padding: 0;	
}

a {
	color: #af5db3;
	text-decoration: underline;
}

a:hover {
	color: #ffffff;
	text-decoration: none;	
}

/*********************************************************************/
/* Feuille de style mobile */
/*********************************************************************/
@media (max-width: 650px) {
h1, h2 {
	letter-spacing: 0;	
}

nav ul {
	max-height: 0;
	overflow: hidden;
	margin: 0;
}
  
nav li {
    display: block;
    padding: 10px;
	text-align: left;
	visibility: hidden;
}

nav .clic {
    display: block;	
	position: absolute;
	right: 20px;	
	top: 15px;
}  
  
.clic {
	background: #6fcc6a;
	cursor: pointer;
	height: 0;
	padding: 10px;
}

#checkbox:checked + nav ul {
	max-height: 300px;
}

#checkbox:checked + nav li {
	visibility: visible;
}
}