@import url("https://fonts.googleapis.com/css2?family=Berkshire+Swash&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-optical-sizing: auto;

  font-style: normal;
}

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

#log {
  width: 800px;
  padding: 30px 48px 50px;
  border-radius: 30px;
  display: flex;
  gap: 15px;
  overflow-y: none;
  align-content: center;
  flex-direction: column;
  align-items: center;
  height: 100vh;

  flex-direction: {{alignMessages}};
}

.chatbox_container {
  position: relative;
  margin-top: -7px;
}

.chatmsg_container {
  position: relative;
  width: 694px;
}

.chatname_container_streamer {
  z-index: 1000;
  width: 196px;
  position: absolute;
  color: white;
  top: 11px;
  right: 88px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 15px;
}
.chatname_container_streamer span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.chatname_container {
  z-index: 1000;
  width: 196px;
  position: absolute;
  color: white;
  top: 11px;
  left: 88px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 15px;
}
.chatname_container span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.mssgbox {
  width: 800px;
}

.mssg_text {
  position: absolute;
  height: 46px;
  width: 560px;
  top: 51px;
  margin: 0 auto;
  right: 0;
  left: 0;
  padding: 0px 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: {{messageSize}}px;
  font-family: {{fontMessage}};
  font-weight: {{fontWeightMessage}};
  color: {{messageColor}};
}

.nameUser {
  top: 0;
  font-family: {{fontUser}};
  font-size: {{usernameSize}}px;
  color: {{userColor}};
  font-weight: {{fontWeightUser}};
}

.text-alert {
  font-size: {{messageSizeAlert}}px;
  font-family: {{fontAlert}};
  color: {{alertColorText}}!important;
  font-weight: {{fontWeightAlert}};
}

.alerta_container {
  margin-top: -13px;
  margin-bottom: 4px;
}

.emote {
  display: inline-block;
  margin: 0 2px;
  vertical-align: middle;
}

.alertmssg {
  color: #fbf1ab;
  width: fit-content;
  top: 37%;
  left: 0px;
  right: 0px;
  margin: 0 auto;
  font-size: 20px;
}
