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

#body {
  background: whitesmoke;
}

h1,
h2 {
  text-align: center;
  margin-top: 5%;
}

h1 {
  font-size: 4em;
}

h2 {
  font-size: 3em;
}

#pullPokemon {
  display: block;
  height: 3em;
  margin: 2vw auto;
  text-align: center;
  border: 2px solid #176aee;
  background-color: #BDE8F5;
  border-radius: 0.5em;
  font-size: 1.5em;
  transition: 0.4s;
}
#pullPokemon:hover {
  background-color: #176aee;
  color: #f2f2ff;
  transform: scale(1.03, 1.03);
}

#yourPokedex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  grid-auto-rows: 2fr;
  grid-gap: 1em 1em;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
#yourPokedex .pokemonCard {
  background-color: #3BC1A8;
  margin: 1rem auto;
  width: 15rem;
  height: 18rem;
  border-radius: 10px 40px;
  position: relative;
  transform-style: preserve-3d;
  transition: 0.6s ease;
}
#yourPokedex .pokemonCard:hover:not(.pokemonCard--flipped) {
  transform: translate3d(-0.2em, -0.5em, 0);
  box-shadow: 0.2em 0.5em 10px rgba(14, 3, 47, 0.8117647059);
}
#yourPokedex .pokemonCard__front, #yourPokedex .pokemonCard__back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  justify-self: center;
  position: absolute;
  backface-visibility: hidden;
}
#yourPokedex .pokemonCard__front {
  height: 100%;
  width: 100%;
}
#yourPokedex .pokemonCard__front--img {
  height: 12rem;
  width: 12rem;
  background-color: rgba(255, 255, 255, 0.7490196078);
  border-radius: 100%;
}
#yourPokedex .pokemonCard__front--name {
  color: black;
  padding-left: 1em;
  padding-right: 1em;
  font-size: 2em;
}
#yourPokedex .pokemonCard__back {
  border-radius: 30px;
  height: 90%;
  width: 90%;
  margin: 1em;
  padding: 1em;
  display: block;
  background-color: rgba(255, 255, 255, 0.7490196078);
  transform: rotateY(180deg);
}
#yourPokedex .pokemonCard__back--types {
  color: #30011b;
  font-size: medium;
}
#yourPokedex .pokemonCard__back--hp {
  padding-top: 0.5em;
}
#yourPokedex .pokemonCard__back--types, #yourPokedex .pokemonCard__back--hp {
  font-size: 1.5em;
}
#yourPokedex .pokemonCard--flipped {
  transform: perspective(30rem) rotateY(180deg) translate3d(-0.2em, -0.5em, 0);
  box-shadow: -0.2em 0.5em 10px rgba(14, 3, 47, 0.8117647059);
}/*# sourceMappingURL=style.css.map */