.blanco{color: white}

@font-face {
    font-family: 'clan';
	src:  url('ClanWebPro-NarrMedium.woff') format('woff');
	font-weight: normal;
  	font-style: normal;
}


* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: black;
  min-height: 100%;
  font-family: "clan", sans-serif;
}

.wrap {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.game {
  transform-style: preserve-3d;
  perspective: 500px;
  min-height: 100%;
  height: 100%;
}


.card {
  float: left;
  width: 12.5%;
  height: 33.33%;
  padding: 5px;
  box-sizing: border-box;
  text-align: center;
  display: block;
  perspective: 500px;
  position: relative;
  cursor: pointer;
  z-index: 50;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media (max-width: 800px) {
  .card {
    width: 25%;
    height: 16.666%;
  }
}
.card .inside {
  width: 100%;
  height: 100%;
  display: block;
  transform-style: preserve-3d;
  transition: 0.4s ease-in-out;
  background: white;
}
.card .inside.picked, .card .inside.matched {
  transform: rotateY(180deg);
  -webkit-backface-visibility: hidden;
  backface-visibility:visible;
}
.card .inside.matched {}
.card .front, .card .back {
  border: 1px solid black;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0px;
}
.card .front img, .card .back img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  max-height: 100%;
}
.card .front {
  transform: rotateY(-180deg);
  background-color:white;
  
}
@media (max-width: 800px) {
  .card .front {
    padding: 5px;
  }
}
.card .back {
  transform: rotateX(0);background-color: #acc435; 
}
@media (max-width: 800px) {
  .card .back {
    padding: 10px;
  }
}

.modal-overlay {
  display: block;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal {
  display: block;
  position: relative;
  height: 80%;
  width: 80%;
  margin: 0 auto;
  background: #acc435;
  top: 50%;
  transform: translateY(-50%);
  padding: 40px;
  box-sizing: border-box;
  color: white;
}
.modal .logo1{position: absolute; top: 40px; right: 40px; z-index: 1; width: 100px; height: auto}
.modal .logo2{position: absolute; bottom: 40px; right: 40px; z-index: 1; width: 100px; height: auto}

.modal > .flexat{display: inline-flex; justify-content: space-between; align-items: center; width: 50%; height: 100%}
.flexat{color: black; font-size: 20px; line-height: 1.6em; text-align: left}
.flexat h2{color: white; font-size: 40px; line-height: 1.2em;font-weight: bold; text-align: left; margin-bottom: 40px}
.flexat span.boto{margin-top: 40px; border-radius: 20px; border: 1px solid white; padding: 5px 50px 2px 50px; cursor: pointer; float: left;-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out; color: white}
.flexat span.boto:hover{color: #acc435; background-color: white}
.thankyou{display: none}

.politiques{margin-top: -20px;}
.politiques a{font-size: 12px; color: white; text-decoration: none}