@import '../styles/colors';

.users__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* margin: 10px 0 0 10px; */
  border-radius: 50%;
  overflow: hidden;
  font-family: 'Poppins', 'Montserrat', sans-serif;
  line-height: 1.5;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;

  &.clickable {
    cursor: pointer;
    &:active {
      transform: scale(0.98);
    }
  }

  &.huge {
    width: 160px;
    height: 160px;
    font-size: 36px;
    font-weight: 600;
  }

  &.big {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  &.medium {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  &.small {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}

.users__item_counter {
  font-size: 12px;
  font-weight: 400;
}

.users__pic {
  height: 100%;
}

.users__item:first-child {
  z-index: 6;
}

.users__item:nth-child(2) {
  z-index: 5;
}

.users__item:nth-child(3) {
  z-index: 4;
}

.users__item:nth-child(4) {
  z-index: 3;
}

.users__item:nth-child(5) {
  z-index: 2;
}

.users__item:nth-child(6) {
  z-index: 1;
}

/* body.dark .users__item { */
/* border: 1px solid $dark-border-gray-color; */
/* } */

/* body.dark .users__item_counter {
  border-color: $white-text;
  color: $white-text;
} */

@media only screen and (max-width: 1365px) {
  .users__item {
    &.big {
      width: 30px;
      height: 30px;
      font-size: 12px;
    }

    &.medium {
      width: 26px;
      height: 26px;
      font-size: 11px;
    }

    &.small {
      width: 22px;
      height: 22px;
      font-size: 10px;
    }
  }

  .users__item_counter {
    font-size: 11px;
  }
}