.container {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #000000;
   
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.container1 {
    max-width: 1600px;
    margin: 0 auto;
    background-image: url('blackjack.jpg');
    background-color: #000000;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}





#cartas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    color: #000000;
    }
    
    .card {
    width: 110px;  /* Reducido de 120px a 80px */
    height: 170px;  /* Reducido de 180px a 120px */
    background-color: #fff;
    border-radius: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    margin-bottom: 20px; /* Agregamos un margen inferior para separar las cartas en filas */
    }


.hidden {
    background-color: #000;
    color: #000;
}

.spades {
    color: black;
    font-size: 24px; /* Tamaño de fuente para el palo */
}

.hearts {
    color: red;
    font-size: 24px; /* Tamaño de fuente para el palo */
}

.diams {
    color: red;
    font-size: 24px; /* Tamaño de fuente para el palo */
}

.clubs {
    color: black;
    font-size: 24px; /* Tamaño de fuente para el palo */
}

.card-header {
    color: #101dda;
}

#player-number-label {
    font-size: 10px; /* Tamaño de fuente para el número del jugador */
}



body3 {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    background-color: #000000;

    overflow: hidden;
    position: relative;
}

.text-container {
    position: relative;
    color: white;
    font-size: 50px;
    overflow: hidden;
    white-space: nowrap;
}



.linea-laser {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px; /* Grosor de la línea láser */
    background-color: #FFEB00; /* Color amarillo */
    animation: moverLinea 13s linear infinite; /* Animación de movimiento */
}

@keyframes moverLinea {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Animación de aumento de tamaño */
@keyframes increaseSize {
    0% {
        font-size: 60px;
    }
    50% {
        font-size: 100px; /* Tamaño máximo */
    }
    100% {
        font-size: 60px;
    }
}

.stamp {
position: absolute;
top: 10px;
left: 10px;
background-color: rgb(37, 255, 18);
padding: 5px;
border-radius: 5px;
}

.betting-container {
background-color: #000000; /* Color de fondo */
border: 2px solid #e3ff66; /* Borde */
border-radius: 10px; /* Borde redondeado */
padding: 20px; /* Espacio interno */
margin-top: 20px; /* Margen superior */
}

.copyright {
text-align: center;
}

#nombresJugadores {
display: flex;
flex-wrap: wrap;
}

.jugador {
    background-color: #128c7e;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
}



header {
    background-color: #000000;
    color: #fff;
    padding: 10px;
    text-align: center;
}



.menu {
background-color: #333;
padding: 10px;
}

.menu ul {
list-style-type: none;
padding: 0;
margin: 0;
display: none; /* Ocultar el menú por defecto */
flex-direction: column; /* Hacer que los elementos del menú se apilen verticalmente */
justify-content: center;
}

.menu ul li {
margin-bottom: 10px;
}

.menu ul li a {
text-decoration: none;
color: #fff;
padding: 5px 10px;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.menu ul li a:hover {
background-color: #555;
}

.menu-btn {
background-color: #007bff;
color: white;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
display: flex;
justify-content: center;
margin: 10px auto;
transition: background-color 0.3s ease;
}

.menu-btn:hover {
background-color: #0056b3;
}

/* Mostrar el menú cuando la clase 'open' está activa */
.menu.open ul {
display: flex;
}






 /* Estilos CSS aquí */
 #timer-container {
    text-align: center; /* Centra el contenido */
  }

  #timer {
    margin-top: 20px; /* Añade margen superior al temporizador */
  }

  /* Definición del ancho del input */
  #timer-input {
    max-width: 100px; /* Ajusta el ancho máximo del input */
  }

  .container3 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black; /* Establece el color de fondo a negro */
    color: white; /* Cambia el color del texto a blanco */
    height: 60vh; /* Ajusta la altura según tu diseño */
  }

  #save-button {
    background-color: blue; /* Cambia el color de fondo a azul */
    color: white; /* Cambia el color del texto a blanco */
  }


  #timer-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .input-group {
    gap: 10px;
    margin-bottom: 1.5rem !important;
  }
  
  .small-input {
    width: 120px !important;
    text-align: center;
    font-size: 1.2rem;
    padding: 12px !important;
    border: 2px solid #dee2e6 !important;
    border-radius: 8px !important;
  }
  
  .small-input:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
  }
  
  .input-group-text {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    padding: 0 10px;
  }
  
  #timer {
    font-size: 2.5rem;
    margin-top: 1rem;
    color: #2c3e50;
    font-weight: bold;
  }
  
  #timer span {
    display: inline-block;
    min-width: 70px;
    padding: 5px 15px;
    background: #ffffff;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    margin: 0 5px;
  }
  
  .btn {
    font-weight: bold;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
  }
  
  .btn-primary {
    background: #3498db;
    border-color: #3498db;
  }
  
  .btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
  }
  
  .btn-warning {
    background: #e67e22;
    border-color: #e67e22;
    color: white;
  }
  
  .btn-warning:hover {
    background: #d35400;
    transform: translateY(-2px);
  }
  
  /* Estilos para validación */
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  input:invalid {
    border-color: #e74c3c !important;
  }
  
  /* Responsive */
  @media (max-width: 576px) {
    .input-group {
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .small-input {
      width: 100% !important;
      font-size: 1rem;
    }
    
    #timer {
      font-size: 2rem;
    }
    
    .btn {
      width: 100%;
      margin-top: 10px;
    }
  }







  /* Contenedor principal */
#players-container {
    margin: 2rem auto;
    max-width: 800px;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  label[for="players"] {
    display: inline-block; /* Ajusta el tamaño al contenido */
    font-size: 1.1rem;
    color: #9c0000;
    margin-bottom: 0.5rem;
    font-weight: 500;
    background-color: #ffffff; /* Fondo blanco */
    padding: 2px 4px; /* Opcional, para darle espacio interno */
    border-radius: 4px; /* Opcional, para bordes redondeados */
  }
  
  