/* Hero section */

.hero {
  text-align: center;
  width: 80%;
  margin: 0 auto;
  padding: 70px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: var(--logoBlue);
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin-bottom: 40px;
}

/* Teams section */

.room-teams {
  background-image: url(media/blue-bear-background.png);
  background-size: contain;
  background-repeat: repeat;

  background-color: rgba(255, 255, 255, 0.7);
  background-blend-mode: lighten;
}
.team-wrapper {
  padding: 40px 0 70px 0;
}
.team-wrapper .room-header {
  font-size: 3rem;
  text-align: center;
  color: var(--logoBlue);
  margin-bottom: 70px;
}

/* staff member wrapper */
.staff-wrapper {
  min-height: 300px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 20px;
}

.staff-member-2 {
  flex-basis: 48%;
}
.staff-member-4 {
  flex-basis: 23%;
}

.staff-member-3 {
  flex-basis: 32%;
}

.member-card {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.staff-member-4 .member-card img {
  width: 250px;
  position: relative;
}

.staff-member-3 .member-card img {
  width: 350px;
}
.member-card h1 {
  font-size: 3rem;
  color: var(--logoBlue);
}

.member-card h3 {
  font-family: "Open Sans", serif;
  font-weight: bold;
  font-size: 1.5rem;
}

.member-card p span {
  display: block;
  font-size: 0.9rem;
  line-height: 1rem;
  font-weight: 400;
}

/* reviews */
.reviews {
  margin-bottom: 70px;
}
.reviews h1 {
  text-align: center;
  font-size: 3rem;
  color: var(--logoBlue);
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .staff-member-3,
  .staff-member-2 {
    flex-basis: 23%;
  }

  .member-card img {
    width: 250px !important;
  }
}
