.content:not(.full) {
  max-width: var(--content-max-width-team);
}

#landingpage {
  min-height: calc(100vh - var(--header-height));
}

#landingpage .content {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#landingpage .image {
  width: 55%;
}

#landingpage .image img {
  width: 100%;
  border-radius: 6px;
}

#landingpage .text {
  width: 37%;
  margin-right: 72px;
}

#landingpage h1 {
  font-size: 4.375rem;
  line-height: 115%;
  margin-bottom: 5%;
}

#landingpage .subheading {
  text-align: left;
  font-size: 1.375rem;
  width: 90%;
}

#about {
  margin: 19vh;
}

#about .content {
  flex-direction: row;
}

#about .left {
  width: 40%;
}

#about .left.fade[data-scroll="out"] {
  transform: translateX(-100px);
}

#about .left h2 {
  margin-bottom: 4%;
}

#about .left p {
  font-size: 1.25rem;
  margin-bottom: 4%;
}

#about .right {
  width: 48%;
}

#about .right.fade[data-scroll="out"] {
  transform: translateX(100px);
}

#about .right img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 3px;
}

#about .right span {
  color: var(--secondary);
  opacity: .6;
}

#team {
  padding: 15vh;
}

#team .people {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 2.66%;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 100%;
  margin-top: 11vh;
}

#team .person {
  width: 23%;
  /* padding: 0 2%; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 4%;
}

.person .name {
  font-family: var(--headings);
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 1.5vh;
  margin-bottom: 1%;
}

.person .position {
  opacity: .6;
}

.person .image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.person .image img {
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
}

#values {
  padding-top: 14vh;
}

#values .list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin-top: 13vh;
}

#values .value {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-light);
  border-radius: 10px;
  padding: 4.5% 0;
}

#values .value:nth-child(even) {
  background-color: transparent;
  flex-direction: row-reverse;
  padding: 7% 0;
}

.value .inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.value:nth-child(even) .inner {
  flex-direction: row-reverse;
}

.value .inner .left {
  width: 31%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.value:nth-child(even) .inner .left.fade[data-scroll="out"], .value:nth-child(odd) .inner .right.fade[data-scroll="out"] {
  transform: translateX(100px);
}

.value:nth-child(odd) .inner .left.fade[data-scroll="out"], .value:nth-child(even) .inner .right.fade[data-scroll="out"] {
  transform: translateX(-100px);
}

.value .inner>.right {
  max-width: 30%;
  height: 30vh;
  overflow: hidden;
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#values .value:nth-child(odd) .inner>.left {
  margin-right: 8%;
}

#values .value:nth-child(even) .inner>.right {
  margin-right: 8%;
}

.value .right img {
  max-width: 100%;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
}

.value .left .number {
  font-family: var(--headings);
  text-align: center;
  font-weight: 600;
  font-size: 2rem;
  color: var(--primary);
  opacity: .4;
  margin-right: 0%;
  min-width: 13%;
  margin-top: -.6%;
}

.value .left .heading {
  font-size: 1.875rem;
  line-height: 120%;
  margin-bottom: 4%;
  width: 80%;
}

.value .left .description {
  font-size: 1.25rem;
  line-height: 150%;
}

@media only screen and (max-width: 1315px) {
  #landingpage .content {
    flex-direction: column-reverse;
  }
  #landingpage .image {
    width: 80%;
  }
  #landingpage .text {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  #landingpage .text p {
    text-align: center;
    width: 100%;
  }
}

@media only screen and (max-width: 960px) {
  #about .content .right {
    width: 80%;
  }
  #about .content {
    flex-direction: column;
  }
  #about .content .left {
    margin-top: 40px;
    width: 100%;
  }
}

@media only screen and (max-width: 892px) {
  #team .people {
    gap: 10%;
  }

  #team .person {
    width: 45%;
  }
}

@media only screen and (max-width: 768px) {
  #landingpage h1 {
    font-size: 3.5rem;
  }
}

@media only screen and (max-width: 576px) {
  #landingpage h1 {
    font-size: 3.0rem;
  }
}

@media only screen and (max-width: 450px) {
  #landingpage .content {
    flex-direction: column;
    margin-top: 15%;
  }

  #landingpage .image {
    width: 100%;
  }

  #landingpage .text {
    width: 100%;
  }

  #landingpage h1 {
    font-size: 2.3rem;
  }

  #landingpage p {
    width: 100%;
    font-size: 1.3rem;
  }

  #about {
    margin: 10vh;
  }

  #about .content {
    flex-direction: column;
  }

  #about .left {
    width: 100%;
    margin-bottom: 10%;
  }

  #about .right {
    width: 100%;
  }

  #team .person {
    width: 100%;
    margin-bottom: 14%;
  }

  .person .image {
    height: 47vh;
  }

  .value .inner {
    flex-direction: column-reverse !important;
    width: 92%;
  }

  .value .inner>.right {
    max-width: 100%;
    margin-bottom: 8%;
    margin-right: auto !important;
  }

  .value .inner .left {
    width: 100%;
    margin-right: auto !important;
  }

  #values .value:nth-child(even) {
    padding: 18% 0;
  }

  .value .left .heading {
    font-size: 1.5rem;
  }

  .value .left .number {
    font-size: 1.5rem;
    margin-top: -0.7%;
  }

  .value .left .description {
    font-size: 1.1rem;
    margin-bottom: 8%;
  }
}

@media only screen and (max-width: 350px) { 
  #landingpage h1 {
    font-size: 2.0rem;
  }
}