body {
  font-family: Arial, sans-serif;
  background-color: #f0f8ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

h1 {
  color: #333;
}

.chat-container {
  width: 100%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  background-color: #4CAF50;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 18px;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.chat-input input {
  flex: 1;
  padding: 15px;
  border: none;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.chat-input button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.chat-input button:hover {
  background-color: #45a049;
}

.message {
  margin: 10px 0;
}

.message.user {
  text-align: right;
}

.message .content {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 12px;
  max-width: 80%;
}

.message.user .content {
  background-color: #dcf8c6;
}

.message.bot .content {
  background-color: #eee;
}

#loader {
  display: none;
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #3498db;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.intro-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.intro-container img {
  width: 50%;
  min-width: 300px;
}