.team {
  padding: 37px 0px 130px 0px;
  position: relative;
}

.team__wave {
  width: 100%;
  height: 160px;
  position: absolute;
  top: -125px;
  left: 0;
}

.team__wave img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.team__content {
  display: flex;
  justify-content: space-between;
}

.team__heading-container {
  max-width: 40%;
  line-height: 19px;
}

.team__heading {
  width: 500px;
  line-height: 120%;
}

.team__description {
  max-width: 533px;
  line-height: 120%;
  margin-top: 27px;
}

.team__people {
  display: flex;
  flex-grow: 1;
  margin-bottom: 36px;
  align-items: flex-start;
}

.team__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  flex: 1;
}

.team__name {
  text-align: center;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
}

.team__position {
  text-align: center;
  max-width: 70%;
  margin-top: 8px;
  line-height: 24px;
}

.team__img {
  border-radius: 25px;
  filter: drop-shadow(0px 15px 24px rgba(0, 0, 0, 0.12));
  height: 168px;
  width: 168px;
}

.team__people-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
}

.team__button {
  background-color: #bfebff;
  border-radius: 10px;
  border: none;
  padding: 16px 43px;
  max-width: 192px;
  font-size: 20px;
  outline: none;
  text-align: center
}

.team__button:hover {
  background-color: #99bccc;
}

@media all and (min-width: 780px) {
  .team {
    margin-bottom: 100px;
    padding-top: 120px;
  }
  .team__people {
    min-width: 600px;
  }
}

@media all and (max-width: 780px) {
  .team {
    background-color: #ffffff;
    margin-top: 0px;
    padding: 0px 0px 74px 0px;
  }

  .team__wave {
    display: none;
  }

  .team__heading-container {
    max-width: 100%;
  }

  .team__content {
    flex-direction: column;
  }

  .team__heading {
    width: 60%;
  }

  .team__description {
    max-width: auto;
    line-height: 131%;
    margin-top: 24px;
  }

  .team__people {
    margin: 0px 0px 34px 0px;
    align-items: flex-start;
  }

  .team__name {
    font-size: 16px;
  }

  .team__position {
    font-size: 14px;
	word-wrap: break-word;
  }

  .team__img {
    height: 97px;
    width: 97px;
  }

  .team__people-container {
    margin-top: 40px;
  }

  .team__button {
    font-size: 14px;
    text-align: center;
    max-width: 100%;
    width: 100%;
  }
}

picture.team__img img {
  max-width: 100%;
  border-radius: 25px;
  filter: drop-shadow(0px 15px 24px rgba(0, 0, 0, 0.12));
  height: 168px;
  width: 168px;
}