body {
  background: url('https://techaeris.com/wp-content/uploads/2017/05/Gotta-Catch-Em-All-Pokemon-FI.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Oxanium', cursive;
  margin: 0;
}

.pokedex {
  display: flex;
  flex-direction: column;
  background: #c93030;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 5px 5px 15px #444;
  width: 600px;
  max-width: 90vw;
  gap: 10px;
}

#toggle-button {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background-color: #333;
  color: white;
  user-select: none;
  transition: background-color 0.3s ease;
}

#toggle-button:hover {
  background-color: #555;
}

.pokedex-content {
  display: flex;
  gap: 20px;
}

.left, .right {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
}

.left {
  width: 300px;
  text-align: center;
}

.pokemon-image-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 10px auto;
  background: url('https://www.icegif.com/wp-content/uploads/icegif-2652.gif') no-repeat center center;
  background-size: cover;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.pokemon-image {
  width: 140px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.6));
  border-radius: 10px;
}

.number {
  margin: 5px 0;
  font-weight: bold;
}

.type-species {
  margin-bottom: 10px;
  color: #666;
}

.search-bar input {
  padding: 5px;
  width: 70%;
  border-radius: 5px;
  border: 1px solid #aaa;
}

.search-bar button {
  padding: 5px 10px;
  border: none;
  background: #c93030;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.nav-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.nav-buttons button {
  padding: 10px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #c93030;
  color: white;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  width: 120px;
  text-align: center;
}

.nav-buttons button:hover {
  background-color: #555;
}

.right {
  width: 250px;
}

.info-box {
  background: #f7f7f7;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.types span {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 10px;
  color: white;
  margin-right: 5px;
  text-transform: capitalize;
}

.grass { background-color: #78C850; }
.poison { background-color: #A040A0; }
.fire { background-color: #F08030; }
.water { background-color: #6890F0; }
.flying { background-color: #A890F0; }
.bug { background-color: #A8B820; }
.normal { background-color: #A8A878; }
.electric { background-color: #F8D030; }
.ground { background-color: #E0C068; }
.fairy { background-color: #EE99AC; }
.fighting { background-color: #C03028; }
.psychic { background-color: #F85888; }
.rock { background-color: #B8A038; }
.ghost { background-color: #705898; }
.ice { background-color: #98D8D8; }
.dragon { background-color: #38ebf8; }
.dark { background-color: #705848; }
.steel { background-color: #B8B8D0; }

.stat-bar {
  display: inline-block;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  width: 100px;
  margin-left: 5px;
  position: relative;
}

.fill {
  height: 100%;
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #7038F8;
}