* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    border: none;
}

.app {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app-body {
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.conversation {
    width: 100%;
    max-height: 100%;
    overflow: auto;
    flex: 1 1 auto;
    flex-direction: column;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1em;
}

.welcome-message {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.messages {
    display: none; /* turned to flex after first prompt submitted */
    max-width: min(100%, 1200px);
    flex-direction: column;
    justify-content: center;
    padding: 1em;
}

.chat-begining {
    font-size: 2em;
    text-align: center;
    padding: 0.5em 0 1em 0;
}

.message-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1em;
    padding: 10px 0;
}

.chat-block {
    align-items: flex-start;
}

.user-block {
    align-items: flex-end;
}

.time-block {
    display: flex;
    flex-direction: row;
    font-size: 0.75em;
    font-family: monospace;
    align-items: baseline;
    padding: 0 0 2px 0;
}

.date-part {
    font-size: 0.9em;
    padding: 0 0 0 5px;
}

.message-text {
    border-radius: 10px;
    padding: 1em 1.5em;
}

.chat-message {
    color: black;
    background: hsl(0 0 95);
}

.user-message {
    color: white;
    background: var(--accent-color);
}

.prompt {
    padding: 0.5em 0.5em 0.5em 0.5em;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    justify-content:  space-evenly;
    align-items: center;
    box-shadow: 0 0 3px 0 hsl(0 0 70);
    border-radius: 1em;
    width: min(900px, 80%);
}

.prompt-input {
    width: 100%;
}

.prompt-text {
    width: 100%;
    height: 100%;
    padding: 10px;
}

.prompt-buttons {
    display: flex;
    padding: 0.5em 0.5em 0 0.5em;
    & button {
        margin: 0 0.5em;
    }
}

