body {
    font-size: 11pt;
    font-family: 'Poppins', sans-serif;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
h1 {
    font-size: 20pt;
    text-align:center;
}
h2, h3, h4, h5, h6 {
  font-size: 13pt;
  text-align:center;
}
p {
  text-align:center;
}
#contenedor_logotipos {
    position:fixed;
    bottom:0;
    width: 100%;
    background-color:white;
}
#logotipos {
    width: 100%;
    background-color:white;
    margin:0 auto;
    padding:25px 5px;
    text-align: center;
    max-width: 450px;
}
  #progress-bar {
    width: 100%;
    height: 20px;
    background-color: rgb(186, 184, 184);
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #5BC62E !important;
    color: white;
    font-size: 8pt;
  }

  #progress-bar div {
    height: 100%;
    background-color: #5BC62E;
    background: linear-gradient(to right, #5BC62E, #40A8F5);
    transition: width 1s linear;
    box-shadow: 0 0 5px 1px #ccccce44;
  }

  .btn-primary {
    width: 100%;
    min-height:45px;
    max-width: 320px;
    color: #1f1f1f;
    background-color: #eceeef;
    border-radius: 25px;
    border-color:#b8b6b6;
    font-size: 11pt;
    box-shadow: 0 0 5px 1px #ccccce44;
    margin: 5px 0;
    font-weight: 400;
  }
  .btn-primary-seguir {
    width: 100%;
    min-height:45px;
    max-width: 320px;
    color: white;
    background-color: #9F3B17;
    border-radius: 25px;
    border-color:#b8b6b6;
    font-size: 11pt;
    box-shadow: 0 0 5px 1px #ccccce44;
    margin: 5px 0;
    font-weight: 700;
  }
#botones {
    width: 100%;
    text-align: center;
    margin:0 auto;
}
#boton-cast {
    text-decoration: none;
    width: 40%;
    height: 45px;
    color: white;
    background-color:#ECAC00;
    border-radius: 25px;
    border-color:#b8b6b6;
    font-size: 11pt;
    box-shadow: 0 0 5px 1px #ccccce44;
    margin: 5%;
    font-weight: 700;
    float:left;
    padding-top:12px;
}
#boton-eng {
    text-decoration: none;
    width: 40%;
    height: 45px;
    color: white;
    background-color:#FF6395    ;
    border-radius: 25px;
    border-color:#b8b6b6;
    font-size: 11pt;
    box-shadow: 0 0 5px 1px #ccccce44;
    margin: 5%;
    font-weight: 700;
    float:left;
    padding-top:12px;
}
  .btn-primary-cast {
    width: 40%;
    height: 45px;
    color: white;
    background-color:#ECAC00;
    border-radius: 25px;
    border-color:#b8b6b6;
    font-size: 11pt;
    box-shadow: 0 0 5px 1px #ccccce44;
    margin: 5px;
    font-weight: 700;
  }
  .btn-primary-eng {
    width: 40%;
    height: 45px;
    color: white;
    background-color:#FF6395    ;
    border-radius: 25px;
    border-color:#b8b6b6;
    font-size: 11pt;
    box-shadow: 0 0 5px 1px #ccccce44;
    margin: 5px;
    font-weight: 700;
  }
.btn-secondary-cast {
    width: 100%;
    max-width: 450px;
    height: 45px;
    color: white;
    background-color:#ECAC00;
    border-radius: 25px;
    border-color:#b8b6b6;
    font-size: 11pt;
    box-shadow: 0 0 5px 1px #ccccce44;
    margin: 5px;
    font-weight: 700;
  }
  .btn-secondary-eng {
    width: 100%;
    max-width: 450px;
    height: 45px;
    color: white;
    background-color:#FF6395    ;
    border-radius: 25px;
    border-color:#b8b6b6;
    font-size: 11pt;
    box-shadow: 0 0 5px 1px #ccccce44;
    margin: 5px;
    font-weight: 700;
  }
#footer {
    height: 50px;
    width: 100%;
    margin: 0;
    padding:0;
    background-color: #5BC62E;
    background: linear-gradient(to right, #5BC62E, #40A8F5);
    color: white;
    font-size: 13pt;
  }
#header {
    height: 55px;
    width: 100%;
    margin: 0;
    padding:0;
    background-color: #5BC62E;
    background: linear-gradient(to right, #5BC62E, #40A8F5);
    color: white;
    font-size: 13pt;
    position:fixed;
    top:0;
    left:0;
    margin-bottom:55px;
    padding-top:15px;
    z-index:20;
}
  #pantallaInicio {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 3rem 0 2rem;
    color: white;
    font-size: 20pt;
    text-align: center;
    max-width: 450px;
    margin:0 auto;
  }
  #marcador {
    position: relative;
    width: 100%;
    margin: 5px 0 5px 0;
    float:none;
    clear:both;
    max-width: 1140px;
  text-align:center;
  }
  #aspas, #aciertos, #errores, #dado {
    position:relative;
    float:left;
    width:25%;
      height: 70px;
  } 
#dado {
    text-align: right;
}
#aciertos, #errores {
    padding-top:20px;
    font-weight: 300;
  text-align:center;
}
  #separador {
    width: 100%;
    height: 5px;
    margin: 0;
    padding: 0;
    float:none;
    clear:both;
  }
#separador20px {
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0;
    float:none;
    clear:both;
  }
  #imagen_progreso {
    width: 100%;
    margin:0;
    padding:0;
  }
#progreso {
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, #5BC62E, #40A8F5);
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #5BC62E !important;
    color: white;
    font-size: 10pt;
}
#tituloJuego {
  font-size: 25px;
  font-weight: 700;
  color: white;
  text-align:center;
}
#dado-container {
  position: relative;
  width: 202px;
  height: 213px;
  margin: 50px auto;
  text-align:center;
}
form {
    text-align:center;
}
#dado-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/1x/dado1.png');
  background-size: cover;
  animation-name: dado-animation;
  animation-duration: 5s;  /* Tiempo total de la animación (en segundos) */
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes dado-animation {
}

#dado-image {
  display: none;
  margin:0 auto;
  text-align:center;
}
#image {
  margin:0 auto;
  text-align:center;
}
#tema, #boton_seguir_dado {
  margin: 0 auto;
  display:none;
  text-align:center;
}

#container {
  position: relative;
  margin: 50px auto;
  width: 250px;
  height: 250px;
  text-align:center;
}

#loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background-image: url('/1x/dadomov.gif');
  background-repeat: no-repeat;
  background-position: center;
  display: none;
  text-align:center;
}
#dadoInicio {
  position: absolute;
  top: 0;
  margin-top:14px;
  left: 0;
  width: 250px;
  height: 250px;
  text-align:center;
}
#dadoFinal {
  position: absolute;
  top: 0;
  margin-top:14px;
  left: 0;
  width: 250px;
  height: 250px;
  display:none;
  text-align:center;
}
#layer {
    position:relative;
}
.layer {
      position: absolute;
      top: 0;
      left: 0;
    }

    #layer1 {
      z-index: 1;
    }

    #layer2 {
      z-index: 2;
        display:none;
        visibility: hidden;
    }

    #layer3 {
      z-index: 3;
        display:none;
         visibility: hidden;
   }

    #layer4 {
      z-index: 4;
         display:none;
         visibility: hidden;
  }

    #layer5 {
      z-index: 5;
         display:none;
        visibility: hidden;
   }

    #layer6 {
      z-index: 6;
         display:none;
         visibility: hidden;
  }

    #layer7 {
      z-index: 7;
        display: none;
        visibility: hidden;
        }
    #visiblelayer2 {
      z-index: 2;
        display: block;
        visibility: visible;
    }
#visiblelayer3 {
      z-index: 3;
        display: block;
        visibility: visible;
    }
#visiblelayer4 {
      z-index: 4;
        display: block;
        visibility: visible;
    }
#visiblelayer5 {
      z-index: 5;
        display: block;
        visibility: visible;
    }
#visiblelayer6 {
      z-index: 6;
        display: block;
        visibility: visible;
    }
#visiblelayer7 {
      z-index: 7;
        display: block;
        visibility: visible;
    }
#layer1 img, #layer2 img, #layer3 img, #layer4 img, #layer5 img, #layer6 img, #layer7 img, #visiblelayer2 img, #visiblelayer3 img, #visiblelayer4 img, #visiblelayer5 img, #visiblelayer6 img, #visiblelayer7 img{
        width:60px;
}
h1.verde {
    color:#5bc62e;
    font-weight: 700;
}
.verde {
    color:#5bc62e;
    font-weight: 700;
}
.gris {
    color:#6f6f6e;
    font-weight: 700;
}
.rojo {
   color:#ec6839;
    font-weight: 700;
}
.amarillo {
    color:#ecee00;
    font-weight: 700;
}
.azul {
    color:#3666a8;
    font-weight: 700;
}
.naranja {
    color:#ecac00;
    font-weight: 700;
}
.rosa {
    color:#ff6395;
    font-weight: 700;
}
.containerGameOver {
  width: 150px; /* Ajusta el tamaño según tus necesidades */
  height: 150px;
  position: relative;
    margin:0 auto;
}
.rotating-image {
  width: 100%;
  height: 100%;
  position: absolute;
    left:0;
  animation-name: rotate;
  animation-duration: 1s; /* Duración total de la animación en segundos */
  animation-iteration-count: 2; /* Número de veces que la animación se repetirá */
  animation-timing-function: linear; /* Función de temporización lineal para velocidad constante */
  animation-fill-mode: forwards; /* La animación mantiene el estado final después de terminar */
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.bold {
    font-weight: 700;
}
/* Estilos para la tabla */
    table {
        border-collapse: collapse;
        width: 100%;
        margin: 0 auto;
        max-width: 450px;
    }

    th, td {
        padding: 8px;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }

    /* Estilos para las filas alternas */
    tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    /* Estilos para la primera fila (encabezado) */
    th {
        background-color: #ec6839;
        color: white;
    }
/* Estilos para el menú */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
.container {
  position: relative;
  margin: 50px auto;
  text-align:center;
}

.menu-wrap{
    position: fixed;
    top: 0;
    right: 50px;
    z-index: 21;
}

.menu-wrap .toggler{
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 2;
    width: 50px;
    height: 50px;
    opacity: 0;
}

.menu-wrap .hamburger{
    position: absolute;
    top: 0;
    left:0;
    z-index: 1;
    padding: 1rem;
    width: 60px;
    height: 60px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

/*hamburger middle line */

.menu-wrap .hamburger > div{
    position: relative;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: transform 0.4s ease;
}
/*Hamburger top and bottom line*/
.menu-wrap .hamburger > div::before,
.menu-wrap .hamburger > div::after{
    content: "";
    position: absolute;
    top: -10px;
    width: 100%;
    height: 2px;
    background-color: inherit;
}
/*moves line down*/
.menu-wrap .hamburger > div::after{
    top: 10px;
}

/*toggler animation*/
.menu-wrap .toggler:checked + .hamburger>div{
    transform: rotate(135deg);
}

/*turns line into X */
.menu-wrap .toggler:checked + .hamburger>div::before,
.menu-wrap .toggler:checked + .hamburger>div::after{
    top: 0;
    transform: rotate(90deg);
}

/* Rotate on hover when checked*/
.menu-wrap .toggler:checked:hover + .hamburger>div{
    transform: rotate(225deg);
}

/* Show Menu */
.menu-wrap .toggler:checked ~ .menu{
    visibility: visible;
}

.menu-wrap .toggler:checked ~ .menu> div{
    transform: scale(1);
    transition-duration: 0.5s;
}

.menu-wrap .toggler:checked ~ .menu> div > div{
    opacity: 1;
    transition: opacity 0.4s ease;
}

.menu-wrap .menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    visibility: hidden;
    justify-content: center;
}

.menu-wrap .menu>div{
    background: linear-gradient(to right, #5BC62E, #40A8F5);
    width: 200vw;
    height: 200vw;
    overflow: hidden;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex: none;
    transform: translateX(110%);
    transition: all 0.4s ease;
}

.menu-wrap .menu > div > div{
    max-width: 90vw;
    max-height: 100vh;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-wrap .menu > div > div > ul > li{
    list-style: none;
    font-size: 1rem;
    padding: 0.8rem;
}

.menu-wrap .menu > div > div > ul > li > a{
    text-decoration: none;
    color: #ffffff;
    transition: color 0.4s ease;
}
#hitos {
    width: 100%;
    position:relative;
    text-align: left;
    padding: 0 15px;
    font-size: 8px;
        top:-15px;
}
#justiciaClimaticaTexto{
    width: 100%;
    position:relative;
    text-align: left;
    padding: 0 13px;
    font-size: 8px;
    top:-18px;
    color: white;
} 
#zero {
    position:absolute;
    left:0;
        text-align: left;

}
#cincuenta {
    position:absolute;
    left:48%;
        text-align: center;

}
#sesenta {
    position:absolute;
    left:58%;
        text-align: center;
}
#setentaycinco {
    position:absolute;
    left:72%;
        text-align: center;
}
#noventa {
    position:absolute;
    left:87%;
        text-align: left;
}
#cien {
    position:absolute;
    left:95%;
    text-align: right;
}