.pokemons {
display:grid;
grid-template-columns: 1fr;
list-style: none;
padding: 0;
margin:0;
}
.pokemon {
        background-color:  #bbbbbb;
}
.normal {
    background-color:  #a6a877;
}
.grass {
    background-color:  #77c850;
}
.fire {
    background-color:  #ee7f30;
}
.water {
    background-color:  #678fee;
}
.electric {
    background-color:  #f7cf2e;
}
.ice {
    background-color:  #98d5d7;
}
.ground {
    background-color:  #dfbf69;
}
.flying {
    background-color:  #a98ff0;
}
.poison {
    background-color:  #a040a0;
}
.bug{
        background-color:  #a6a877;
}
.fairy{
        background-color:  #f7bee4;
}
.fighting{
        background-color:  #ff4545;
}
.psychic{
        background-color:  #807e21;
}

.pokemon {
    margin: .5rem;
    padding: 1rem;
    border-radius: 1rem;
    color:#fff;
    display: flex;
    flex-direction: column;

}

.pokemon .number{
    color: black;
    text-align: right;
    opacity: 0.3;
}

.pokemon .name{
    color:#fff;
    margin-bottom: 0;
    text-transform: capitalize;
 

}

.pokemon .detail {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;

}

.pokemon .detail .types{
    padding: 0;
    margin: 0;
    list-style: none;


}

.pokemon .detail .types .type{

    color:#fff;
    padding: .25rem .5rem;
    margin: .25rem 0;
    font-size: 0.625rem;
    border-radius: 1rem;
    filter:brightness(1.15);
}

.pokemon .detail img{
  
    max-width: 100%;
    height: 100px;


}

@media screen and (min-width: 412px) {
    .pokemons {
 grid-template-columns:1fr 1fr;

    }

}
@media screen and (min-width: 612px) {
    .pokemons {
 grid-template-columns:1fr 1fr 1fr;

    }

}
@media screen and (min-width: 912px) {
    .pokemons {
 grid-template-columns:1fr 1fr 1fr 1fr;

    }

}
