body {
  background-color: aliceblue;
  font-family: "Poor Story", cursive;
  background-image: url(./img/main_bg.png);
  /* background-repeat: no-repeat; */
  /* background-position: center; */
  background-size: cover;
}
button,
input {
  font-family: "Poor Story", cursive;
  /* font-size: 18px; */
}

.wrap {
  /* border: 1px solid red; */
  max-width: 600px;
  margin: auto;
  height: 100vh;
  position: relative;
  background-color: rgba(240, 248, 255, 0.616);
}

.wrap::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 70px;
  background-image: url(./img/refrigerator.svg);
  background-repeat: no-repeat;
  width: 400px;
  height: 400px;
  /* border: 1px solid rebeccapurple; */
  z-index: -10;
}

h1 {
  text-align: center;
  padding: 3rem 0 2rem;
  font-size: 3rem;
}

.cook_chat {
  padding: 2rem;
  display: flex;
  /* flex-wrap: wrap; */
  flex-direction: column;
}
.cook_chat > * {
  padding: 0.5rem 0;
}
.cook_chat > label {
  font-size: 18px;
  margin: 0.5rem 0;
}
.cook_chat > input {
  margin-bottom: 2rem;
  border: none;
  border-bottom: 1px solid #b1b0b0;
  outline: none;
  padding: 0.5rem;
  font-family: "Poor Story", cursive;
  font-size: 1rem;
}
.cook_chat > input:focus {
  background-color: dodgerblue;
  color: white;
}
.cook_chat #btnSendMessage {
  margin: 1rem auto;
  padding: 0.5rem 1rem;
  font-size: 18px;
  border-radius: 0.5rem;
  background-color: rgb(68, 162, 255);
  box-shadow: 0 0 3px 2px #00000020;
  border: 1px solid transparent;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.cook_chat #btnSendMessage:hover {
  box-shadow: 0 0 8px 3px #00000030;
  background-color: dodgerblue;
  color: white;
  border: 1px solid dodgerblue;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.chat_con {
  /* background-color: #eaeaea; */
  background-color: rgba(155, 202, 243, 0.89);
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1rem;
  height: calc(100vh - 390px);
  overflow-y: scroll;
}

.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;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 1rem;
  position: absolute;
  bottom: 100px;
  left: 0;
  width: 100%;
}
.chat_input > input {
  padding: 0.5rem;
  flex: 1;
  margin-right: 1rem;
  border: 1px solid #b1b0b0;
  border-radius: 0.3rem;
  font-size: 14px;
}
.chat_input > button {
  padding: 0.5rem;
  background-color: rgb(119, 185, 243);
  border: 1px solid #b1b0b0;
  border-radius: 0.3rem;
  cursor: pointer;
  font-size: 16px;
}
.chat_input > button:hover {
  border: 1px solid rgb(119, 185, 243);
  color: white;
}
.restart {
  margin: 1rem auto;
  width: 100%;
}

/* kakaoAd 영역 */
.kakaoAd {
  height: 100px;
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: #eaeaea;
}
