* {
  margin: 0; padding: 0; 
  box-sizing: border-box;
}
body{
  background-color: #fefcf6;
}
.wrap {
  max-width: 600px;
  margin: auto;
  height: calc(99vh - 50px);
  position: relative;
  background-color: #fefcf6;
}

h1 {
  color: coral;
  padding: 1rem;
  text-align: center;
  line-height: 0.6;
}

h1 span:nth-of-type(1){
  color: #666;
  font-size: 0.8vw;
}
.guide_chat {       
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fefcf6;
}
.guide_chat .img {
  margin: auto;
  width: 65%;
}
.guide_chat img { 
  width: 100%;
}
.guide_chat > label {
  width: 100%;
  margin: 0.5rem 0;
}
.guide_chat > input {
  margin: 0.5rem 0;
  border:none;
  border-bottom: 1px dotted #000;
  outline: none;
  padding: 1rem;
  width: 100%;
  background-color: #eaeaea;
  border-radius: 0.5rem;
}
.guide_chat > input:focus {
  background-color: aquamarine;
}
button {
  border:none;
  outline: none;
  padding: 1rem;
  margin: 0.25rem;
  border-radius: 1rem;
  color: white;
  background-color: coral;
}
button:hover, button:focus {
  cursor: pointer;
  background-color: crimson;
}

.chat_con {
  background-color: #eaeaea;
  border-radius: 0.5rem;
  margin: 1rem;
  padding: 1rem;
  height: calc(100vh - 300px);
  overflow-y: scroll;
}
.chat_con .chat_message:first-child {
  display: none !important;
}
.loder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
}


.chat_message > p  {
  background-color: antiquewhite;
  padding: 1rem;
  border-radius: 1rem;
  margin: 0.5rem 0;
}
.chat_message .assistant {
  background-color: white;
}
.chat-input {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 1rem;
  width: 100%;
  background-color: #fefcf6;
}
.chat-input > input {
  border-radius: 1rem;
  padding: 1rem;
  flex:1 ; 
}
.restart {
  background-color: #eaeaea;
  border-radius: 1rem;
  padding: 1rem;
  width: 100%;
}
.kakaoAd {
  background-color: #eaeaea;
  height: 50px;
  width: 100%;
  position: relative !important;
}