/* Hero section */

.hero {
  text-align: center;

  margin: 0 auto;
  padding: 70px 180px;
  background-image: url(media/squirrel-acorn-background2.png);
  background-size: cover;
  background-color: rgba(255, 255, 255, 0.9);
  background-blend-mode: lighten;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: var(--mainText);
}

.hero p {
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 40px;
}

.team {
  background-image: url(media/squirrel-acorn-background2.png);
  background-color: rgba(255, 255, 255, 0.9);
  background-size: cover;
  background-blend-mode: lighten;
}
.team-member-wrapper {
  text-align: center;
}
.team-member-wrapper h3 {
  color: var(--mainText);
  font-size: 3rem;
}
.team-member-wrapper h4 {
  color: var(--secondaryText);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.team-member {
  width: 30%;
}

.team-member-wrapper p {
  width: 80%;
  margin: 20px auto 20px auto;
}

.meet-heading {
  text-align: center;
  font-size: 3rem;
  color: var(--mainText);
}

/* staff member wrapper */
.staff-wrapper {
  min-height: 300px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  padding: 20px 20px;
}

.staff-member-2 {
  flex-basis: 48%;
}

.member-card {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.member-card h3 {
  font-size: 2.3rem;
  color: var(--mainText);
}

.member-card h4 {
  font-size: 1.5rem;
  line-height: 1.5rem;
  color: var(--secondaryText);
}
.member-card p {
  width: 85%;
  margin: 30px auto;
}
.member-card p span {
  display: block;
  font-size: 1rem;
  line-height: 1.2rem;
  font-weight: 400;
  width: 85%;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .hero {
    padding: 70px 15px;
  }
}

@media (max-width: 600px) {
  .staff-member-2 {
    flex-basis: 23%;
  }

  .member-card img {
    width: 250px !important;
  }

  .member-card p {
    position: relative;
    left: -25%;
    width: 150%;
    margin: 30px 0;
  }
}
