body {
    flex-direction: column;
}

nav {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--ui);
}

nav h2 {
    font-family: "Newsreader";
}

main {
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

main>div {
    min-width: 40ch;
    flex: 1 1 calc(50% - 2rem);
}

#copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 50rem;
}

.chip {
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--ui-3);
    border-radius: 16px;
    font-size: 0.8rem;
}

#copy h1 {
    font-family: "Newsreader", serif;
}

em {
    color: var(--cy-2);
}

#copy p {
    line-height: 1.5;
}

button.cta {
    border: none;
    padding: 1rem 1.5rem;
    font-weight: bold;
    color: var(--bg);
    background-color: var(--tx);
}

button.cta:hover {
    background-color: var(--cy-2);
}

#browser {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ui);
    border-radius: 0.5rem;
}

#nav {
    padding: 0.75rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--ui);
}

#nav .dot {
    height: 0.75rem;
    width: 0.75rem;
    background-color: var(--ui-2);
    border-radius: 1rem;
}

#window {
    display: flex;
    flex-direction: column;
}

#question {
    padding: 2rem;
    flex: 3;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    max-width: 75rem;
    margin-inline: auto;
}

#stem {
    font-weight: 400;
}

#choices {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.choice {
    text-align: start;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.choice.correct {
    border-color: var(--gr);
    background-color: color-mix(in srgb, var(--gr) 20%, var(--bg));
}

.choice.correct:hover {
    border-color: var(--gr);
    background-color: color-mix(in srgb, var(--gr) 20%, var(--bg));
}

.choice.incorrect {
    border-color: var(--re);
    background-color: color-mix(in srgb, var(--re) 20%, var(--bg));
}

.choice.incorrect:hover {
    border-color: var(--re);
    background-color: color-mix(in srgb, var(--re) 20%, var(--bg));
}

.choice .letter {
    margin-right: 0.25rem;
    font-weight: 500;
}

#chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    gap: 1rem;
    background-color: var(--bg-2);
    padding: 1rem;
    border-top: 1px solid var(--ui-2);
}

#chat-heading {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: bold;
    color: var(--tx-2);
}

#dot {
    display: inline-block;
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 50%;
    background-color: var(--bl);
}

#messages {
    flex: 1;
    display: flex;
    overflow: auto;
    flex-direction: column;
    gap: 1rem;
}

#messages div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user {
    margin-left: 5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--ui-3);
    border-radius: 0.5rem;
    align-self: flex-end;
}