@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
/* ---- REGLAS ICONOS ---- */
@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon.eot?9demlr");
  src: url("../fonts/icomoon.eot?9demlr#iefix") format("embedded-opentype"), url("../fonts/icomoon.ttf?9demlr") format("truetype"), url("../fonts/icomoon.woff?9demlr") format("woff"), url("../fonts/icomoon.svg?9demlr#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

.iconoMusica {
  position: absolute;
  top: 5px;
  left: 5px;
  float: left;
  color: #333;
  cursor: pointer;
  font-size: 17px;
}
.iconoMusica:before { content: "\ea27"; }

.iconoSilencio {
  position: absolute;
  top: 5px;
  left: 5px;
  float: left;
  color: #333;
  cursor: pointer;
  font-size: 17px;
}
.iconoSilencio:before { content: "\ea2a"; }

i {
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-close {
  position: relative;
  top: 5px;
  right: 5px;
  float: right;
  color: #b93940;
  cursor: pointer;
  font-size: 15px;
}

.icon-close:before { content: "\ea0f"; }
.iconoJugar:before {
  content: "\ea1c";
  font-size: 14px;
  margin-right: 10px;
}

.iconoReiniciar:before {
  content: "\e984";
  font-size: 14px;
  margin-right: 10px;
}
/* ---- FIN de las reglas ICONOS ---- */

/* ---- REGLAS GENERALES de PÁGINA ---- */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  font-weight: 400;
}
a { text-decoration:none; }
sup {
  font-size: 13px;
  margin-left: 2px;
  position: absolute;
}
/* ---- FIN de las reglas GENERALES ---- */

/* ---- Reglas del VIDEO INICIAL ---- */
.infoInicial {
  margin: 40px auto auto;
  min-width: 310px;
  max-width: 600px;
  text-align: center;
  position: relative;
}
.cajaVideo { position: absolute; z-index: 1 }
.video { width: 100%; }
#botonInfoinicial { padding: 2%; margin: 34.5% auto; display: inline-block; }
.overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
}

#botonInfoinicial div {
  background-image: -webkit-linear-gradient(68deg, #8BB5FF 53%, #8BD2FE 50%);
  font-size: 25px;
}
#botonInfoinicial .iconoJugar:before { font-size: 24px; }
/* ---- FIN de las reglas del MENSAJE INICIAL ---- */

/* ---- REGLAS MENSAJE FINAL ---- */
.mensajeFinal {
  text-align: center;
  font-size: 16px;
  height: 65px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}
.superada { background-color: #59A990; }
.noSuperada { background-color: #D25B62; }
/* ---- FIN reglas MENSAJE FINAL ---- */

/* ---- REGLAS del MARCADOR ---- */
.marcador {
  padding-bottom: 65px;
  background-color: #CFDE00;
  display: block;
}

.indicadores {
  padding-left: 2%;
  max-width: 620px;
  margin: 0 auto;
}

.indicadores li {
  display: block;
  float: left;
  width: 32%;
  text-align: center;
  position: relative;
  padding: 14px 0 8px;
}

.titIndicador {
  font-size: 11px;
  text-transform: uppercase;
  line-height: 15px;
  opacity: .65;
}

.cajaPuntos {
  padding: 4px 0;
  background-color: #F5F5F5;
  border-radius: 3px;
  border-top: 1px solid #fff;
  position: relative;
  box-shadow: rgba(0,0,0,.3) 2px 2px 6px;
}
/* ---- FIN de las REGLAS del MARCADOR ---- */


/* ---- REGLAS de la ACTIVIDAD en general ---- */

/* -- Reglas para hacer dos columnas (Juego + Resultados) -- */
.fila { display: block; }
.columna1 {
  flex-direction: column;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
.columna2 {
  flex-direction: column;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
.columna3 { flex-grow:2; }
/* .container-canvas canvas { width:100%;} */

/* -- Reglas para la COLUMNA del JUEGO (izquierda) -- */
.cajaJuego {
  min-width: 320px;
  margin: 20px auto auto auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -moz-transform: perspective(1000px);
  -webkit-perspective: 1000px;
  perspective: 1000px;
}
.cajaJuegoPeque { min-width: 320px; }

/* Reglas para las TARJETAS */
.tarjeta {
  width: 145px;
  height: 135px;
  font-size: 14px;
  margin: 5px;
  position: relative;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: transform .5s;
  transition: transform .5s;
  box-shadow: 8px 10px 6px -6px #aaa;
  border: 3px solid #CFDE00;
  border-radius: 5px;
}

.tarjeta p {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.tarjetaPeque { width: 145px; height: 120px; font-size: 13.8px; }
.pointed { cursor: pointer; }
.tarjeta:active {
  -webkit-transform: scale(0.97);
  transform: scale(0.97);
  -webkit-transition: transform .2s;
  transition: transform .2s;
}

.tarjeta.seleccionada {
border: 3px solid rgb(245, 201, 142);
-webkit-transform: scale(0.97);
transform: scale(0.97);
-webkit-transition: transform .2s;
transition: transform .2s;
}

.frente {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 5px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.prueba { background-color: red!important; }
/* -- FIN de las reglas para la COLUMNA del JUEGO (izquierda) -- */

/* -- REGLAS para la COLUMNA de los RESULTADOS (Derecha) -- */
.final{ width: 500px; display: none; }
#cajaFinal {
  margin: 15px 15px auto 15px;
  width: auto;
  text-align: center;
}

#resultados {
  border: 2px solid #CFDE00;
  border-radius: 5px;
  margin-bottom: 15px;
}

#resultados ul {
  display: inline-block;
  margin-bottom: 10px;
  padding-top: 10px;
}

#resultados li {
  display: inline-block;
  padding: 0 15px;
  list-style:none;
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
  position: relative;
}

.resultDatos {
  font-size: 22px;
  font-weight: bold;
  line-height: 26px;
  display: block;
  font-family: 'Montserrat', sans-serif;
}

.btn {
  padding: 25px 0;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  width: 200px;
}
.btn div {
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  background-color: #CFDE00;
  padding: .4em 1em;
  line-height: 1.7em;
  border-radius: 5px;
  text-transform: uppercase;
}
#cajaReiniciar {  width: 250px; }
.btnReiniciar {padding: .3em!important;}
/* -- FIN reglas para la COLUMNA de los RESULTADOS (Derecha) -- */

/* ---- FIN de las reglas de la ACTIVIDAD en general ---- */

/* REGLAS para OCULTAR o MOSTRAR contenidos */
.ocultar { display: none; }
.acierto { border: 3px solid #59A990!important; }
.fallo { border: 3px solid #D25B62!important; }


#textoJuego { text-align: center; margin-top: 20px; }
