/*************************
* FONTS
*************************/
/* Courgette Regular */

  @font-face {
    font-family: 'Courgette';
    src: url('../fonts/Courgette-Regular.woff2') format('woff2'),
        url('../fonts/Courgette-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

  /* Eurostile Extended */
  @font-face {
    font-family: 'Eurostile';
    src:url('../fonts/eurostile-extended.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

  /* Eurostile Extended Bold */
  @font-face {
    font-family: 'Eurostile';
    src: url('../fonts/eurostile-extended-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    max-width: 100vw;
  }

  body {
    background-color: black;
    color: white;
    overflow-x: hidden;
  }
  
  .h100vh{
    min-height: 100vh;
    height: -webkit-fill-available;
  }

  .fondo-uno {
    background-image: url('/img/MLB-MEXICO-2025-back-reglas-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .fondo-dos{
    background-image: url('/img/MLB-MEXICO-2025-back-inicio.jpg');
    background-size: cover;         
    background-position: center;    
    background-repeat: no-repeat;  
    line-height: 1.6;
  }

  .fondo-tres{
    background-image: url('/img/MLB-MEXICO-2025-back-preguntas.jpg');
    background-size: cover;         
    background-position: center;  
    background-repeat: no-repeat;  
  }

  .fondo-terminos {
    background-image: url('/img/MLB-MEXICO-2025-back-reglas.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  

  /* Estilos letra */
  h1 {
    margin-bottom: 60px;
    font-family: 'Courgette', cursive;
  }

  .number{
    font-family: 'Courgette', cursive;
  }

  .pregunta-juego{
    font-family: 'Courgette', cursive;
  }

  .respuesta-juego{
    font-family: Eurostile, sans-serif;
    font-size: 13px;
    font-weight: 500;
  }
  p{
    font-family: Eurostile, sans-serif;
    font-size: 14px;
  }

  label{
    font-family: Eurostile, sans-serif;
    font-size: 12px;
  }

  a,strong,li{
    font-family: Eurostile, sans-serif;
    font-size: 12px;
  }

  .btn-custom {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .btn-custom:hover {
    background-color: #0056b3;
  }

  .text-subtitle{
    font-size: 10px;
    font-weight: 600;
  }

  .text-filtros{
    background-color: #19191927;
    -webkit-backdrop-filter: blur(3px); 
    backdrop-filter: blur(1px); 
    color: white;
  }

  .text-footer {
    font-family: Eurostile, sans-serif;
    color: white;
    font-size: 10px;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
  }

  /*Boton para cambiar entre secciones*/
  .continuar, .continuar-validacion, .continuar-juego, .continuar-preguntas{
    background-color: #CE0028;
    font-family: Eurostile;
    color: white;
    border: 2px solid white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .continuar-texto {
    background-color: #CE0028 !important;
    font-family: Eurostile, sans-serif;
    color: white;
    border: 2px solid white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    transition: background-color 0.3s ease, transform 0.2s ease;

    display: inline-flex; /* clave para respetar tamaño y padding */
    justify-content: space-between;
    align-items: center;
  }


  .continuar:hover, .continuar-validacion:hover, .continuar-juego:hover, .continuar-preguntas:hover {
    background-color: #CE0028;
    transform: scale(1.02);
    color: white;
    border: 2px solid white;
  }

  .text-button {
    padding: 5px 20px;
    text-align: left;
    border: 2px solid white;
    border-radius: 10px;
    white-space: nowrap;
    font-size: clamp(7px, 4vw, 10px);
    color: white;
    background-color: #191919CC;
    -webkit-backdrop-filter: blur(3px); 
    backdrop-filter: blur(3px);        
  }

  .container-custom {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  /*Diseño para tabla de ranking*/
  
  
  .table-transparent {
    background-color: transparent;
    border-collapse: collapse;
  }

  .table-transparent td, .table-transparent th {
    border: none !important;
    background-color: transparent !important;
    color: white; 
  }

  .table-transparent tr:hover td {
    background-color: rgba(255, 255, 255, 0.05); 
  }
  
  .celda-personalizada {
    padding: 5px 20px;
    text-align: left;
    border: 2px solid white;
    border-radius: 20px ;
    color: white;
    background-color: #0b0b0c92;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }


  .col-pts, .col-rank{
    width: 60px;
  }


  .col-name{
    width: 90px;
  }

  .col-name, .col-pts{
    font-family: Eurostile, sans-serif;
    font-size: 13px;
  }

  .col-rank{
    font-family: 'Courgette', cursive;
    font-size: 20px;
  }

  .section {
    margin-bottom: 40px;
  }

  .step-number{
    font-size: 40px;
  }

  .selected { 
    border: 2px solid #198754; 
  }

  .pantalla {
    display: none;
  }

  .pantalla.active {
    display: block;
  }

  /*Custom checkbox*/

.form-check input[type=checkbox] {
    float: left;
    margin-left: -1.5em;
    --bs-form-check-bg: var(--bs-body-bg);
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}
.form-check input:checked[type=checkbox] {
    --bs-form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e);
}
.form-check input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}