main section {
  width: 90%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
}

section h3 {
  font-size: 28px;
}

section .message {
  width: 100%;
  box-shadow: 0 2px 5px 0 #c6cf52;
  margin: 10px 0;
  padding: 20px;
}

section .message h4 {
  font-size: 20px;
  margin: 30px 0;
}

section .message p {
  font-size: 20px;
}

section .message .sent-date {
  font-size: 18px;
  font-weight: lighter;
  margin-top: 10px;
}

section div.controls {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

section div.controls button {
  margin: 20px 0;
}

.btn {
  border: none;
  padding: 10px 30px;
  background-color: #c3cc46;
  cursor: pointer;
  font-size: 20px;
  font-weight: normal;
  font-family: inherit;
}

div.unauthorized-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

div.unauthorized-author h3 {
  font-size: 28px;
  margin: 30px;
}

div.unauthorized-author .btn {
  color: black;
  text-decoration: none;
}

.reply-modal {
  position: fixed;
  top: 8%;
  width: inherit;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.747);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.modal-content {
  padding: 20px 30px;
  background-color: #e7ebb5;
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-content h5 {
  font-size: 18px;
}

.modal-content .controls {
  display: flex;
  justify-content: space-between;
}

.modal-content textarea.modal-message,
.modal-content input.modal-email {
  font-size: 18px;
  font-weight: normal;
  font-family: inherit;
  width: 100%;
  padding: 10px 5px;
  background-color: #c3cc4622;
  border: 1px solid black;
}

[data-status="true"] {
  background-color: #81827769;
}

[data-status="false"]::before {
  content: "📧";
}

[data-status="true"]::before {
  content: "📖";
}

.error-message {
  margin-top: 20px;
  color: red;
  font-weight: normal;
  font-size: 18px;
}

section.pagination {
  text-align: center;
  flex-direction: row;
}

section.pagination button {
  font-size: 20px;
  padding: 5px 10px;
  background-color: #e7ebb5;
  border: 1px solid #c3cc46;
  cursor: pointer;
}

section.pagination button:hover {
  background-color: #c3cc46;
}

section.pagination button.active {
  background-color: #c3cc46;
}

@media screen and (max-width: 640px) {
  main section {
    width: 100%;
  }

  .modal-content {
    padding: 30px;
    background-color: #e7ebb5;
    width: 90%;
  }
}
