*{
  scrollbar-width: auto;
  scrollbar-color: #515151 rgba(0,0,0,0);
}
html, body{
  width: 100vw;
  height: 98vh;
}
body{
  background: black;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 8px;
}
::-webkit-scrollbar {
}
::-webkit-scrollbar-thumb {
  background: #4f4f50;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
::-webkit-scrollbar-track {
  background: rgba(241, 5, 5, 0);
  border-radius: 10px;
}
.main-container{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  width: 99vw;
  height: 98vh;
  margin-top: 3px;
}
.header-container{
  width: 100%;
  text-align: center;
}
.header{
  font-size: 25px;
  font-weight: bold;
  color: #ffe20b;
}
.messages{
  height: 100%;
  width: 100%;
  background: black;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 7px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.message{
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.message-self{
  align-items: flex-end;
}
.message-head-container{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 11px;
  font-family: sans-serif;
  font-size: 13px;
}
.message-head-date{
  font-family: 'Courier New', monospace;
  color: #adadad;
  height: 100%;
}
.message-text-container{
  font-family: system-ui;
  font-size: 16px;
}
.message-text{
  display: inline;
  color: white;
  word-break: break-word;
  white-space: pre-wrap;
  max-width: none;
}
.input-form{
  width: 100%;
}
.input-form form{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6px;
}
.input-form input{
  height: 25px;
  background: #454545;
  color: #ffe200;
  border-radius: 3px;
  border: 2px solid #7f7f7f;
  box-sizing: border-box;
}
.input-form textarea{
  resize: none;
  width: 100%;
  max-width: 99vw;
  max-height: 100px;
  background: #454545;
  color: #ffe200;
  border-radius: 3px;
  border: 2px solid #7f7f7f;
  box-sizing: border-box;
}
.button-send{
  height: 35px;
  width: 100px;
  appearance: none;
  border: none;
  background: #4b4b4b;
  color: #ffe200;
  border-radius: 4px;
  cursor: pointer;
}
.button-send:hover{
  box-shadow: 0 0 6px 1px #ffe500;
}
