box-text1 {
    position: absolute;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    right: 20%;
    left: 20%;
    z-index: 9999;
    text-align: center;
}
.modal-bottom {
  position: fixed;
  top: 60%;
  transform: translateY(100%);
  margin-bottom: 20px; /* Espacio adicional opcional para evitar que el modal esté justo en el borde */
}
.contador {
  position: absolute;
  top: 70%;
  right: 0;
}
.voz {
  position: absolute;
  padding: 0px;
  background: white;
  top: 0%;
  right: 0%;
  color:teal;
  transition: transform 0.2s;
}
.voz:hover {
	transform: scale(1.1);
	color: black;
	background-color: teal;
}
.tablero {
  background-color: #000;
  border: 10px solid #A0522D;
  border-radius: 5px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.25);
  color: white;
  font-weight: bold;
  padding: 20px;
  overflow-y: auto;
  background-image: url('../images/circuit.png');
}
.border-thick {
      border-width: 16px; 
}
.tablero p {
  text-align: center;
  
  margin: 2px; 
}
.mi-titulo {
  overflow: hidden; /* Evita que el texto salga del contenedor */
  //border-right: .15em solid orange; /* Simula el cursor */
  //white-space: nowrap; /* Evita que el texto se rompa en líneas */
  margin: 0 auto; /* Centra el título */
  letter-spacing: .15em; /* Espaciado entre letras */
  animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite; /* Define la animación */
}
.mi-titulo1 {
  overflow: hidden; /* Evita que el texto salga del contenedor */
  border-right: .15em solid orange; /* Simula el cursor */
  //white-space: nowrap; /* Evita que el texto se rompa en líneas */
  margin: 0 auto; /* Centra el título */
  letter-spacing: .15em; /* Espaciado entre letras */
  animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;  /* Define la animación */
  animation-delay: 2s;
}
/* Animación de escribir */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* Animación de intermitencia del cursor */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange }
}