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

#response {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    width: 50%;
    min-height: 300px;
    max-height:60%;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    line-height: 1.6; /* Increase line spacing */
    overflow-y: auto;
    overflow-anchor: auto;
}

#response.typing {
    border-color: #007BFF;
}

#response p:nth-child(odd) {
    background-color: #f0f0f0; /* Light gray background */
    border-radius: 5px;
    padding: 5px;
}

#inputWrapper {
    display: flex;
    justify-content: center;
    width: 50%;
    margin-top: 10px;
    margin-bottom: 4rem;
}

#portrait {
    position: relative;
    z-index: -1;
    transform-origin: bottom;
}

input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    transition: 0.3s all;
}

h1 {
    margin-top:4rem;
}

button:hover {
    background-color: #0056b3;
}

button[name="clear"] {
    background-color: #dc3545;
}

button[name="clear"]:hover {
    background-color: #c82333;
}
