@import url("https://fonts.googleapis.com/css?family=Rubik&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Abel&display=swap");
* {
  padding: 0;
  margin: 0;
  text-decoration: none;
}

body {
  background-color: rgb(65, 65, 65);
  margin: 0;
  border: 0;
  padding-top: 25%;
  height: 100%;
  width: 100%;
  font-family: "Abel", sans-serif;
  color: white;
  box-sizing: border-box;
  -webkit-animation: fadeIn 2s;
          animation: fadeIn 2s;
}

header {
  width: 100%;
  height: 25%;
  background-image: url("/assets/images/pokedex-header.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  top: 0;
  margin: 0;
  position: fixed;
  z-index: 1;
  filter: grayscale(40%);
}

.title {
  width: 100%;
  height: 70%;
  background-image: url("/assets/images/pokedex-title.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 30px 0 20px 0;
  -webkit-animation: fadeIn 2s;
          animation: fadeIn 2s;
  z-index: 2;
}

footer {
  width: 100%;
  height: 25%;
  position: fixed;
  background-image: url("/assets/images/pokedex-footer.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  bottom: 0;
  margin: 0;
  z-index: 2;
  filter: grayscale(40%);
}

.searchContainer {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 5%;
}

input[type=text] {
  position: relative;
  padding: 10px 20px 10px 20px;
  width: 1px;
  color: #525252;
  text-transform: uppercase;
  text-align: center;
  font-size: 16px;
  font-weight: 100;
  letter-spacing: 2px;
  border: none;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.452);
  transition: width 0.5s ease;
  outline: none;
  cursor: pointer;
}
input[type=text]:focus {
  width: 70%;
  max-width: 300px;
  background-image: none;
  transition: 0.5s;
  background-color: rgb(255, 255, 255);
}

.js-search {
  background-image: url("/assets/icons/puntero.png");
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: center;
  padding: 5px 0 5px 0;
  transition: 0.5s;
}

i {
  position: relative;
  left: -37px;
  color: #8233C5;
}

main {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 800px;
  height: 100%;
  margin: 0 0 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  text-transform: uppercase;
  text-align: center;
  font-size: 40px;
}

.card {
  width: 100px;
  height: 100px;
  list-style: none;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.5803921569);
  color: #222;
  text-align: center;
  border-radius: 10px;
  -o-object-fit: contain;
     object-fit: contain;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: url("https://img.icons8.com/color/48/null/open-pokeball--v2.png") 20 20, pointer;
}

.card-title {
  width: 100%;
  text-transform: uppercase;
  font-size: 9px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  margin: 0;
  padding-top: 5px;
}

.card-image {
  width: 100%;
  height: 90px;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 5px;
  transition: 0.2s;
}
.card-image:hover {
  transform: scale(1.5);
  transition: 0.2s;
}

#pokedex {
  width: 100%;
  max-width: 1080px;
  padding-top: 30vh;
  padding-bottom: 30vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  overflow: scroll;
  transition: 0.5s;
}

::-webkit-scrollbar {
  width: 0px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(241, 241, 241, 0);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(252, 235, 1, 0.822);
}

.fullCard {
  width: 100%;
  height: 100vh;
  background-color: rgb(54, 54, 54);
  color: rgb(255, 255, 255);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: 0.5s;
  overflow: hidden;
}

.cardBottom {
  width: 90%;
  max-height: 50vh;
  margin: 1% 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.pokemon--name {
  width: 100%;
  font-size: 36px;
  margin-top: 5px;
  padding: 10px 0 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.pokemon--description {
  width: 100%;
  max-width: 800px;
  font-size: 12px;
  margin: 5px 0 5px 0;
}
.pokemon--Types {
  width: 100%;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.pokemon--Types--type {
  width: 90px;
  height: 15px;
  margin: 10px;
  padding: 5px;
  text-align: center;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.596);
}
.pokemon--BaseStats {
  width: 90%;
  max-width: 800px;
  font-size: 15px;
  text-align: center;
  gap: 10px;
  margin: 10px 0 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  bottom: 0;
}
.pokemon--bar {
  width: 100%;
  height: 12px;
  font-size: 12px;
  background-color: rgba(255, 255, 255, 0.025);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.05);
}
.pokemon--HP {
  width: 100%;
  min-width: 100px;
  height: 12px;
  font-size: 12px;
  text-transform: uppercase;
  background-color: red;
  padding-left: 10px;
  text-align: center;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.pokemon--Attack {
  width: 100%;
  min-width: 100px;
  height: 12px;
  font-size: 12px;
  text-transform: uppercase;
  background-color: rgb(255, 187, 0);
  padding-left: 10px;
  text-align: center;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.pokemon--Defense {
  width: 100%;
  min-width: 100px;
  height: 12px;
  font-size: 12px;
  text-transform: uppercase;
  background-color: rgb(0, 110, 255);
  padding-left: 10px;
  text-align: center;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.pokemon--Speed {
  width: 100%;
  min-width: 100px;
  height: 12px;
  font-size: 12px;
  text-transform: uppercase;
  background-color: rgb(119, 119, 119);
  padding-left: 10px;
  text-align: center;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.pokemon--Exp {
  width: 100%;
  min-width: 100px;
  height: 12px;
  font-size: 12px;
  text-transform: uppercase;
  background-color: rgb(49, 151, 46);
  padding-left: 10px;
  text-align: center;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.card--Top {
  width: 100%;
  height: 40vh;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 3%;
  border-bottom-left-radius: 20%;
  border-bottom-right-radius: 20%;
  border: 4px solid rgba(255, 255, 255, 0.596);
  border-top: none;
  transition: 0.5s;
}
.card--Exit {
  width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.card--Separator {
  width: 90%;
  margin-top: 10px;
  border: 0px;
  height: 3px;
  background-image: linear-gradient(to right, transparent, #CCC, transparent);
}
.card--Img {
  width: 80%;
  max-width: 400px;
  height: 32vh;
  margin-top: 2%;
  -o-object-fit: contain;
     object-fit: contain;
}
.card--Pokedex {
  cursor: pointer;
}

.game {
  width: 60px;
  height: 60px;
  background-image: url("/assets/images/game.png");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50px;
  font-size: 10px;
  font-weight: bold;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 0 30px;
  box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.705);
  transition: 0.2s;
  cursor: url("/assets/images/battle.png") 20 20, pointer;
}
.game:hover {
  scale: 1.3;
  transition: 0.2s;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.grass {
  background-color: rgb(102, 155, 100);
}

.fire {
  background-color: rgba(255, 103, 103, 0.747);
}

.water {
  background-color: rgb(116, 165, 221);
}

.bug {
  background-color: rgb(123, 167, 118);
}

.normal {
  background-color: rgb(172, 172, 172);
}

.poison {
  background-color: rgba(229, 99, 255, 0.74);
}

.electric {
  background-color: rgb(255, 234, 116);
}

.ground {
  background-color: rgba(163, 90, 56, 0.781);
}

.fighting {
  background-color: rgba(253, 140, 64, 0.795);
}

.fairy {
  background-color: rgba(255, 197, 245, 0.842);
}

.psychic {
  background-color: rgba(155, 48, 255, 0.733);
}

.rock {
  background-color: rgba(105, 105, 105, 0.801);
}

.ice {
  background-color: rgba(109, 238, 255, 0.733);
}

.dragon {
  background-color: rgba(255, 81, 148, 0.774);
}

.flying2 {
  background-color: rgb(150, 230, 255);
}

.ghost2 {
  background-color: rgb(71, 38, 146);
}

.legendary {
  box-shadow: 0 0 25px 10px inset rgb(255, 166, 0);
}

.flyingcard {
  width: 20px;
  height: 20px;
  background-image: url("/assets/icons/Flying type.ico");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 90%;
  left: 40%;
}

.ghostcard {
  width: 20px;
  height: 20px;
  background-image: url("/assets/icons/Ghost type.ico");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 90%;
  left: 40%;
}/*# sourceMappingURL=pokeapi.css.map */