.team-heading {
  font-size: 2em;
  color: white;
  text-align: center;
  margin-bottom: 20px;
  width: 100%; /* Add this line */
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap; /* Add this line */
}

.team-members-wanted {
  gap: 16px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid deepskyblue;
  border-radius: 10px;
  padding: 20px;
  width: 300px; /* Adjust the width as needed */
  text-align: center;
}

.team-member-wanted {
  padding: 10px;
  width: 216px;
  border: 2px solid darkgoldenrod;
}

.team-member-investor {
  padding: 10px;
  width: unset;
  border: 2px solid #238636;
}

.team-member-project {
  border: 2px solid #8957e5;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 0 25%;
  margin-bottom: 10px;
  user-drag: none; /* Prevent dragging on supported browsers */
  -webkit-user-drag: none; /* Prevent dragging on Safari */
  -webkit-touch-callout: none; /* Disable callout on long-press (iOS Safari) */
}

.team-member-wanted .avatar {
  object-fit: contain;
  object-position: unset;
}

.member-name {
  font-size: 1.5em;
  color: white;
  margin-bottom: 5px;
}

.member-description {
  max-width: 320px;
  margin: 0 auto;
}