:root {
  box-sizing: border-box;
  font-size: 16px;
  line-height: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background-color: #ececec;
}
p {
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1200px;
  padding: 0 10px;
  margin: 0 auto;
}
.form {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 15px;
}
.form input {
  width: 20%;
  font-size: 1.1em;
  line-height: 1.2em;
  border: none;
  padding: 3px 5px;
  border-radius: 3px;
  box-shadow: 0px 0px 7px 4px rgb(34 60 80 / 78%);
}
.form textarea {
  width: 65%;
  resize: none;
  font-size: 1.1em;
  line-height: 1.2em;
  box-shadow: 0px 0px 7px 4px rgb(34 60 80 / 78%);
}
.form button {
  width: 10%;
  cursor: pointer;
  font-size: 1.1em;
  line-height: 1.2em;
  border: none;
  border-radius: 3px;
  background-color: transparent;
  box-shadow: 0px 0px 7px 4px rgb(34 60 80 / 78%);
}
.error {
  background-color: #ff00006c;
}
.title {
  font-size: 2em;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1em;
}
.box {
  display: flex;
  padding: 5px 0;
}
.message {
  max-width: 100%;
  word-break: break-all;
  background-color: rgb(190, 217, 228);
  border-radius: 15px;
  min-height: 15px;
  padding: 8px 15px;
  position: relative;
  margin-left: 30px;
  z-index: 4;
}

.message::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 35px;
  background-color: rgb(190, 217, 228);
  bottom: 0;
  left: -20px;
  z-index: -2;
}
.message::after {
  content: "";
  position: absolute;
  height: 39px;
  width: 25px;
  background-color: #ececec;
  bottom: -1px;
  left: -25px;
  border-bottom-right-radius: 26px;
  z-index: -1;
}

.nick {
  min-width: 15vw;
  align-self: flex-end;
  font-size: 1.3em;
  font-weight: 700;
  margin-right: 20px;
}
/* .time {
  font-style: italic;
  font-size: 0.7em;
  color: rgb(6, 0, 87);
  display: block;
} */
