.people {
  position: relative;
  z-index: 1;
}

.people::before {
  content: "";
  background: linear-gradient(132deg, #f03a3a 0.00%, #c74ad3 100.00%);
  width: 34%;
  padding-top: 34%;
  left: 41%;
  top: 11%;
  transform: translateX(-50%) translateY(-50%);
  position: absolute;
  border-radius: 100%;
  height: 0;
  filter: blur(240vw);
  opacity: 0.4;
  z-index: -1;
}

.people .main-block_background {

}

.people__header {
  color: var(--heading);
}

.people__header--description {

}

.people__reviews {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.people__message {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  flex: 1;
  min-width: 300px;
}


.people__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.people__user_icon {
  background: #8570de;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.people__user_icon img {
  width: 19px;
}

.people__user h2 {
  color: #4a369d;
  font-size: 18px;
  line-height: 24px;
}

.people__profession {
  margin: 0;
  opacity: 0.7;
}

.people__link {
  padding: 2px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.people__link img {
  width: 24px;
  height: 24px;
}

.people__avatar {
  position: absolute;
  bottom: -16px;
  right: -16px;
  overflow: hidden;
  min-width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
}

.people__message:nth-child(1) .people__avatar {
  transform: rotate(-3deg);
}

.people__message:nth-child(2) .people__avatar {
  transform: rotate(2deg);
}

.people__message:nth-child(3) .people__avatar {
  transform: rotate(-2deg);
}

.people__avatar img {
  height: 100%;

}

@media screen and (max-width: 1024px) {
  .people__reviews {

  }
  .people__avatar {
    position: relative;
    bottom: 0px;
    right: 0;
    transform: rotate(0deg) !important;
  }

  .people__user_icon {
    display: none;
  }

  .people__user {

  }

}

@media screen and (max-width: 768px) {
  .people__text{
    margin-top: 16px;
  }

  .people__avatar {
    min-width: 60px;
    height: 60px;
    border-radius: 4px;

  }

  .people::before {
    width: 78%;
    padding-top: 78%;
  }

  .people__message {
    min-width: 200px;
    padding: 16px;
  }
}

@media screen and (max-width: 500px) {
  .people__avatar {

  }

  .people__message-block {
    margin-left: 12px;
  }
}
