@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libertinus+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap');
body {
  display: inline;
  font-family: Arial, sans-serif;
  background-color: black;
  padding: 2rem;
}


.container {
  max-width: 600px;
  margin: auto;
  background:black;
  padding: 6rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container h1{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Lobster Two", sans-serif;
    background: linear-gradient(to left, #0000ff, #ea083d); 
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
}
textarea {
  width: 96%;
  height: 100px;
  border: 1px solid black;
  padding: 0.75rem;
  border-radius: 10px 10px 0 0;
  resize: vertical;
  transition: box-shadow 0.2s ease;
  font-family: "Libertinus Mono", monospace;
}

textarea:focus,
textarea:hover {
  outline:auto;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
  border-color: #4f46e5;
}

button {
  display: block;
  height: auto;
  width: 100%;
  padding: 15px;
  background-color: #eb8c0f;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 0 0 10px 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 1rem;
  font-family: "Michroma", sans-serif;
}

button:hover {
  background-color: #4338ca; 
}

.chat-box {
  height: 100%;
  width: auto;
  margin-top: 1.5rem;
  background: #f9fafb;
  padding: 1rem;
  border-radius: 5px;
  max-height: 400px;
  overflow-y: auto;
  
}

.message {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-left: 4px solid #4f46e5;
  background-color: #ffffff;
  
}

.message.user {
  font-weight: bold;
  border-color: #e10d1b;
   font-family: "Lora", serif;
}

.message.ai {
  border-color: #10b981;
   font-family: "Lora", serif;
}
