:root {
  --grass: #00923880;
  --fire: #e73b0c7c;
  --water: #4591c47c;
  --electric: #fbd72b7c;

  --pokecolor: black;
}

body {
  font-family: consolas;
}

header {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 10px;
  z-index: 10;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(127, 200, 155);
  background: linear-gradient(
    90deg,
    rgba(127, 200, 155, 0.3) 0%,
    rgba(243, 159, 136, 0.3) 50%,
    rgba(164, 201, 226, 0.3) 100%
  );
}

.logo {
  width: 200px;
}

.hero {
  flex: 1 1 100%;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  flex-direction: column;
}

ul {
  display: flex;
  list-style-type: none;
  /* row-gap: 1em;
    column-gap: 1em; */
  gap: 1em;
}

a {
  color: black;
  text-decoration: none;
}

a > img {
  display: inline-block;
}

.relative {
  position: relative;
}

.hero {
  overflow: auto;
}

.pokemons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  width: 640px;
  gap: 0.5em;

  justify-content: space-between;
  align-items: center;
}

.pokemon {
  border: 3px solid black;
  border-radius: 10%;
  padding: 1em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  position: relative;
  min-height: 200px;
  transition: height 0.5s;
  box-shadow: 5px 5px 3px 0px rgba(0, 0, 0, 0.3);
}

.pokemon > .image {
  flex: 1 1 100%;
  width: 100%;
  display: grid;
  place-items: center;
}
.pokemon img {
  width: 100%;
  grid-area: 1/1/-1/-1;
}

.pokemon img {
  width: 100%;
  grid-area: 1/1/-1/-1;
}

.pokemon img[src$="gif"] {
  width: 100%;

  padding: 28%;

  /* width: auto;
  object-fit: scale-down; */
}

.pokemon:hover img:nth-child(1) {
  opacity: 0;
}

.pokemon img:nth-child(2) {
  position: absolute;
  top: 0;
  opacity: 0;
}

.pokemon:hover img:nth-child(2) {
  opacity: 1;
}

#squirtle,
#wartortle,
#blastoise {
  background-color: var(--water);
}

#charmander,
#charmeleon,
#charizard {
  background-color: var(--fire);
}

#bulbasaur,
#ivysaur,
#venusaur {
  background-color: var(--grass);
}

.special-friends {
  width: 100%;
  bottom: 0;
  display: flex;
  justify-content: end;
  width: 100%;
  padding: 2em;
  gap: 1em;
}

.special-friends > .pokemon {
  width: 100px;
  padding: 0.2em;
  min-height: 100px;
}
.special-friends > .pokemon h2 {
  font-size: xx-small;
}

#pikachu,
#raichu {
  background-color: var(--electric);
  box-shadow: 5px 5px 3px 0px rgba(0, 0, 0, 0.3),
    0 0 300px 100px var(--electric);
}
