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

body {
    background-color: rgb(237, 205, 117);
    flex-wrap: wrap;
}
 
.contenedor {
     background-image: url(img/pokemon.jpg);
     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;
     height: 300px; 
     margin: 0px;
     padding: 0px;
     display: inline-flexbox;
}
 
h1 {     
     font-size:  25px;
     color: black;
     padding-top: 10px;
     text-align: center;
}
 
#bloqueTarjetas{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    align-content: space-between;
    gap: 20px 20px 
}
    

.tarjetapokemon {    
     margin: 20px;
     padding: 30px;
    -webkit-perspective: 800;
     perspective: 800;
}

.tarjeta{
    padding: 15px;
    width: 200px;
    height: 250px;
    border-radius: 10px;
    background: aliceblue;
    position: relative;
    transform-style: preserve-3d;
    transition: .7s ease;
}

.frontTarjeta, .backTarjeta {
     width: 100%;
     height: 100%;
     position: absolute;
     top: 0;
     left: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.frontTarjeta {
    width: 100%;
    justify-content: center;
    text-align: center;
    color: black;
    font-weight: bold;
    align-items: center;
}

.backTarjeta {
    transform: rotateY(180deg);
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color:black;
    font-weight: bold;
    background-color: rgb(147, 226, 147);
}

.tarjetapokemon:hover .tarjeta{
    transform: rotateY(180deg);
}

.imagenPokemon{
    width: 200px;
    height: 160px;
    padding: 10px;
    background-color: rgb(147, 226, 147);
    text-align: center;
    border-radius: 10px;    
}

.botones{
   margin-left: 50px;
   text-align: center;
   margin: 20px;
}

#filtroTipo{
   height: 40px;
   margin: 50px;
   font-family: Georgia, 'Times New Roman', Times, serif;
   font-size: 20px;
   font-weight: bold;
   background-color:#B0D5FF;
}

#name{
   height: 40px;
   margin: 50px;
   font-family: Georgia, 'Times New Roman', Times, serif;
   font-size: 20px;
   font-weight: bold;
   background-color:#B0D5FF;
   
}

input::placeholder {
   color: black;
}

#ordenar{
   height: 40px;
   margin: 50px;
   font-family: Georgia, 'Times New Roman', Times, serif;
   font-size: 20px;
   font-weight: bold;
   background-color:#B0D5FF;
   margin-left: 30px;   
}

#calculator {
   width: 100%;
   height: 50px;
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 24px;
   font-weight: bold;
}

#autores {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  color: black;
  padding-bottom: 50px;
}