:root {
  --privary-color-controls: #e56083;
  --secondary-color-controls: #6659bc;
}

.content {
  margin-top: 20px;
}
.content__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content__search {
  margin-top: 30px;
}
.content__emails-list {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

/* #region EmailsList */
.emails-list__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.emails-list__item {
  box-shadow: 0px 0px 14px 7px rgba(102, 89, 188, 0.04),
    0px 0px 9px -5px rgba(102, 89, 188, 0.6);
  border-radius: 15px;
  width: 260px;
  display: flex;
  flex-direction: column;
}
.emails-list__item::before {
  content: "";
  display: block;
  height: 15px;
  width: 100%;
  background-color: var(--privary-color-controls);
  border-radius: 15px 15px 0 0;
}
.emails-list__item:nth-child(even):before {
  background-color: var(--secondary-color-controls);
}
.item__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 25px;
  word-break: break-all;
}
.item__content p {
  font-size: 0.875rem;
}
.item__fullname {
}
.item__copy {
  cursor: pointer;
}
.item__copy img {
  width: 25px;
}
/* #endregion */

@media (min-width: 768px) {
  .content {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
  }
  .content__header {
    margin: 60px;
  }
  .content__emails-list {
    margin: 50px 60px 0 60px;
  }
  .emails-list__items {
    column-gap: 50px;
  }
  .emails-list__item::before {
    content: "";
    display: block;
    height: 100%;
    width: 32px;
    border-radius: 15px 0 0 15px;
  }
  .item__email::before {
    content: "";
    display: block;
    width: 1px;
    background-color: #a6a6a6;
    height: 74px;
  }
  .item__email::after {
    content: "";
    display: block;
    width: 1px;
    background-color: #a6a6a6;
    height: 74px;
  }
  .item__copy img {
    width: 40px;
  }

  .emails-list__item {
    flex-direction: row;
    justify-content: space-between;
    width: 500px;
  }
  .item__content {
    flex-direction: row;
    gap: 26px;
    flex: 1 0 468px;
    justify-content: space-between;
    padding: 8px 26px;
  }
  .item__email {
    display: flex;
    gap: 26px;
    align-items: center;
    flex: 0 0 180px;
    justify-content: space-between;
  }
  .item__fullname {
    width: 144px;
  }
}

@media (min-width: 1440px) {
  .content__emails-list {
    justify-content: start;
  }
  .content__header {
      align-items: start;
  }
  .emails-list__items {
    justify-content: start;
  }

  .item__content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (min-width: 1674px) {
  .emails-list__item {
    flex-direction: row;
    justify-content: space-between;
    width: 642px;
  }
  .item__content {
    flex-direction: row;
    gap: 30px;
    flex: 1 0 625px;
    justify-content: space-between;
    padding: 25px 30px;
  }
  .item__email {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 0 0 306px;
    justify-content: space-between;
  }
  .item__fullname {
    width: 144px;
  }
}
