max-height: 200px; /* You can adjust the maximum height as needed */ margin: 5px; /* Reduce the margin to bring team members closer */ gap: 10px; /* Reduce the gap between team members */