@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;500;600&display=swap');

:root {
    --background-color: #32312d;
    --text-area-color: #e7e5e0;
    --button-color: #E85A4F;
    --bold-text-color: #E85A4F;
    --text-color: #413f3c;
}

* {
    border: 0 solid transparent;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 800px;
    height: 100%;
    overflow: hidden;
    background-color: var(--background-color);
}

header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.logo {
    height: 30px;
    width: 30px;
}

h1 {
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-area-color);
}

b {
    color: var(--bold-text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.keyEntryPanel {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--background-color) 90%, transparent);
}

.keyEntryArea {
    display: flex;
    margin-top: 1rem;
    justify-content: space-between;
    width: 90%;
}

.keyEntryPanel input {
    width: 100%;
    margin-right: 1rem;
    background-color: var(--text-area-color);
    border-radius: 10px;
    padding: 1rem;
}

.keyEntryPanel button {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--background-color);
}

.keyEntryPanel button {
    color: var(--text-color);
    background: color-mix(in srgb, currentColor 0%, transparent);
}

.keyEntryPanel button:active * {
    color: var(--button-color);
}

.keyEntryPanel button:active {
    color: var(--highlight-color);
}

.persona {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    height: 10rem;
}

.persona img {
    border-radius: 10px;
}

.personaBuilder {
    width: 100%;
    margin-right: 1rem;
}

.personaBuilder label {
    margin-bottom: 1rem;
}

.personaQuestions,
.personaResult {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.personaQuestions select {
    width: 100%;
    background-color: var(--text-area-color);
    border-radius: 10px;
    margin-right: 1rem;
}

.personaResult textarea {
    background-color: var(--text-area-color);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    height: 100%;
    resize: none;
}

.personaResult button {
    cursor: pointer;
    background-color: var(--background-color);
}

.personaResult button:active * {
    color: var(--button-color);
}
.main{
    display: flex;
    flex-direction: row;
    height: 100%;
    overflow-y: scroll;
}
.interaction{
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;

}
.responseArea {
    display: flex;
    flex-grow: 1;
    background-color: var(--text-area-color);
    margin: 1rem;
    padding: 1rem;
    border-radius: 10px;
    resize: none;
    border: none;
    min-height: 150px;
}
textarea:focus, input:focus{
    outline: none;
}
.inputArea,.config {
    display: flex;
    justify-content: space-between;
    margin: 1rem;
    margin-top: 0;
}

.inputArea .textInput {
    background-color: var(--text-area-color);
    border-radius: 10px;
    padding: 1rem;
    width: 100%;
}
.inputArea .textInput:active {
    border: none;
}

.inputArea input[type="file"] {
    display: none;
}

.inputArea button,
.inputArea label{
    display: inline-flex;
    align-items: center;
    margin-left: 1rem;
    cursor: pointer;
    background-color: var(--background-color);
}

.inputArea button,
.inputArea label {
    color: var(--text-area-color) !important;
}
.icon-large{
    color: var(--text-area-color) !important;
}
.config select {
    background-color: var(--text-area-color);
    border-radius: 10px;
    padding: 0.8rem;
    /* width: 100%; */
    color: var(--text-color);
}
.config label {
    color: var(--text-area-color);
}
.config select {
    margin-right: 1rem;
}
.config select:last-child{
    margin-right: 0;
}
.inputArea button:active *,
.inputArea label:active * {
    color: var(--button-color);
}
.persona{
    display: none;
}
.image{
    padding-top: 2rem;
    display: flex ;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}
.image label {
    color: var(--text-area-color);
}
.image .imageArea{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 0;
    margin: 1rem;
    margin-bottom: 3rem;
}

.image canvas {
    margin-top: 1rem;
    height: 200px;
    width: 200px;
}
.options{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
/* .options input{
    border: none;
    background-color: var(--text-area-color);
    border-radius: 10px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    margin: 1rem;
} */
.config label{
    /* vertical text align */
    display: flex;
    align-items: center;
    justify-content: center;
}
.config input{
    background-color: var(--text-area-color);
    border-radius: 10px;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    /* margin: 1rem; */
    border: none;

}
input[type="checkbox"]{
    height: 1.5rem;
    width: 1.5rem;
    margin: 1rem;
}

.options textarea {
    display: flex;
    flex-grow: 1;
    background-color: var(--text-area-color);
    /* margin: 1rem; */
    padding: 1rem;
    border-radius: 10px;
    resize: none;
    border: none;
    min-height: 150px;
}
.collapsed{
    display: none !important;
}
@media screen and (max-width: 700px) {

    .persona {
        display: none;
    }
    .main{
        display: flex;
        flex-direction: column;
        /* padding: 1rem; */
    }
    .interaction{
        padding: 1rem;
        height: 70vh !important;
    }
    body{
        height: unset;
        overflow-y: auto;
    }
}