#corpsJeux {
	max-width: 640px;
	margin: 24px auto 0;
	padding: 28px 24px;
	background-color: #eef2f6;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(22,56,96,.1);
	text-align: center;
}
.chargement {
	color: #5a6b7d;
	font-style: italic;
}
	#corpsJeux button{
		background-color: transparent;
		border-style:none;
		padding:0px;
		margin:6px;
	}

    /* Pour ce qui est des propriétés du type perspective, transform, transition ou encore backface et selon les navigateurs Internet, il faut rajouter les préfixes correspondants: -webkit, -moz-, ms- ou -o*/
    .flippingcard {
        position: relative;
        display: inline-block;
        transition: transform .15s ease;
    }
    .flippingcard:hover {
        transform: translateY(-2px);
    }
    div[class^="card"] {
        height: 140px;
        width: 140px;
        perspective-origin: center bottom;
        position: relative;
    }
    div[class^="card"] [class^="face"] {
        /* Dans ce cas, il faut laisser un espace entre les deux sélecteurs d'attributs */
        /*L'option TidyUp de JsFiddle va automatiquement enlever l'espace entre les deux sélecteurs d'attributs*/
        height: 100%;
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        backface-visibility: hidden;
        transform-style: preserve-3d;
        transition-duration: 0.5s;
        transition-property: transform;
        transition-timing-function: ease-out;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(22,56,96,.2);
    }
    div[class^="card"] .face-front {
        background-color: #163860;
		background-image: url("carte.png");
        z-index: 5;
    }
    div[class^="card"] .face-back {
        background-color: #fff;
        z-index: 0;
        transform: rotateY(-180deg);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    div[class^="card"].rotated .face-front {
        z-index: 5;
        transform: rotateY(180deg);
    }
    div[class^="card"].rotated .face-back {
        z-index: 10;
        transform: rotateY(0deg);
    }
    div[class^="card"].trouve .face-front {
        z-index: 5;
        transform: scale(0.01,0.01);
    }
    div[class^="card"].trouve .face-back {
        z-index: 10;
        transform: scale(0.01,0.01);
        box-shadow: none;
        background-color: transparent;
    }
    div[class^="card"] .face-back > p {
		font-weight:bold;
		color:#163860;
		font-size:1.1em;
		line-height:1.25;
		max-width:130px;
		margin:0 5px;
		text-align: center;
		overflow-wrap: break-word;
		word-break: break-word;
		hyphens: auto;
	}
    button {
        cursor: pointer;
    }

#dialogGagne {
	text-align: center;
	border: none;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 24px rgba(0,0,0,.3);
	animation: dialogJeuOuverture .3s ease-out;
}
#dialogGagne::backdrop {
	background: rgba(0,0,0,.4);
}
@keyframes dialogJeuOuverture {
	from { transform: scale(.85); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}
#dialogGagne button {
	margin-top: 16px;
	border: none;
	border-radius: 20px;
	background-color: #163860;
	color: #fff;
	font-weight: bold;
	padding: 8px 20px;
	cursor: pointer;
}