.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 60px 0px 120px;
  align-items: center;
  justify-content: center;
}

.content {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.title {
  color: #131313;
  font-size: 24px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.15px;
  margin: 0px 0px 30px;
}

.team {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 120px;
}

.team-memeber {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.team-member-image {
  width: 192px;
  max-width: 100%;
  line-height: 0px;
  filter: grayscale(100%);
}

.team-member-info {
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.team-member-name {
  color: #131313;
  font-size: 15px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.15px;
}

.team-member-title {
  color: #131313;
  font-size: 15px;
  line-height: 150%;
  letter-spacing: 0.15px;
}

.contributors {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(6, 0, 31, 0.92);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 540px;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
}

.modal-main-content {
  background: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: auto;
  height: 100%;
}

.close-modal {
  display: flex;
  align-items: end;
  justify-content: right;
  padding: 8px;
  height: 20px;
  cursor: pointer;
}

.modal-member-info {
  display: flex;
  gap: 24px;
}

.modal-member-image {
  width: 180px;
  max-width: 100%;
}

.modal-member-details {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.modal-member-name {
  color: #131313;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.15px;
}

.modal-member-title {
  color: #131313;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.15px;
}

.modal-member-description {
  color: #131313;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.15px;
}

.modal-square-container {
  display: flex;
  padding: 0px 192px 0px 0px;
}

.modal-square {
  width: 24px;
  height: 24px;
  border: 1px solid #ebebeb;
}

.modal-member-socials {
  display: flex;
  gap: 30px;
}

@media (max-width: 1200px) {
  .team {
    padding: 0px 20px;
  }

  .contributors {
    padding: 0px 20px;
  }

  .title {
    padding: 0px 20px;
  }
}

@media (max-width: 768px) {
  .main-content {
    margin: 30px 0px 100px;
  }

  .team {
    margin-bottom: 100px;
  }
}

@media (max-width: 576px) {
  .title {
    width: 100%;
    padding: 0px;
    text-align: center;
  }

  .team {
    justify-content: center;
  }

  .contributors {
    justify-content: center;
  }

  .modal-member-info {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .modal-member-name {
    text-align: center;
  }

  .modal-member-title {
    text-align: center;
  }

  .modal-square-container {
    padding: 0px 40% 0px 0px;
  }
}
