:target {
	border-color: #333;
	background: #ffc61e;
	color: #333;
	width: 50%;
	margin-top: 0;
}


html,body{
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	
}

html,body{
	font-family: 'Roboto Slab', serif;
background-color: #ffc61e;
}





#panneaucentral{
	position: relative;
	display: block;
	padding: 1em;
	
	height: 80%;
	overflow: hidden;
}

#panneaucentral:hover a{
	width: 10%;
	padding-left: 0.4%;
	padding-right: 0.4%;
}

#panneaucentral	a{
	display: inline-block;
	padding: 0;
	font-size: 1.7em;
	text-decoration: none;
	width: 18.5%;
	height: 99%;
	border: 3px solid #fff;
	overflow: hidden;
}
#panneaucentral a{
	-webkit-transition: all 1s;
	transition: all 1s;
	color: #744300;
}
#panneaucentral	a:hover{
	border-color: #333;
	background: #fff;
	color: #333;
	width: 50%;
	margin-top: 0;
}
#panneaucentral	a span{
	display: block;
	text-align: justify; 
}

#panneaucentral	a span span{
	position: relative;
	font-size: 50%;
	-webkit-transition: opacity 1s, display 1s;
	transition: opacity 1s, display 1s;
}
#panneaucentral	a span span:nth-child(2){
	opacity: 0;
}

#panneaucentral	a:hover span span:nth-child(1){
	opacity: 0;
	display: none;
}
#panneaucentral	a:hover span span:nth-child(2){
	opacity: 1;
	display: block;
}

#panneaucentral	a img{
	border-right: 500px solid rgb(81, 173, 228);
}
#panneaucentral	a img{
	margin-left: -1em;
}


#container{
	display: block;
	width: 1000px;
	height: 90%;
	margin-top: 5%;
	margin-left: 20%;
}
