.team-players {
  margin-top: 50px;
  & > h3 {
    margin-bottom: 50px;
  }
}

#players, #team-players-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 100px;
}

.parent {
  & > h2 {
    margin-top: 50px;
    margin-bottom: 50px;
    color: var(--theme-primary-color);
  }
}

.card {
  color: var(--theme-primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 347px;
  height: 418px;
  overflow: hidden;
  transition: transform 0.2s ease;
  border-radius: 16px;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  height: 115px;
  & > .nameWithId {
    display: flex;
    align-items: center;
    & > .id {
      margin-left: 12px;
      opacity: 0.5;
    }
  }
}

small {
  display: flex;
  justify-content: center;
  max-inline-size: revert;
}
