@import url('http://fonts.cdnfonts.com/css/nexa-bold');
.modal-window {
	position: fixed;
	background-color: rgba(255, 255, 255, 0.25);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s;
}
.modal-window:target {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}
.modal-window  > div {
	width: 400px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	 padding: 2em;
	 background: #fff;
	 -webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
}
.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}
.modal-window div:not(:last-of-type) {
  margin-bottom: 15px;
}
@keyframes drop-out {
    from {
      transform:
        perspective(500px) rotateY(0deg);
      opacity: 1;
    }
    to {
      transform:
        perspective(500px) rotateY(-90deg);
      opacity: 1;
    }
  }
 @keyframes drop-in {
    from {
      transform:
        perspective(500px) rotateY(-90deg);
      opacity: 1;
    }
    to {
      transform:
        perspective(500px) rotateY(0deg);
      opacity: 1;
    }
  }

  .box {
    animation: drop-in 30ms;
  }
.column {
  float: left;
  width: 50%;
}
.column2 {
  float: left;
  width: 33.33%;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
.row{
	
width: 100%;	
}
.mobile-img {
    display:none;
  }
  .pc-img {
    display: block;
  }
#reloj{
		
		margin-top: 50px;
	}

html {
    margin:    0 auto;
    max-width: 1250px;
}
  .aligned {
            display: flex;
            align-items: center;
        }

body{	
  
	 background: url(../imagenes/Allegra-fondo.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
	 
	
	  height: 100%;
	    text-align:center;
	     padding: 0px;
	     font-family: 'Nexa', sans-serif;
	    font-size: 11pt;
	    font-weight: 400;
	    color: #fff;
	 margin:    0 auto;
    max-width: 100%;
}

.cronometro:before {
content: url(imagenes/reloj.png);
}

#mesa {
    width: 850px;
}
#mesa .memotest_cartas {
    list-style: none;
    float: left;
    margin: 0px 20px 20px 0px;
      width: 178px;
    height: 178px;
    display: block;
    cursor: pointer;
	 transition: transform 0.5s linear;
  transform-origin: center;
  transform-style: preserve-3D;
	
	}
#mesa .memotest_carta_invisible{
	 
/*transform: rotateY(180deg);*/
		
	/*z-index: 10;*/
}
#mesa .card-flipped  {
	
animation: drop-in 300ms;
	/*transform:perspective(500px) rotateY(360deg);
	-webkit-backface-visibility: hidden;
  backface-visibility: hidden;*/
	/*z-index: -10;*/
}
#mesa .memotest_fin_juego {
    font-size: 16px;
}
#mesa .memotest_jugar_de_nuevo {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}
#mesa .memotest_jugar_de_nuevo {
    text-decoration: underline;
}

.clear {
    clear: both;
}





#holder {
	    margin :0 auto;
	    display:inline-block;
	    width: 100%;
	}
	.left {
	    float:left;
	}
	.right {
	    float:right;
	}
	#logo {
	    align:middle;
	    text-align:center
	}
	#wrapper {
	    height:10px;
	    position: relative;
	    padding: 0em 0em 0em 0em;
	   
	    
}
.fondo_niveles{
	 background: url("../imagenes/cuadro_blanco.svg")  center center ; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
	 
	
	  height: 600px;
	width: 850px;
	    text-align:center;
	     padding: 0px;
	     font-family: 'Nexa', sans-serif;
	    font-size: 11pt;
	    font-weight: 400;
	    color: #fff;
	 margin:    0 auto;
    max-width: 100%;
	
}
#reloj{
		font-size:35px;
		margin-top: 50px!important;
	}
.home-titulo{
	width:100%;
	margin-top:50px;
}
@media only screen and (max-width: 900px) {
	.home-titulo{
	width:80%;
		margin-top:0px!important;
}
	#reloj{
		font-size:24px;
		margin-top: 180px!important;
	}
	.mobile-img {
    display: block;
  }
  .pc-img {
    display: none;
  }

#mesa {
    width: 650px!important;
}
#mesa .memotest_cartas {
    list-style: none;
    float: left;
    margin: 0px 20px 20px 0px;
      width: 178px;
    height: 178px;
    display: block;
    cursor: pointer;
	 transition: transform 0.5s linear;
  transform-origin: center;
  transform-style: preserve-3D;
	
	}	
	.column {
  float: left;
  width: 100%;
}
.column2 {
  float: left;
  width: 33.33%;
}
	html {
    margin:    0 auto;
    max-width: 1250px;
}
	
} 
