h1 {
  margin-bottom: 48px;
}

#contact-search {
  margin: 32px 0;
  max-width: 600px;

  #contact-search-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    .mat-form-field{
      margin-top: 10px;
      margin-bottom: 10px;
      width: 200px;
      max-width: 100%;
    }

    .add-button{
      display: none;
      &.visible{
        display: block;
      }
    }
  }
}

#contact-list {
  max-width: 600px;
}

.one-contact {
  .contact-line {
    display: flex;
    justify-content: space-between;

    .avatar-cont {
      display: flex;
      align-items: center;
      margin: 16px 0;
      cursor: pointer;

      app-avatar {
        width: 30px;
        height: 30px;
      }
    }

    .avatar-buttons {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
  }
}

:host {
  display: flex;
  height: 100%;

  > div {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;

    > div {
      position: absolute;
    }
  }
}
