@font-face {
  font-family: "TahomaCustom";
  src: url("font/Tahoma.ttf") format("truetype");
}

body {
  margin: 0;
  padding: 0;
  font-family: "TahomaCustom", "Tahoma", sans-serif;
  background-color: #6d33a0;
  display: flex;
  justify-content: center;
}

#content {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  padding: 24px;
  background: rgba(255, 255, 225, 0.9);
  border-radius: 9px;
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  height: 85vh;
  box-sizing: border-box;
}

#output {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.xp_bubble {
  background: #ffffe1;
  color: #000;
  border-radius: 9px;
  border: #000000 solid 1px;
  padding: 15px;
  margin: 10px 0;
  width: fit-content;
  max-width: 95%;
  align-self: flex-start;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.user-msg {
  align-self: flex-end;
  margin: 5px 0;
  font-style: italic;
  color: #333;
  padding-right: 5px;
}

.input-area {
  display: flex;
  width: 100%;
  gap: 10px;
}

#userInput {
  flex-grow: 1;
  height: 40px;
  font-size: 16px;
  font-family: "TahomaCustom", sans-serif;
  padding-left: 10px;
}

#sendBtn {
  height: 44px;
  min-width: 100px;
  font-size: 16px;
  font-family: "TahomaCustom", sans-serif;
  cursor: pointer;
}

.reply-content p {
  margin: 5px 0;
}

pre {
  background: #000;
  color: #0f0;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
  max-width: 100%;
}

#welcome-message {
    color: black;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    margin: auto;
    font-family: "TahomaCustom", sans-serif;
    letter-spacing: 0.5px;
    padding: 20px;
}