@import url("constants.css");

.comments-div {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto;
}

.comment-nav-div {
  display: flex;
  width: 100%;
  flex-direction: row;
  margin-top: 5px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.comment-form-div {
  margin-top: 24px;
}

.comment-profile-div {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 5px;
  margin-bottom: 10px;
}

.commenter-profile-pic {
  width: 32px;
  height: 32px;
  background-image: url("../media/user32.png");
}

.commenter-name {
  padding-left: 10px;
}

.comment-text {
  padding-left: 5px;
}

.comment-div {
  display: flex;
  flex-direction: column;
  border: 1px var(--accent-colour) solid;
  border-radius: 10px;
  background: var(--secondary-colour);
  padding: 10px;
  margin-bottom: 14px;

  /* https://stackoverflow.com/a/23842462 */
  word-wrap: break-word;
}

.date-text {
  width: 100%;
  text-align: end;
}

.delete-comment-btn {
  margin-left: auto;
  margin-right: 5px;
  background: none;
  border: none;
  transition: 0.2s;
  border-radius: 100%;
  font-size: medium;
}

.page-number {
  color: var(--primary-text-colour);
}
