body{
	font-family: 'Syne Mono', monospace;
	margin: 10px;
	font-size: 18px;
}
img{
	width: 30%;
}
.img--text{
	width: 15%;
}
.zombypo{
	display: flex;
	margin: 50px auto;
	width: 90%;
	justify-content: center;
	align-items: center;
}
.animcontainer{
 	width: 150px;
 	height: 100px;
 	position: relative;
 	perspective: 800px;
  	display: block;
 	margin-bottom: 30px;
 	cursor: pointer;
}
.front{	
  	width: 100%;
	height: 100%; 
	position: absolute;
	backface-visibility: hidden;
	text-align: center;
	align-content: center;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 100px;
	border: 1px solid #A40404;
	background-repeat: no-repeat;
	background-size: cover;

}
.flex .animcontainer:nth-child(5n+1) .front{	
	background-image: url(images/sang.png);
}
.flex .animcontainer:nth-child(5n+2) .front{	
	background-image: url(images/sang2.png);
}
.flex .animcontainer:nth-child(5n+3) .front{	
	background-image: url(images/sang3.png);
}
.flex .animcontainer:nth-child(5n+4) .front{	
	background-image: url(images/sang4.png);
}
.flex .animcontainer:nth-child(5n+5) .front{	
	background-image: url(images/sang5.png);
}
.animcontainer:hover{
  	transform:scale(1.05);
 }
.back{
	width: 100%;
	height: 100%;
    position:absolute;
    backface-visibility:hidden;
    background-color: white;
    transform:rotateY(180deg);
    display: flex; /* contexte sur le parent */
  	flex-direction: column; /* direction d'affichage verticale */
  	justify-content: center;
  	align-items: center;
}
.back img{
	width: 100%;
	height: 100%;
}
.flips{
	width: 100%;
	height: 100%;
	margin-top: 2px;
	position:absolute;
	transform-style:preserve-3d;
	transition:transform 0.8s cubic-bezier(0.175,0.885,0.32,1.275);
	background-color: transparent;
}
.flips .back {
  	transform:rotateY(180deg);
}
.flipped{
  	transform:rotateY(180deg);
}
.flex{
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	margin: 100px auto;
}
.boitejeu{
	width: 50%;
	display: block;
	margin: 50px auto
}
.title{
	font-size: 30px;
}
.title--header{
	font-size: 60px;
}
@media (min-width: 700px){
	body{
		margin: 30px 50px;
	}
}
@media (min-width: 1000px){
	.animcontainer{
		margin: 30px 5px;
	}
}
@media (min-width: 1200px){
	body{
		font-size: 23px;
	}
	.title{
		font-size: 35px;
	}
	.title--header{
		font-size: 100px;
	}
	.animcontainer{
		width: 300px;
		height: 250px;
	}
	.boitejeu{
		width: 400px;
	}
	.flex--desktop{
		display: flex;
		justify-content: space-around;
		align-items: center;
	}
	.flex--desktop p{
		width: 600px;
		display: block;
		margin: 20px auto;
	}
}