.team-modal-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: #f6f1ed;
  top: 0;
  bottom: 0;
  opacity: 0;
  display: none;
  transition: all 300ms ease-in-out;
  z-index: 13;
}
.open {
  opacity: 1;
  pointer-events: auto;
  display: block;
}

.x {
  cursor: pointer;
}

.team-modal-wrapper {
  display: grid;
  position: relative;
  top: 25%;
  max-width: 1200px;
  margin: auto;
  grid-template-columns: 1fr 2fr 1fr;
  grid-gap: 3rem;
  padding: 0 2rem;
}

a.info-wrapper-link {
  text-decoration: none;
  font-size: 20px;
  color: #ea3f34;
}

.info-wrapper {
  position: relative;
  top: 5rem;
}

.info-wrapper > * {
  padding-bottom: 1rem;
}
.team-modal-body-text {
  font-family: stolzl, sans-serif;
  font-style: normal;
  font-size: 18px;
  color: black;
  line-height: 30px;
  padding-top: 1rem;
}

.team-modal-body-text a{
  color:var(--inevitable-red);
}

.team-modal-desc-text {
  font-family: stolzl, sans-serif;
  font-style: normal;
  font-size: 20px;
  color: black;
  line-height: 24px;
}
.team-modal-title-text {
  font-family: stolzl, sans-serif;
  font-style: normal;
  font-size: 48px;
  color: black;
  font-weight: 500;
  line-height: 58px;
}

@media screen and (max-width: 768px) {
  .team-modal-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-items: center;
    top: 15%
  }
  .team-modal-body-text {
    font-size: 16px;
  }
  .team-modal-desc-text {
    font-size: 16px;
  }
  .team-modal-title-text {
    font-size: 32px;
  }
  .x {
    position: absolute;
    right: 3rem;
    top: -5rem;
  }
  .team-modal-wrapper img{
    max-width: 200px;
  }
  .team-modal-container{
    z-index: 99000;
    overflow: scroll;
  }
  .info-wrapper{
    top: 0;
  }
  .open{
    z-index: 100000;
    overflow: scroll;
  }
  .founder-modal-wrapper{
    top: 15%
  }

}
