@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind+Guntur:wght@300;400;500&display=swap');



* {
  box-sizing: border-box;
}

body {
  background-image: linear-gradient(rgb(176, 244, 100) 0%, rgb(66, 155, 221) 100%);
  background-position: center;
  background-size: cover;
  background-repeat:no-repeat;
  height: 140vh;
  }


.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
}

header {
  display: flex;
  justify-content: center;
  padding-top: 40px;

} 

.boxHeader {
  padding: 26px;
  display: flex;
  justify-content: center;
  margin-bottom: -67px;

} 

.logoPrincipal{
 height: 180px;
  width: 90%;
}




.initiaContainer{

  width: 90%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 0 auto;
}


.box {
  width: 45%;
  }

.imgIvysaur,  .imgPicachu{
  width: 100%;
}


/* Contenedor de los botones */
.button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}


.button-play, .help {    
  margin-top: 14px;
  margin-top: 14px;
    background: #FAD961;
   background-image: linear-gradient( 90deg, #FAD961 0%, #F76B1C 100%);
    text-align: center;
    border-radius: 100px;
    text-shadow: 0 1px 3px rgb(0 0 0 / 20%);
    cursor: pointer;
     width: 208px;
    /* max-width: 350px; */
    font-weight: bold;
    color: #fff;
    letter-spacing: 6px;
    line-height: 1.2;
    font-family:'Jura',sans-serif;
    font-weight: 700;
    font-size: 31px;
    border: none;
    height: 71px;
    box-shadow: 0 4px 8px 0 #0c0d0dbd;
    transform-style:preserve-3d;
    }

   

    .button-play:hover{
      background: darken(red, 1.5%);
      border: 1px solid rgba(#000, .05);
      box-shadow: 1px 1px 2px rgba(#fff, .2);
      color: lighten(red, 18%); 
      text-decoration: none;
      text-shadow: -1px -1px 0 darken(red, 9.5%);
      transition: all 250ms linear;
    }



   .contenedorBlockTwoAux{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
}


  .contenedorBlockTwo {
      width: 70%;
      display: flex;
      flex-direction: column;
      align-content: center;
      justify-content: center;
}

.blockTwo{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  
}    
 
.game-Board{   
    
    width: 100%;
    max-width: 1500px;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    margin-top: 15px;
    
    }

   .card{
    background: #F4F6F7;
    margin: 8px;
    width: 120px;
    height: 140px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 4px 8px 0 #0c0d0dbd;
    cursor: pointer;
    transition: transform 0.2s;
    transform-style:preserve-3d;
    
  }
  
  .card-equal{
    margin: 8px;
    width: 120px;
    height: 140px;
  }
  
  /*Imagen Frontal de la carta*/
  .img-front{
   -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
     display: block;
     background-repeat: no-repeat;
     background-size:130px;
     margin-top: 27px;
     margin-left: 9px;
     
  }
  
  
   /*Imagen Posterior de la carta*/
  .img-back{
   -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    display: block;
    background-size:100px;
    margin-top: -109px;
     margin-left: 0px;
  
   }
  
      
  .information{
    margin-top:28px;
    margin-left: 100px;
    margin-bottom:-21px;
    padding: 15px;
    background-color: rgba(243, 89, 89, 0);
    border-radius: 6px;
    width:80%;
    height: 70px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
  }

  .divTime{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;  
  }



.fa-clock, .fa-magic, .fa-check{
    font-size:25px;
    color:black
    
  }

  .infTime, .infMoving, .infCheck{
    font-family:'Hind Guntur', sans-serif;
    
    font-size: 20px;
    background-color: rgb(255, 255, 255,0);
    color:black;
    border-radius: 4px;
  
  }
  

    .blockFour{
     margin-top: 100px;

    }
    .externo{
      display: flex;
      flex-direction: row;
      justify-content: center;
     

    }
    .outerEdge{
      display: flex;
      flex-direction: row;
      justify-content: center;
      width: 33%;
      height: 400px;
      padding: 6px;
      border-radius: 6px;
      background: linear-gradient( 252deg, #FEF043 ,#04FBAC, #43F8FE ,#9D83D4 );
      box-shadow: 0 4px 8px 0 #0c0d0dbd;
    }

    .blockResults{
    
      background: #F4F6F7;
      width: 100%;
      height: 387px;
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: space-around;
      align-items: center;
      font-family: 'Hind Guntur', sans-serif;
      border-radius: 6px;
     }


    .wordsPerResults{
      font-family:'Hind Guntur', sans-serif;
      font-size: 35px;
      margin-bottom: -135px;
    }

     .imageOfCredits{
      margin-left: -10px;
      margin-right: -10px;
    }

    .ball{
      width: 70px;
      height: 60px;
      margin-left: -5px;
    }
    
    .resultsInformation{
      display: flex;
      flex-direction: column;
      font-family:'Hind Guntur', sans-serif;
      font-size: 25px;
      margin-top: -85px;
    }

    .contenedorTime{
      margin-bottom: -10px;
    }
    .contenedorMovimientos{
      margin-top:10px;
    }

    .TimeResultsInformation{
      font-family:'Hind Guntur', sans-serif;
      font-size: 25px;

    }
  .informationOnMovementResults{
      margin-top: 5px;

    }

    .block-Three{
      display: none;
      margin-top: 20px;
      margin-bottom: 15px;
      padding: 15px;
      background-color: rgb(255, 255, 255,0);
      border-radius: 6px;
      height: auto;
      }
      .block-Three-Aux{
        display: flex;
        flex-direction: row;
        justify-content: center;
      }

    .information-botton{
    display: flex;
    flex-direction:row;
    flex-wrap: nowrap;
    justify-content: space-around;

  }

  .helpInformation, .home, .undo{
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 50px;
    background-image: linear-gradient( 90deg, #eca5e1 0%, #d280dd 100%);
    width: 65px;
    height: 65px;
    font-size: 20px;
    color: black;
    transition: all .1s ease-out;
    cursor: pointer;
    text-align: center;
    padding-top:15px;
    box-shadow: 0 4px 8px 0 #0c0d0dbd;
    margin-left: 20px;
    margin-right: 20px;
    }

  .fa-info, .fa-home, .fa-undo{
    font-size:30px;
  }
  
.blockFive{
  margin-bottom: 20px;
}
  
  .information-botton-results{
    display: flex;
      flex-direction:row;
      flex-wrap: nowrap;
      justify-content: center;
      margin-top: 50px;
  }
  
  .homeResults, .undoResults{
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 50px;
    background-image: linear-gradient( 90deg, #eca5e1 0%, #d280dd 100%);
    width: 65px;
    height: 65px;
    font-size: 20px;
    color: black;
    transition: all .1s ease-out;
    cursor: pointer;
    text-align: center;
    padding-top: 16px;
    padding-right: 2px;
    padding-left: 1px;
    margin-right: 17px;
    margin-left: 17px;
    box-shadow: 0 4px 8px 0 #0c0d0dbd;
  }

  
  
  
 
  .copyright{
    position: fixed;
width: 100%;
background: #356abc;
color: #fff;
text-align: center;
bottom: 0px;
font-size: 20px;
height: 30px;
padding-top: 5px;
}

.seven{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.blockContainerHelp{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.helpAuxiliar{
  width: 50%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 75px;
  box-shadow: 0 4px 8px 0 #0c0d0dbd;
  border-radius: 6px;
}

  .helpBlock{
  display: flex;
  flex-direction: column;
  justify-content: center;
 height: auto;
  background: #F4F6F7;
  width: 100%;
  border-radius: 6px;
  font-size: 20px;
  font-family:'Hind Guntur', sans-serif;

}
.one{
 display: flex;
  justify-content: flex-end;
}
.close{
display: block;
position: absolute;
font-size: 38px;
width: 38px;
height: 38px;
line-height: 38px;
cursor: pointer;
user-select: none;
text-align: center;
background:#42474B;
border-radius: 0px 6px 0px 0px;
color: #fff;
z-index: 9999
}

.close:hover{
  background:black;
  }
.fa-times{
font-size: 20px;
}

.two{
  display: flex;
   justify-content: center;
 }

.pika{
  width: 340px;
  height: 258px;
}

.three-h3{
  display: flex;
  flex-direction: row;
  justify-content: center;
  color: #112431;
  margin-top: -17px;
  font-size: 25px;
  
 }

 .three-p{
  margin-top: -20px;
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
  color: #112431;
  padding-left: 21px;
  padding-right: 17px;
  line-height: 22px;
  margin-top: -40px;
 }

/* _________________________ responsive ______________________________ */

/* Mobile view */


@media only screen and (max-width: 375px) {
  .logoPrincipal {
    height: 100px;
    width: 95%;
   
  }

  .button-play,
.help {
  font-size: 22px;
  width: 140px;
  height: 50px;

}

  .copyright{
    display: none;
  }


.imgIvysaur,  .imgPicachu{
    display: none;
  }
} 
  
@media only screen and (max-width: 770px) {

/*Blouqe de portada */

  body {
    background-image: linear-gradient(rgb(176, 244, 100) 0%, rgb(66, 155, 221) 100%);
    background-position: center;
    background-size: cover;
    background-repeat:no-repeat;
    height: 1025px;
    width: 100%;
    }

  .boxHeader {
    padding: 26px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
  
  } 
  

.initiaContainer{

    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 80px;
  }

  
.box {
  width: 60%;
 
  }

  /*Bloque de juego */ 

  .contenedorBlockTwo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.information{
  margin-top: 100px;
    margin-bottom: -90px;
    padding: 15px;
    background-color: rgba(243, 89, 89, 0);
    border-radius: 6px;
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /* justify-content: center; */
    align-items: center;
    margin-left: auto;
}

.divTime{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; 
  
}
.divCheck{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; 
}
.divMoving{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; 
}
  

  .infTime, .infMoving, .infCheck{
    font-family:'Hind Guntur', sans-serif;
    font-size: 25px;
    color:black;
    border-radius: 4px;
  
  }

  .game-Board{   
    
    width: 100%;
    max-width: 1500px;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    margin-top: 100px;
    margin-right: 30px;
    }

  .card{
    background: #F4F6F7;
    margin: 8px;
    width: 100px;
    height: 120px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 4px 8px 0 #0c0d0dbd;
    cursor: pointer;
    transition: transform 0.2s;
    transform-style:preserve-3d;
    
  }

  .img-front{
    -webkit-backface-visibility: hidden;
     backface-visibility: hidden;
      display: block;
      background-repeat: no-repeat;
      background-size:100px;
      margin-top: 19px;
      margin-left: 0px;
      font-size: 50px ;
      
   }


   .img-back{
    -webkit-backface-visibility: hidden;
     backface-visibility: hidden;
     transform: rotateY(180deg);
     display: block;
     background-size:100px;
     margin-top: -109px;
      margin-left: 0px;
   
    }

   .block-Three{
    display: none;
    margin-top: 60px;
   margin-bottom: 15px;
    padding: 15px;
    background-color: rgb(255, 255, 255,0);
    border-radius: 6px;
    height: auto;
    }
  
/* Bloque que contiene información del Help */

    .blockContainerHelp{
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      margin-top: 140px;
    }
    
    .helpAuxiliar{
      width: 75%;
      height: auto;
      display: flex;
      flex-direction: row;
      justify-content: center;
      margin-top: 75px;
      box-shadow: 0 4px 8px 0 #0c0d0dbd;
      border-radius: 6px;
    }

    /* Bloque que contiene información de resultados del juego */
    .outerEdge{
      display: flex;
      flex-direction: row;
      justify-content: center;
      width: 60%;
      height: 400px;
      padding: 6px;
      border-radius: 6px;
      background: linear-gradient( 252deg, #FEF043 ,#04FBAC, #43F8FE ,#9D83D4 );
      box-shadow: 0 4px 8px 0 #0c0d0dbd;
    }

    .copyright{
      display: none;
    }

}

