.allMessages {
   display: block;
   margin: 5px;
   padding: 10px;
   font-family: Georgia, serif;
   font-size: 10pt;
   max-width: 80%;
   clear: both;
   box-shadow: 1px 1px 2px #555;
}
 .allMessages:hover {
   filter: brightness(85%);
   -webkit-filter: brightness(85%);
}
.allMessages.containsOnlyEmojis .emoji {
    height: 50px;
}
.allMessages.pm {
  padding-top: 26px;
}
.allMessages.pm:before {
  content: "Private Message";
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 16px;
  width: calc(100% - 26px);
  line-height: 16px;
  position: absolute;
  right: 26px;
  top: 5px;
  font-size: 12px;
  font-weight: bolder;
  opacity: 0.5;
}
.allMessages.pm:after {
  content: " ";
  display: block;
  height: 16px;
  width: 16px;
  position: absolute;
  right: 5px;
  top: 5px;
  background-image: url("/media/lock.svg");
  background-size: 100% 100%;
  opacity: 0.5;
}
 .sent {
   display: inline-block;
   border-radius: 15px 15px 2px 15px;
   background-color: #CCC;
   color: ##333;
   position: relative;
}
.senderInfo {
   font-style: italic;
   color: #333;
   font-weight: 500;
}
 .recieved {
   display: inline-block;
   border-radius: 15px 15px 15px 2px;
   background-color: #bdded3;
   color: #333;
   position: relative;
}
 .recieved > .senderInfo {
   font-style: italic;
   color: ##f2ebd2;
}
 .msgBody {
   text-align: justify;
}
 #background {
   background-color: #fffbe3;
   background-size: 100% auto;
   background-attachment: local;
   background-repeat: repeat;
   box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
}
 #input, #nameEntry {
   background-color: #ded7bd;
   border-radius: 0;
}
 #input:empty::before {
   content: "Send a message...";
}
 .owner {
   background-color: transparent;
   background-image: url('/media/owner.png');
   background-size: 100% 100%;
}
 .mod {
   background-color: transparent;
   background-image: url('/media/mod.png');
   background-size: 100% 100%;
}
 #timestamp {
   clear: both;
   font-family: Georgia, serif;
   font-size: 10pt;
   text-shadow: 1px 1px #FFF, -1px -1px #FFF;
   color: #333;
   max-width: 75px;
}
 #textInput {
   background-color: #FFF;
   background-image: url('/media/doodle.jpg');
   background-size: 100% auto;
   background-attachment: local;
   background-repeat: repeat;
}
 .msgWrapper {
   display: flex;
   width: 100%;
   align-items: center;
}
 .msgWrapper:has(.received) {
   justify-content: flex-start;
}
 .msgWrapper:has(.sent) {
   justify-content: flex-end;
}
 .pinned {
   position: relative;
}
 .pinned:after {
   display: none;
   content: "";
}
.pinned > .allMessages {
  position: relative;
}
.pinned > .allMessages::after {
   display: inline-block;
   position: absolute;
   right: 2px;
   top: 2px;
   content: "📌";
}
#top_banner {
  background: #bdded3;
}
#replyBanner {
  font-size: 10pt;
  display: inline-block;
  background-color: #333;
  border-radius: 8px 8px 0 0;
  box-shadow: 1px 1px 3px #AAA;
  margin-left: 15px;
  padding: 2px;
  padding-right: 10px;
  padding-left: 10px;
}
#emojiTray {
  background-color: #556b6f;
}
#is_typing {
  height: 15px;
  border-radius: 7px;
  background-color: #EEE;
  box-shadow: 1px 1px 1px #777;
}
#is_typing > span {
  background-color: #333;
}
pre:has(>code){
  margin: 5px;
  background-color: rgba(0, 0, 0, 0.25);
}