@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
* { box-sizing: border-box; }

:root {
    --bg: #222;
    --bg-lighter: #252525;
    --fg: #fee;
    --border: #666;
    --focus: #aaf;
    --bg-question: #444;
    --bg-answer: #111;
    --fg-answer-incomplete: #888;
}

body {
    background: var(--bg);
    font-family: Lato, sans-serif;
    color: var(--fg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 1rem;
    gap: 3rem;
}


h1 {
    font-size: 48pt;
    font-weight: 400;
    margin: 0;
}

#input {
    border: 1px solid var(--border);
    background: var(--bg-lighter);
    padding: 1rem;
    border-radius: 4rem;
    min-width: 50%;
    color: var(--fg);
    font-size: 12pt;
}

#input:focus {
    outline: 1px solid var(--focus);
}

#answer-box {
    height: 30vh;
    width: 50vw;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 500px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media screen and (max-width: 800px) {
    #answer-box {
        width: 90vw;
        height: 50vh;
    }

    #input {
        width: 90vw;
    }
}

#answer-box::-webkit-scrollbar {
    display: none;
}

#big-filler {
    height: 40vh;
    content: " ";
}

.question {
    background: var(--bg-question);
    padding: 1rem;
    border-radius: 2rem;
    align-self: flex-end;
    max-width: 90%;
}

.answer {
    background: var(--bg-answer);
    padding: 1rem;
    border-radius: 4rem;
    align-self: flex-start;
}

.answer.incomplete {
    color: var(--fg-answer-incomplete);
    font-style: italic;
}