:host {
  min-width: 265px;
}

mat-card {
  color: white;
  margin: 10px 0;
}

.pokemon-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 3rem 1.5rem;
}

.pokemon-image {
  background-color: #f0f0f0;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 0.5rem;

  img {
    width: 96px;
    height: 96px;
  }
}

.pokemon-image img {
  width: 100%;
  height: auto;
}

.pokemon-info {
  text-align: center;
  margin-top: 20px;
}

.pokemon-name {
  font-size: 32px;
  font-weight: bold;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.pokemon-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.pokemon-meta div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pokemon-meta-label {
  font-size: 16px;
  margin-bottom: 5px;
}

.pokemon-meta-value {
  font-size: 20px;
  font-weight: bold;
}

.pokemon-attributes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.attribute-card {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.attribute-name {
  font-size: 18px;
  color: #333;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.attribute-value {
  font-size: 22px;
  font-weight: bold;
  color: #ee1515;
}
