@media screen and (min-width: 967px) {
  .team__card.full .team__card-description {
    padding: 32px;
    width: calc(50% + 16px);
    margin-left: auto;
  }

  .team__card.full img {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(50% - 16px);
    height: 100%;
  }
}

@media screen and (min-width: 768px) {
  .team__card.full {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    flex-direction: column;
  }

  .team__card.full img {
    height: auto;
  }
}

.about {
  padding: 62px 0;
  display: flex;
  align-items: center;
  gap: 40px;
}

.about__description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: calc(50% - 20px);
}

.about__video {
  width: calc(50% - 20px);
}

.about-page p {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #41617E;
  margin: 0;
}

.about-page .team__card p {
  font-size: 16px;
  line-height: 24px;
}

.team {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.team__container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.team p {
  max-width: 808px;
  margin: 0 auto;
}

.team__card {
  border-radius: 12px;
  overflow: hidden;
  width: calc(50% - 16px);
}

.team__card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background-color: #F9FAFB;
}

.team__card-description {
  padding: 24px;
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  background-color: #F9FAFB;
}

.team__card-description .wprt-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team__badge-box,
.team__button-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.team__button-box {
  gap: 16px;
}

.team__badge {
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #173851;
  display: inline-block;
  padding: 6px 14px;
  background-color: #E1FCDA;
  border-radius: 56px;
  text-transform: uppercase;
}

.team__card-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-page .h5 {
  color: #41617E;
  margin-bottom: 22px;
}

#rob-english {
  padding-top: 212px;
  margin-top: -212px;
}

#rob-english img {
  margin-top: 212px;
}

#team-members {
  padding-top: 82px;
  margin-top: -82px;
}

@media screen and (max-width: 976px) {
  .about {
    padding: 48px 0 24px;
    gap: 12px;
  }

  .about__description {
    gap: 12px;
  }

  .about__description .h1,
  .team .h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .team p {
    font-size: 16px;
    line-height: 28px;
  }

  .contact {
    margin: 0 0 48px;
  }

  .contact__form-wrapper {
    padding: 64px 24px;
  }

  .contact .contact__form-wrapper p,
  .contact__form-input,
  .contact__form-error {
    margin: 16px 0 0 0;
    max-width: 100%;
  }

  .contact__form-wrapper .h2 {
    font-size: 28px;
    line-height: 36px;
  }

  #rob-english {
    padding-top: 12px;
    margin-top: -12px;
  }

  #rob-english img {
    margin-top: 0px;
  }

  #team-members {
    padding-top: 12px;
    margin-top: -12px;
  }
}

@media screen and (max-width: 767px) {
  .about {
    flex-direction: column;
    padding-bottom: 0;
  }

  .about__description,
  .about__video {
    width: 100%;
  }

  .team__card {
    width: 100%;
  }

  .team__container {
    gap: 24px;
  }

  .team__badge-box,
  .team__button-box {
    width: 100%;
  }
}