body {
  background: orangered;
  margin: 0;
  font-family: "Press Start 2P", system-ui;
}

.card {
  background-color: #f4f4f4;
  list-style: none;
  border-radius: 5px;
  padding: 40px;
  color: #424242;
  display: grid;
  text-align: center;
}
.card:hover {
  animation: bounce 0.5s linear;
  cursor: pointer;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.card-title {
  font-size: 1.5em;
  margin: 0;
  margin-bottom: 0;
}

.card-subtitle {
  font-size: 1.2em;
  color: #757575;
}

.card-image {
  height: 180px;
  margin: 0 auto;
}

#pokedex {
  padding-inline-start: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 20px;
}

.container {
  padding: 20px;
  margin: 0 auto;
}
h1 {
  text-align: center;
  color: #fff;
  font-size: 2em;
  margin: 0;
  padding: 20px;

}

.popup{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f4f4f4;
  opacity: 0.95;
  display: flex;
  justify-content: center;
  align-items: center;
}
#closeBtn{
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5em;
  cursor: pointer;
}
button{
  background-color: orangered;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}
button:hover{
  background-color: darkred;
  box-shadow: 0px 1px 5px 2px;;
}