@font-face {
  font-family: NexaLight;
  src: url("/nexa_light.otf");
}

@font-face {
  font-family: NexaBold;
  src: url("/nexa_bold.otf");
}

@font-face {
  font-family: NexaHeavy;
  src: url("/nexa_heavy.otf");
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  position: fixed;
}
body {
  color: white;
  font-family: NexaLight;
}
#chat {
  position: absolute;
  top: 20;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(100% - 40px);
  width: 400px;
  margin: 0 auto;
  background-color: #00000022;
}
#send {
  width: 330px;
  margin: 5px auto;
}
#chat header {
  color: white;
  text-align: center;
  display: flex;
  justify-content: space-between;
  margin: 30px 15px 3px 15px;
  border-bottom: 3px solid;
  padding-bottom: 15px;
}
#chat h1 {
  font-size: 36px;
  margin: 0;
  font-family: NexaHeavy;
  font-weight: normal;
}
#chat header svg {
  height: 40px;
  width: 40px;
}
.flexing {
  margin-bottom: 3px;
  display: flex;
  justify-content: space-between;
}
#chat #send button {
  cursor: pointer;
  width: calc(50% - 5px);
  height: 34px;

  padding: 3px 17px 0px 17px;
  margin: 4px 0;
  box-sizing: border-box;
  font-family: NexaBold;
  border-radius: 0;
  border: 0;
  color: #fff;
  background-color: hsla(0, 0%, 100%, 0.25);
}
#chat #send button:hover {
  background-color: #9f9f9f;
  background-color: hsla(0, 0%, 100%, 0.2);
}
#chat #send button:active {
  background-color: hsla(0, 0%, 100%, 0.15);
}
#chat .inputchat {
}
#chat #pseudo {
  width: calc(50% - 5px);
  height: 34px;

  padding: 5px 17px 0px 17px;
  margin: 4px 0;
  box-sizing: border-box;
  font-family: NexaBold;
  border-radius: 0;
  border: 0;
  color: #fff;
  background-color: hsla(0, 0%, 100%, 0.25);
}
#chat #message {
  resize: none;
  width: 100%;
  padding: 13px 17px 0px 17px;
  margin: 4px 0;
  box-sizing: border-box;
  font-family: NexaBold;
  border-radius: 0;
  border: 0;
  color: #fff;
  background-color: hsla(0, 0%, 100%, 0.25);
}
#chat #msg {
  overflow: auto;
  margin: 0px 10px 0px 10px;
  padding: 6px;
  height: calc(100% - 215px);
}
#chat .lmsg {
  font-family: NexaLight;
  word-wrap: anywhere;
}
#chat .lname {
  margin-right: 20px;
  font-family: NexaBold;
  display: block;
}
#chat .mmsg {
  margin-top: 5px;
}
#chat .fmsg {
  display: flex;
}
#chat .tmsg {
  background-color: rgba(0, 0, 0, 0.19);
  display: inline-block;
  width: 48px;
  padding: 5px 4px 1px 5px;
  margin-left: 5px;
  margin-right: 10px;
  height: fit-content;
}

@media (max-width: 800px) {
  #chat {
    width: 100%;
    top: 0;
    height: 100%;
  }

  #chat #message {
    padding: 13px 17px 8px 17px;
  }
}
