.chat {
  width: 48rem;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), #191726;
  padding-bottom: 5rem;
  border: 1px solid #383a44;
  border-radius: 0 4px 4px 0;

  @include screen(lg, max) {
    width: 100%;
    background: transparent;
    border-radius: 0 0 4px 4px;
    border-top: none;
    padding-bottom: 9rem;
  }

  @include screen(md, max) {
    border: none;
  }

  &__item {
    padding-top: 2rem;
    padding-left: 3rem;
    padding-bottom: 1.5rem;
    padding-right: 3rem;

    &:not(:last-child) {
      border-bottom: 1px solid #383a44;
    }

    @include screen(lg, max) {
      &:not(:first-child) {
        border: none;
      }
    }

    @include screen(xs,max) {
      padding-right: 1rem;
      padding-left: 1rem;

      &:first-child {
        padding-top: 0;
      }
    }

    .person {
      &:not(:first-child) {
        margin-top: 1.5rem;
      }
    }

    .logo {
      width: 17rem;
      height: 9.6rem;
      margin: 0 auto;
    }

    &.author {
      @include screen(lg, max) {
        .person__content {
          display: block;

          * {
            display: inline;
          }
        }
      }
    }

    &.comments {
      height: 310px;
      overflow-y: auto;

      /* width */
      &::-webkit-scrollbar {
        width: 5px;
      }

      /* Track */
      &::-webkit-scrollbar-track {
        background-color: transparent;
      }

      /* Handle */
      &::-webkit-scrollbar-thumb {
        background-color: #9263e3;
        border-radius: 4px;
      }

      @include screen(lg,max) {
        margin-bottom: 12.5rem;
        height: auto;
        max-height: 310px;
      }
    }

    &.links {
      padding-top: 3rem;

      p {
        font-size: 1.4rem;
        font-weight: 300;
        line-height: 1.6;
        text-align: center;
        margin-top: 1rem;
        padding: 0 6rem;
      }

      @include screen(lg, max) {
        text-align: center;
        padding: 0;

        .button {
          margin-top: 2.9rem;
        }
      }
    }
  }
}
