.staff-team {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	margin: 20px auto 10px auto;
	width: 95%;
}
.staff {
	padding: 40px 0;
}
.staff h2 {
	color: #fff;
	text-align: center;
	margin-top: 0;
	text-shadow: -1px 0 0 #000, 0 -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000,
		0 0 2px #000;
}

.owner,
.admin,
.moderator,
.helper,
.customrank {
	padding: 12px;
}
.owner {
	background-color: rgb(30 222 194 / 0.75);
}
.admin {
	background-color: rgb(158 29 105 / 0.75);
}
.moderator {
	background-color: rgb(195 28 173 / 0.75);
}
.helper {
	background-color: rgb(255 111 224 / 0.75);
}
.customrank {
	background-color: rgb(0 255 64 / 0.75);
}

/* Grouping by role */
.staff-team > div {
  width: 100%;
  margin-bottom: 2rem;
}

.staff-card {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  padding: 15px;
  margin: 10px;
  border-radius: 8px;
  min-width: 275px;
  max-width: 300px;
  flex: 0 0 calc(33.333% - 20px);
  box-sizing: border-box;
}

.staff-team > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0;
  border: none;
  background: none;
}

.staff-card img {
  width: 128px;
  margin-top: 20px;
}

.staff-card h3 {
  margin-bottom: 10px;
}

.staff-card div[class^="owner"],
.staff-card div[class^="admin"],
.staff-card div[class^="moderator"],
.staff-card div[class^="helper"],
.staff-card div[class^="customrank"] {
  margin-bottom: 10px;
  border-radius: 4px;
  font-weight: bold;
}