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

  display: grid;
  grid-template-columns: 1fr;
}

.pokemon {
  margin: .5rem;
  padding: 1rem;
  color: #FFF;
  border-radius: 1rem;

  display: flex;
  flex-direction: column;
}

.pokemon:hover {
  cursor: pointer;
  filter: brightness(.8);
}

.pokemon .name {
  color: #fff;
  margin-bottom: .25rem;
}

.pokemon .number {
  font-size: .8rem;
  text-align: right;
  color: #000;
  opacity: .3;
}

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

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

.pokemon .details .types .type {
  color: #FFF;
  padding: .5rem;
  font-size: .625rem;
  margin: .25rem 0;
  border-radius: 1rem;
  text-align: center;
  filter: brightness(1.15);
}

.pokemon .details img {
  max-width: 100%;
  height: 70px;
}

@media screen and (min-width: 375px) {
  .pokemon-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 576px) {
  .pokemon-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .pokemon-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
