html, body {
  margin: 0;
  height: 100%;
  overflow: hidden}

body{
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 background-image: url("background.jpg");
 background-repeat: no-repeat;
 background-size: cover;
 gap: 18px;
}

.pokemonLogo{
    background-image: none;
}

.pokedexButtons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.allPokeCards {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-content: flex-start;
gap:0px 50px;
height: 670px;
max-width: 800px;
overflow-y: auto;
overflow-y: auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.allPokeCards::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.allPokeCards {
-ms-overflow-style: none;  /* IE and Edge */
scrollbar-width: none;  /* Firefox */
}

.pokeCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 200px;
    height: 300px;
    background-color: rgb(0, 0, 0, 0.2);
    justify-content: center;
    border-radius: 10px;

}

.pokeAllImg {
    width: 100px;
    height: auto;
}

.singlePokeCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgb(0, 0, 0, 0.2);
    justify-content: space-around;
}

.pokeSingImg {
    width: 150px;
    height: auto;
}

.pokeSingImgMove {
  width: 150px;
  height: auto;
  animation: tilt 1.1s infinite ease-in-out;
}

@keyframes tilt {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-40deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(40deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
h2 {
  align-items: center;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  display: flex;  
  font-family: Inter,sans-serif;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgb(255, 255, 255, 0.5);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 35px;
}

button, input {
  align-items: center;
  background-color: #fee6e3;
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  cursor: pointer;
  display: flex;
  font-family: Inter,sans-serif;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

/* button:after {
  background-color: #111;
  border-radius: 8px;
  content: "";
  display: block;
  height: 48px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(4px, 4px);
  transition: transform .2s ease-out;
  z-index: -1;
} */

button:hover:after {
  transform: translate(0, 0);
}

button:active {
  background-color: #ffdeda;
  outline: 0;
}

button:hover {
  outline: 0;
}

@media (max-width: 700px) {
  .pokemonLogo{
    background-image: none;
    padding-top: 1%;
    width: 50%;
  }

  button {
    padding: 0 20px;
  }

  .pokedexButtons {
    display: flex;
    flex-direction: column;
    height: 15%;
    width: 80%;
  }
}


@media (max-width: 500px) {

  .pokemonLogo{
    background-image: none;
    padding-top: 3%;
    width: 50%;
  }

  button {
    padding: 0 20px;
  }


}