body {
  font-family: 'Ubuntu', sans-serif;
  background-color: #f1f1f1;
  margin: 0;
}

#intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#intro h1, .display-4 {
  color: #444444;
  font-size: 36px;
  margin: 50px 0;
  text-align: center;
  font-weight: 700;
}

#intro img {
  width: 25%;
  max-width: 200px;
  border-radius: 50%;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.container {
  margin: 0 auto;
  padding: 50px 20px 100px;
  max-width: 800px;
}

input {
  font-size: 18px;
  padding: 10px;
  /* margin: 5px 0; */
  border: none;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

input:focus {
  outline: none;
}

.input-group-text {
  min-width: 75px;
  text-align: center;
  /* margin: 5px 0; */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: #6C63FF;
  border-color: #6C63FF;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #544BE9;
  border-color: #544BE9;
}

.btn-outline-secondary {
  background-color: #6C63FF;
  border-color: #6C63FF;
  color: #ffffff;
}

.btn-outline-secondary:hover {
  background-color: #544BE9;
  border-color: #544BE9;
}

.btn-primary {
  background-color: #6C63FF;
  border-color: #6C63FF;
}

.btn-primary:hover {
  background-color: #544BE9;
  border-color: #544BE9;
}

button {
  font-size: 18px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #6C63FF;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-left: auto;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

button:hover {
  background-color: #544BE9;
}

.chat-container {
  min-height: 300px;
  max-height: 600px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  margin: 0;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.user-message-container,
.assistant-message-container {
  width: 100%;
  display: flex;
  /* margin: 5px 0; */
}

.user-message {
  background-color: #6C63FF;
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 20px;
  max-width: 70%;
  align-self: flex-end;
  margin-bottom: 10px;
  display: inline-block;
  word-break: break-word;
  float: right;
  clear: both;
}
.assistant-message {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  padding: 10px 20px;
  max-width: 70%;
  align-self: flex-start;
  margin-bottom: 10px;
  display: inline-block;
  word-break: break-word;
  float: left;
  clear: both;
}

#loadingIcon {
  font-size: 25px;
  text-align: center;
  margin-left: 10px;
  color: #6C63FF;
}

#petInfo {
  font-size: 12px;
  text-align: center;
}

.kakao_ad {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 10px 0;
  z-index: 9999;
}

#give {
  align-items: right;
}

.input-group-text, .form-control, .btn {
  height: 40px; /* adjust this value to your preferred height */
}




@media screen and (max-width: 768px) {
  #intro h1, .display-4 {
    font-size: 28px;
    text-align: center;
  }

  #intro img {
    width: 100%;
  }

  .container {
    padding: 10px 10px 50px;
  }

  input[type='text'] {
    font-size: 16px;
  }

  input[type='number'] {
    font-size: 16px;
  }

  label {
    font-size: 16px;
  }

  button {
    font-size: 16px;
    padding: 10px 15px;
  }

  .chat-container {
    font-size: 16px;
    padding: 10px;
  }

  .user-message {
    font-size: 16px;
    padding: 10px 15px;
  }

  .assistant-message {
    font-size: 16px;
    padding: 10px 15px;
  }

  #loadingIcon {
    font-size: 20px;
  }
}

@media screen and (max-width: 576px) {
  input[type='text'] {
    font-size: 14px;
  }

  input[type='number'] {
    font-size: 14px;
  }

  label {
    font-size: 14px;
    margin-bottom: 5px;
  }

  button {
    font-size: 14px;
    padding: 8px 15px;
  }

  .chat-container {
    font-size: 14px;
    padding: 10px;
  }

  .user-message {
    font-size: 14px;
    padding: 8px 15px;
  }

  .assistant-message {
    font-size: 14px;
    padding: 8px 15px;
  }

  #loadingIcon {
    font-size: 16px;
  }
}