@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Titan+One&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-block-start: 5em;
  }

  body {
    background: linear-gradient(0deg, #2C2F82 0%, #0F71C7 100%);
    color: hsl(0, 0%, 100%);
    font-family: 'Poppins', sans-serif;
    display: grid;
    /*flex-direction: column;
    justify-content: space-between; */
    grid-template-rows:auto 1fr;
    max-width: 100dvw; min-height: 100dvh;
}

article p {
    text-align: center;
}

img {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: white;
    font-weight: 900;
}

ul,
ol {
    list-style: none;
}

p,h1,h2,h3 {
    margin-bottom: 0,5em;
}

header{
    background-color: #005744;
    flex-grow: 0;
    box-shadow: 0 .35em .5em #00000077;
    border-bottom: solid 1rem #03A688;
}

section{
    padding-block-end: 2rem;
}

picture{
    position: absolute;
}

.contenedor{
    max-width: 65rem;
    margin-inline:auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    margin-block: 0;
    display: grid;
    grid-template-columns: repeat(3,1fr);
}


header nav a {
    font-family: 'Titan One', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    color: hsl(0 0% 95%);
    background-color: #007B5B;
    border-radius: 1em 1em 0 0;
    display: block;
    padding-block: .75em;
    text-align: center;
    transition: .3s;
}
    
header nav a:hover, header nav a:focus-visible {
    color: rgb(218, 218, 218);
    background-color: #0ab192;
    text-shadow: 0px 0px 20px white;
}

.seleccionado {
    background-color: #03A688;
    box-shadow: 0px -6px 5px 2px #0000003d;
}

.tienda {
    background: linear-gradient(0deg, #FE0550 0%, #FF5F8F 100%);    
}

.contacto {
    background: linear-gradient(0deg, #D19A2C 0%, #FFCE42 100%);    
}

.interior{
    margin-block: auto;
    padding-inline: 2rem;
}

.bgvideo {
    position: absolute;
    /*left: 0%;
    top: 0%;
    bottom: 0%; */
    height: 100%;
    min-height: 100vh;
    width: 100%;
    inset: 0;
    z-index: -1;
    object-fit: cover;
}

.logo {
    max-width: 35%;
    height: auto;
}

@media (max-width: 53em) {
    .logo {
        max-width: 75%;
        height: auto;
    }
  }

.logo_menu {
    height: 3rem;
    margin-block: -11px;
    margin-bottom: -10px;
}

h1 {
    text-align: center;
    font-size: 0,75em;

}

h2{
    text-align: center;
    font-weight: 400;
    margin-top: 3%;
    font-size: larger;
}

.mini {
    margin-inline: auto;
    max-width: 50%;
    font-size:medium;
}

.galeria img{
    padding-top: 2rem;
}

.galeria p {
    text-align: center;
    font-family: 'Titan One', cursive;
    font-weight: 400;
    margin-inline: auto;
    max-width: 50%;
    margin-top: 2rem;
    font-size: 30px;
}

h3 {
    font-family: 'Titan One', cursive;
    text-align: center;
    font-weight: 400;
    font-size: 40px;
    margin-top: 1rem;
}

span  {
    font-family: 'Titan One';
    color: yellowgreen;
}

.boton-grande { 
    font-family: 'Titan One', cursive;
    text-align: center;
    color: #F8024B;
    text-shadow: 3px 3px #000000;
    font-size: 3.5rem;
    font-weight: 600;
    background-color: #FFC200;
    box-shadow: inset 0 3rem #FFCE42, 0em 8px #D38D0A;
    border-radius: 0.5em;
    display: block;
    margin-inline: auto;
    width: 25rem;
    padding-block: 0.3em;
    padding-bottom: 0.4em;
    margin-top: 1em;
    transition: .3s;
}

.boton-grande:hover{
    transform: translateY(5px);
    background-color: #FFC200;
    box-shadow: inset 0 1.5rem #FFCE42, 0em 3px #D38D0A;
}

.boton-chico { 
    font-family: 'Poppins', sans-serif;
    text-align: center;
    text-shadow: 3px 2px px #000000;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: #FFC200;
    box-shadow: inset 0 1.5rem #FFCE42, 0em 8px #D38D0A;
    border-radius: 1em;
    display: block;
    margin-inline: auto;
    width: 12rem;
    padding-block: 0.5em;
    margin-top: 1.5em;
    margin-bottom: 3rem;
    transition: .3s;
}

.boton-chico:hover {
    text-shadow: 0px 0px 20px white;
    transform: translateY(5px);
    background-color: #FFC200;
    box-shadow: inset 0 0.7rem #FFCE42, 0em 3px #D38D0A;
}

#textos {
    margin-bottom: 3rem;
}

#textos h1 {
    font-family: 'Titan One', cursive;
    font-weight: 100;
    font-size: 4rem;
    text-shadow: 5px 5px #000000 ;
}

.cuadros {
    display: grid;
    gap: 2em 1em;
    margin-inline: auto;
  }

.cuadros h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.dibujo {
    max-width: 50%;
}

@media (min-width: 55em) {
    .cuadros {
        grid-template-columns: repeat(3,1fr);
    }

    .dibujo {
        max-width: 75%;
    }
  }

.elegir {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.elegir:hover {
    transform: translateY(5px);
}


/*caja diálogo*/

dialog {
    background-color: #03A688;
    inline-size: min(20em, 80%);
    border: solid 2px #03A688;
    border-radius: 1em;
    box-shadow: 0 0 0 0 hsl(0 0% 10%);
    padding: .5em;
  
    position: fixed;
    inset: 0;
    margin: auto;
  
    transform: translateY(-100vh);
    transition: .5s;
  }
  
  dialog.visible {
    box-shadow: 0 10px 10px 0 hsl(0 0% 0% / 20%);
    transform: translateY(0);
    transition: .5s;
    transition-delay: .5s;
  }
  
  dialog::backdrop {
    opacity: 0;
  }
  
  dialog.visible::backdrop {
  
    opacity: 1;
  
    transition: 1s;
    background-image: 
      linear-gradient(
        0deg, 
        #2C2F82 0%, 
        transparent 100%),
      linear-gradient(
        60deg, 
        #0F71C7 0%, 
        transparent 100%);
  }
  
  form {
    display: grid;
    gap: 1em;
  
    background-color: #005744;
    padding: 1em;
    box-shadow: 0 .1em .25em hsl(0 0% 0% / 20%) inset;
  }
  
  .form__grupo {
    position: relative;
    color: hsl(0 0% 35% / 50%);
  }
  
  .form__input {
     width: 100%;
     background: #005744;
     color: hsl(0 0% 50%);
     font-size: 1rem;
     padding: 1em .5em;
     border: solid 1px white;
     border-radius: .25em;
     outline: none;
     font-family: inherit;
     cursor: pointer;
     transition: 1s;
  }
  
  .form__input:focus {
    color: white;
    font-weight: 700;
  }
  
  .form__label {
    color: white;
    position: absolute;
    top: 0;
    left: .5em;
    transform: translateY(.5em);
    transition:
      transform .5s,
      color .3s,
      padding .5s;
    background-color: #005744;
    padding: 0;
  }
  
  :is(.form__input:not(:placeholder-shown),
      .form__input:focus) {
    color: white;
  }
  
  :is(.form__input:not(:placeholder-shown),
      .form__input:focus) + .form__label {
    transform: translateY(-.6em) scale(.7);
    transform-origin: left top;
    padding: 4px;
    color: white;
  }
  
  .form__submit {
    background-color: #03A688;
    color: hsl(0 0% 100%);
    font-family: inherit;
    font-size: inherit;
    padding: .25em 1em;
    inline-size: max-content;
    border: none;
    border-radius: .25em;
    outline: none;
    justify-self: end;
    transition: .5s;
  }
  
  .form__submit:focus,
  .form__submit:hover {
    background-color: #15d4a1;
  }

/*fin diálogo*/

.fondo {
    background-image: url(../imagenes/fondo_jugar.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.fondocontacto {
    background-image: url(../imagenes/fondo_contacto.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.nivele1 {
    padding: 1rem;
    background-color: #03A688;
}

.pregunta {
    color: #000000;
    text-align: center;
    font-weight: 600;
    background-color: white;
    border-radius: 1em;
    padding: 50px;
    margin-bottom: 2rem;
    font-size: 1.7em;
    margin-inline: auto;
}

.ejemplo {
    border-radius: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 55em) {
    .pregunta {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items:center ;
    }

    .ejemplo {
        max-width: 60%;
        margin-bottom: 0rem;
    }
  }

.jugar {
    padding-bottom: 2rem;
    display: grid;
    gap: 2em 1em;
  }

@media (min-width: 55em) {
    .jugar {
        grid-template-columns: repeat(2,1fr);
        gap: 1.3em;
    }
  }

.boton_1 {
    background-color: #0F71C7; 
    box-shadow: 0 8px #0E66A8;
    text-align: center;
    font-size: 2em;
    border-radius: 1em;
    padding: 1rem;
    padding-top: 0.7em;
  }

.boton_2 {
    background-color: #03A688; 
    box-shadow: 0 8px #137F5B;
    text-align: center;
    font-size: 2em;
    border-radius: 1em;
    padding: 1rem;
    padding-top: 0.7em;
  }

.boton_3 {
    background-color: #FFCE42; 
    box-shadow: 0 8px #D19A2C;
    text-align: center;
    font-size: 2em;
    border-radius: 1em;
    padding: 1rem;
    padding-top: 0.7em;
  }

.boton_4 {
    background-color: #F8024B; 
    box-shadow: 0 8px #AF255A;
    text-align: center;
    font-size: 2em;
    border-radius: 1em;
    padding: 1rem;
    padding-top: 0.7em;
  }

.boton_1:hover {
    text-shadow: 0px 0px 20px white;
    transform: translateY(5px);
    background-color: #0F71C7;
    box-shadow: 0em 3px #0E66A8;
}
.boton_2:hover {
    text-shadow: 0px 0px 20px white;
    transform: translateY(5px);
    background-color: #03A688;
    box-shadow: 0em 3px #137F5B;
}

.boton_3:hover {
    text-shadow: 0px 0px 20px white;
    transform: translateY(5px);
    background-color: #FFCE42;
    box-shadow: 0em 3px #D19A2C;
}

.boton_4:hover {
    text-shadow: 0px 0px 20px white;
    transform: translateY(5px);
    background-color: #F8024B;
    box-shadow: 0em 3px #AF255A;
}

.estrella {
    width: 20%;
	height: 20%;
   margin-top: 2em;
	box-sizing: border-box;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
    animation: zoom 3s ;
}

@keyframes zoom {

    0%{
       transform:scale(0.5);
    }
    50% {
       transform:scale(1.1);
    }
    100% {
       transform:scale(1);
    }
    
   }
   .estrella2 {
    width: 15%;
	height: 15%;
    margin-top: 2em;
	box-sizing: border-box;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
}

.medalla {
    margin-top:10%;
    margin-bottom: 3rem;
    margin-inline: auto;
    max-width: 50%;
    display: flex;
    gap: 2em;
}

.desafios {
    animation: zoom 3s ;
}

.tienda2 {
    margin-block: auto;
}

.catalogo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.elemento {
    background-color: white;
    width: 200px;
    height: 200px;
    margin: 20px;
    border-radius: 1.5em;
    justify-items: center;
    box-shadow: 5px 5px #000000;
}

.elemento:hover {
    transform: translateY(5px);
    background-color: #e7e7e7;
    box-shadow: 3px 3px #000000;
}

.premios {
    font-family: Titan One;
    font-weight: 100;
    color: #FFCE42;
    text-shadow: 5px 5px #000000 ;
    font-size: 4rem;
    margin: 10px;
}

.puntos {
    margin: 1em;
    text-shadow: 3px 3px #0F71C7;
}

.puntos2 {
    margin: 1em;
    text-shadow: 3px 3px #000000;
}

#codigoqr {
    display: flex;
    justify-content: center;
    padding: 1em;
    margin-top: 2em;
    border-radius: 25px;
    box-shadow: 0px 0px 30px #000000;
}

.codigoqr h2 {
margin-top: 3em;
}


.comojugar {
    font-family: Titan One;
    color: #FFCE42;
    text-shadow: 5px 5px #000000 ;
    font-size: 3rem;
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.reglas {
    padding-bottom: 2rem;
    display: grid;
    gap: 2em;
    max-width: 75%;
    margin-inline: auto;
  }

@media (min-width: 55em) {
    .reglas {
        grid-template-columns: repeat(3,1fr);
        gap: 1.3em;
        max-width: 100%;
    }
  }

.cuadro {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.reglas h1 {
    font-size: x-large;

}

.reglas img {
    max-width: 10rem;
}

#h3jugar {
    text-shadow: 5px 5px #000000 ;
}

.reglas p {
    padding: 2em;
}

.form {
    margin-inline: auto;
    border-radius: 1rem;
    text-align: center;
    color: #1b1c1e;
    background-color: white;
    box-shadow: 5px 5px #1b1c1e;
}

@media (min-width: 55em) {
    .form {
        width: 40em;
    }
  }

.datos {
    width: clamp(120px, 50vw, 420px);
    height: 2.5rem;
    padding: 0 1.25rem;
    border: 1px solid black;
    border-radius: 2px;
    margin: 0.625rem auto;
    transition: all 250ms;
    @media (min-width: 768px) {
      width: clamp(120px, 35vw, 420px);
    }
}

.video {
    width: 40dvh;
    border-radius: 1rem;
    margin-inline: auto;
}