.pokemon_card {
  background-color: #1a1a1a;
  border-radius: 16px;
  padding: 16px;
  padding-top: 56px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: visible;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.pokemon_card:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.image_wrapper {
  position: absolute;
  top: -40px;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.pokemon_img {
  width: 120px;
  height: auto;
}

.types {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.types img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 6px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.overlay_card {
  border-radius: 16px;
  color: #fff;
  width: 90%;
  display: flex;
  justify-content: center;
}

.tab-content {
  margin-top: 1rem;
}

.type {
  display: inline-block;
  margin: 0 5px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #444;
  color: white;
}

.overlay_image_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.overlay_image_wrapper img {
  width: 180px;
  height: auto;
}

.overlay_card_inner {
  position: relative;
  border-radius: 24px;
  color: white;
  width: 90%;
  max-width: 500px;
  height: 600px;
  text-align: center;
}

.first_card_half {
  padding: 2rem;
}

.overlay_arrows {
  justify-content: space-between;
}

.arrows_img {
  cursor: pointer;
}

.about_section {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.facts_overlay_bg {
  background-color: #221e1e;
  padding: 2rem;
  border-radius: 0px 0px 24px 24px;
}
