    .board {
      width: 90%;
      max-width: 800px;
      margin: 20px auto;
      padding: 20px;
      display: grid;
      grid-template-columns: repeat(auto-fill, 80px);
      gap: 10px;
      justify-content: center;
      background-color: var(--subColorLight);
      border-radius:10px;
    }

    .card {
      width: 80px;
      height: 80px;
      perspective: 600px;
    }

    .inner {
      position: relative;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      transition: transform 0.4s;
    }

    .card.flipped .inner {
      transform: rotateY(180deg);
    }

    .front, .back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 8px;
      overflow: hidden;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  pointer-events: none;
	  inset: 0;
    }

    .front img, .back img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .front {
	  transform: rotateY(180deg);
	  z-index: 2;
	  background-color: var(--subColorLight);
    }
    
	.back {
	  z-index: 1;
	}


    .card.matched {
      animation: matchScale 1s ease-out;
      z-index: 10;
    }

	#zoomedImage {
	  position: fixed;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	  z-index: 2000;
	  box-shadow: 0 0 20px rgba(0,0,0,0.5);
	  max-width: 90vw;
	  max-height: 90vh;
	  object-fit: contain;
	  transition: transform 0.2s;
	  background-color: white;
	}


	.aa_txtInput {
		border: solid 0.5px ;
		border-radius: 10px;
		margin: 1em;
		padding: 0.5em;
		text-align: center;
	}
	
	
	#aa_crearChara{
		display: none;
		background-image: url(./images/aa_clearImage.png);
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		width: 100%;
		height: 100%;
		z-index: 500;
		bottom: 10%;
		margin: auto;
	}
	#replayArea {
		margin: 20px;
		display: none;
		text-align: center;
	}
	img.previewed  {
		image-rendering: auto;
	}
@keyframes matchScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

