:root {
    font-family: sans-serif;
    font-size: 16px;
    --mauve: #9d82c0;
    --pink: #f28291;
    --gradient: linear-gradient(90deg, var(--mauve) 0%, var(--pink) 100%);
    --magic-input-border-width: 2px;
    --magic-input-border-radius: 2.5rem;
}

body {
    margin: 0;
    padding: 0 1rem 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

.footer {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    padding: 1rem 0 1rem 0;
}

#header {
    padding: 1rem 0 0 0;
    width: 100%;
}

body > .content {
    max-width: 568px;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media(min-width: 600px){
    body > .content {
         width: 568px;
    }
}

.magic {
    background-image: var(--gradient);
    background-clip: text;
    color: transparent;
}

.magic-input-wrapper {
    background-image: var(--gradient);
    padding: var(--magic-input-border-width);
    border-radius: calc(var(--magic-input-border-radius) + var(--magic-input-border-width));
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
}

#magic-input {
    border-width: 0;
    border-radius: var(--magic-input-border-radius);
    padding: 2rem;
    margin: 0;
    font-family: sans-serif;
    color: #67557e;
    flex-grow: 1;
    min-height: 5rem;
}

.toolbar {
    width: 100%;
    margin-bottom: .5rem;
}

.message-list-container {
    width: 100%;
    margin-bottom: .5rem;
}

.button-text {
    color: transparent;
    background-color: #fff;
    background-clip: text;
}


#send-button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    border: none;
    cursor: pointer;
    background-color: var(--pink);
    padding: .5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 1.5rem;
    font-size: 1.5rem;
}

.send-button-text {
    background-color: #fff;
    background-clip: text;
    color: transparent;
}

#magic-input:focus {
    outline: none;
}

#magic-input::placeholder {
    opacity: .5;
}