.background {
  width: 100%;
  height: 50vh;
  background-image: url("../images/team/pawel-czerwinski-_tGH9C9JCF8-unsplash.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content {
  padding-bottom: 20px;
}
.background div h1 {
  color: #ffffff;
  font-size: 50px;
  font-family: Futura-Medium;
  letter-spacing: 3px;
}

.background div {
  width: 35%;
  margin: 0;
  min-width: 400px;
}

.background div p {
  color: white;
  font-size: 18px;
  margin-left: 10px;
  margin-right: 10px;
}

.teamHeadMembers {
  flex-direction: row;
  min-height: 809px;
  border: none;
  padding: 0;
}

.member {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.memberPhoto {
  height: 40%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 380px;
}

.photo1 {
  background-image: url("../images/team/kapur.jpeg");
  background-position-y: 0%;
}

.photo2 {
  background-image: url("../images/team/Dimitri-Boguslavsky.jpg");
  background-position-y: 0%;
}

.memberTitle {
  height: 10%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 15px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.memberTitle h5 {
  color: #3242ff;
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}

.memberTitle span {
  color: #646464;
  font-size: 14px;
  font-family: Futura-Medium;
}

.memberContent {
  height: 40%;
  width: 80%;
}

.memberContent span {
  font-size: 14px;
  width: 100%;
  height: 100%;
  font-family: Futura-Medium;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.memberSocial {
  height: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.memberSocial div {
  width: 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.memberSocial div a img {
  height: 15px;
  opacity: 40%;
}

.advisoryBoard {
  background-color: white;
  margin: 0 auto;

  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 20px;
  margin-bottom: 50px;
}

.advisoryMember {
  width: 25%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.advMemberPhoto {
  height: 50%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.advMemberPhoto img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 0 30%;
}

.functionColor {
  color: #3242ff !important;
}

.onHover {
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.collapsedArrow {
  width: 100%;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3242ff;
  display: none;
}

.openModal {
  width: 15px;
  height: 15px;
  background-image: url("../images/icons/arrow-white.svg");
  display: block;
  background-position-y: center;
  background-repeat: no-repeat;
}

.onHover:hover {
  background-color: #3242ff;
  color: #ffffff;
  transform: translateY(-30px);
  transition: 0.3s;
}
.onHover:hover .collapsedArrow {
  display: unset;
  color: white;
  background-color: #3242ff;
  transform: translateY(30px);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.onHover:hover .collapsedArrow .openModal {
  transform: translateY(-10px);
}

.onHover:hover .memberSocial div a img {
  filter: invert(1);
  opacity: 1;
}

.onHover:hover .memberTitle h5 {
  color: #ffffff;
}

.onHover:hover .memberTitle .functionColor {
  color: #ffffff !important;
}
