:root {
  --font-family_D: "Dongle", sans-serif;
  --font-family_G: "Gowun Batang", serif;
  --font-family_N: "Nanum Pen Script", cursive;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: url(./img/blue.gif) no-repeat;
  background-size: cover;
}
.wrap {
  max-width: 600px;
  margin: auto;
  height: 100vh;
  border: 1px dotted rgb(54, 159, 219);
  border-radius: 5%;
  position: relative;
}

h1 {
  padding: 1rem;
  text-align: center;
  font-family: var(--font-family_G);
  color: rgb(43, 43, 43);
  -webkit-text-stroke: 0.5px rgb(250, 250, 250);
}
.guide_chat {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.guide_chat > label {
  margin: 0.5rem 0;
  font-family: var(--font-family_G);
}
.guide_chat > input {
  margin: 0.5rem 0;
  border: none;
  border-bottom: 1px dotted #000;
  border-radius: 10px;
  outline: none;
  padding: 0.5rem;
  width: 80%;
}
.guide_chat > input:focus {
  background-color: rgb(86, 181, 236);
}
.guide_chat #btnSendMessage {
  background: transparent;
  border: none;
  margin-top: 2rem;
  position: relative;
  cursor: pointer;
  font-family: var(--font-family_D);
  font-size: 1.25rem;
  transition: 0.3s;
}
.guide_chat #btnSendMessage:hover {
  color: #4fc1e4;
}
.guide_chat #btnSendMessage::before {
  content: "";
  background: url(./img/btnicon.png) no-repeat;
  position: absolute;
  top: -15px;
  right: -100%;
  width: 100%;
  height: 50px;
}
.guide_chat #btnSendMessage::after {
  content: "";
  background: url(./img/btnicon2.png) no-repeat;
  position: absolute;
  top: -15px;
  left: -100%;
  width: 100%;
  height: 50px;
}
.chat_con {
  background-color: rgba(111, 207, 236, 0.3);
  border-radius: 0.5rem;
  margin: 1rem;
  padding: 1rem;
  height: calc(100vh - 400px);
  overflow-y: scroll;
  border: 1px solid rgb(255, 255, 255);
}
.loder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.chat_message > p {
  background-color: rgb(121, 190, 247);
  padding: 1rem;
  border-radius: 1rem;
  margin: 0.5rem 0;
  /* border: 1px solid red; */
}
.chat_message .assistant {
  background-color: white;
}
.chat-input {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  position: absolute;
  bottom: 100px;
  width: 100%;
  /* border: 1px solid blue; */
  flex-direction: column;
}
.chat-input > input {
  padding: 1rem;
  flex: 1;
}

.plusBox {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 1px solid rgb(114, 181, 236);
  border-radius: 15px;
  background-color: aliceblue;
  overflow: hidden;
  padding: 0.75rem;
  /* text-align: center; */
}
.plusBox input {
  border: none;
  background: transparent;
  width: 80%;
}
.plusBox #btn {
  border: 0.5px dotted rgb(117, 156, 228);
  border-radius: 10px;
  background-color: transparent;
  width: 20%;
  margin-right: 0.5rem;
}
.chat-input .restart {
  border: none;
  border-radius: 10px;
  background-color: rgba(59, 205, 250, 0.6);
  margin-top: 0.75rem;
  margin-left: 30%;
  padding: 0.5rem;
  width: 35%;
  position: relative;
}
.chat-input .restart::before {
  content: "";
  background: url(./img/btnicon.png) no-repeat;
  position: absolute;
  top: -10px;
  right: -90%;
  width: 100%;
  height: 50px;
}
.chat-input .restart::after {
  content: "";
  background: url(./img/btnicon2.png) no-repeat;
  position: absolute;
  top: -10px;
  left: -20%;
  width: 100%;
  height: 50px;
}
.kakaoAd {
  height: 100px;
  width: 100%;
  position: absolute;
  bottom: 0;
}
