:root {
  --lightblue: #05a6f1;
  --blue: #3761a8;
  --yellow: #feca1b;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: sans-serif;
  color: gray;
}
img {
  width: 100%;
}
a {
  text-decoration: none;
  color: dodgerblue;
}
a:link {
  text-decoration: none;
}
a:visited {
  font-style: italic;
}
a:hover {
  text-decoration: underline;
  color: var(--yellow);
}
a:active {
  text-decoration: underline;
}
main {
  max-width: 420px;
  margin: auto;
}
.title {
  margin: 0;
  background-color: var(--blue);
  color: var(--yellow);
  padding: 1rem;
  text-align: center;
  text-transform: capitalize;
  font-size: xx-large;
}
.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
}
.pagination button {
  margin: 1rem;
}
.pokemons {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pokemon {
  font-family: 'Yeon Sung', cursive;
  width: 90%;
  border: thin solid var(--blue);
  border-radius: 1rem 1rem 0.4rem 0.4rem;
  margin: 0.5rem auto;
}
.pokemon figure {
  width: 80%;
  margin: 0 auto;
}
.pokemon figure figcaption {
  font-size: 2rem;
  font-weight: bolder;
  text-align: center;
  text-transform: capitalize;
  color: var(--blue);
}
.pokemon ul {
  list-style-type: none;
  font-size: 1.2rem;
  background-color: var(--blue);
  color: white;
  margin: 1rem 0 0 0;
  padding: 1rem;
  border-radius: 0 0 0.4rem 0.4rem;
  text-transform: uppercase;
}
.pokemon ul li span {
  font-weight: lighter;
  color: var(--yellow);
  text-transform: capitalize;
}
.pokemon ul .id {
  text-align: end;
  font-size: 0.8rem;
  font-weight: lighter;
  color: var(--yellow);
}
@media screen and (min-width: 768px) {
  main {
    max-width: 720px;
  }
  .pokemons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .pokemon {
    width: 40%;
  }
  .pokemon figure {
    width: 90%;
  }
}
@media screen and (min-width: 1024px) {
  main {
    max-width: 960;
  }
  .pokemons {
    justify-content: space-between;
  }
  .pokemon {
    width: 30%;
  }
  .pokemon figure {
    width: 100%;
  }
}
@media screen and (min-width: 1200px) {
  main {
    max-width: 1140;
  }
}
@media screen and (min-width: 1400px) {
  main {
    max-width: 1320;
  }
}
/* DEVELOPER
============================= */
.dev {
  font-family: sans-serif;
  font-size: 16px;
  font-weight: lighter;
}
.dev a {
  color: #05a6f1;
}
.dev a:link {
  text-decoration: none;
}
.dev a:visited {
  font-style: italic;
}
.dev a:hover {
  text-decoration: underline;
}
.dev a:active {
  font-style: italic;
  text-decoration: underline;
  color: gray;
}
.dev .top a,
.dev .bottom a {
  display: flex;
  align-items: center;
  padding: 16px;
}
.dev .top a {
  justify-content: flex-start;
}
.dev .bottom a {
  justify-content: flex-end;
}
.dev span {
  color: gray;
}
.dev img {
  width: 32px;
  margin: 0 8px;
}
