body {
  margin: 0;
}

div.page-content {
  background-color: darkgray;
  min-height: 95vh;
}

#posts {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-btn {
  background-color: rgb(105,105,105);
  text-decoration: none;
  display: inline-block;
  color: lightgrey;
  border: solid grey 2px;
  border-radius: 5px;
}
.link-btn:hover {
  background-color: rgb(115,115,115);
}

.btn {
  width: 100px;
  height: 40px;
  font-size: 0.85em;
  cursor: pointer;
}


.post {
  width: 70vw;
  white-space: pre-line;
  background-color: white;
  display: block;
  min-height: 10vh;

  margin-bottom: 1px;
  padding: 0.5vw;
  border: 2px solid black;
  border-radius: 5px;
}

.post-header {
  display: flex;
  align-content: center;
}

.post-auther {
  margin: 4px;
  text-align: left;
  overflow-wrap: anywhere;
}

.post-date {
  margin-left: auto;
  opacity: 0.5;
  font-size: 0.7em;
}

.post-content {
  /*to make posts able to render multi-line content*/
  white-space: pre-line;
  overflow-wrap: anywhere;
  display: block;
  text-decoration: none;
  color: black;
  padding: 5px;
}

.post__btn {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  box-sizing: border-box;
  width: 60px;
  height: 40px;
  color: white;
  background-color: rgb(42, 135, 179);
  border: solid grey 2px;
  border-radius: 5px;
  border-color: rgb(50, 156, 207);
  cursor: pointer;
}
.post__btn:hover {
  background-color: rgb(60, 150, 200);
  border-color: rgb(70, 180, 220);
}
