html,
body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--color-primary);
    color: var(--font-color);
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

header, footer {
    flex-shrink: 0;
}

.theme-light {
    --color-primary: #fff8ed;
    --color-secondary: #c0aa92;
    --color-accent: #80716c;
    --font-color: #000020;
    --font-faded: #00002090;
    --font-faded50: #00002050;
    --glass-backdrop: rgba(0, 0, 0, 0.15);
}

.theme-dark {
    --color-primary: #000020;
    --color-secondary: #80716c;
    --color-accent: #ffe2b8;
    --font-color: #fff8ed;
    --font-faded: #fff8ed90;
    --font-faded50: #fff8ed50;
    --glass-backdrop: rgba(255, 255, 255, 0.15);
}

.chat-ui-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.laydo-header {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 95%;
}
.laydo-main {
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.laydo-logo {
    position: fixed;
    top: 1.75rem;
    left: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
}

.laydo-header-options {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.laydo-options select {
    font-size: 1rem;
    cursor: pointer;
    background-color: var(--glass-backdrop);
    color: var(--font-color);
    border: 0.0625rem solid var(--font-faded);
    border-radius: 0.25rem;
}

.laydo-options select:focus {
    outline: none;
}

.laydo-chat-container {
    width: 90%;
    height: 100%;
    overflow: auto;
}

.laydo-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-primary);
    padding: 0.5rem 0;
    width: 100%;
    color: var(--font-color);
}

.laydo-net-footer {
    display: flex;
    flex-direction: row;
}

.socicon {
    cursor: pointer;
    margin: 1rem;
    font-size: 1.5rem;
}

.laydo-chat-output {
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    width: 100%;
    /* overflow-y: auto; */
    flex-grow: 1;
}

.laydo-chat-input {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-bottom: 0.125rem solid var(--font-faded);
}

.laydo-input {
    padding: 0.5rem;
    font-size: 1rem;
    min-height: 1.25rem;
    margin-right: 1rem;
    text-align: start;
    width: 100%;
    padding: 0.75rem 0.5rem;
}

.laydo-input:focus {
    outline: none;
}

.laydo-input:empty:before {
    content: attr(data-placeholder);
    color: var(--font-faded);
}

.laydo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}

.laydo-loading-container {
    min-width: 6rem;
    min-height: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.user-text-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    background-color: var(--glass-backdrop);
    border-radius: 1rem;
}

.laydo-user-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0.5rem;
}

.button-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: auto;
}

.copy-button {
    background-color: transparent;
    color: var(--font-color);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    width: auto;
    padding: 0.5rem;
    margin-right: 1rem;
}

.codehilite {
    background: none;
    padding: 0;
    width: 100%;
}

.laydo-text {
    font-size: 1rem;
    margin: 0.5rem;
    text-align: start;
    line-height: 1.5;
}

.laydo-ai-text {
    font-size: 0.8rem;
    width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    padding: 1rem;
    box-sizing: border-box;
}

.laydo-text code {
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
}

.laydo-text pre {
    background: var(--glass-backdrop);
    padding: 1em;
    border-radius: 5px;
    overflow-x: auto;
    max-width: 100%;
    white-space: pre;
}

.laydo-text blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1em;
    margin-left: 0;
}

.laydo-loading {
    border: 0.25rem solid var(--font-color);
    border-top: 0.25rem solid var(--glass-backdrop);
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    animation: spin 2s linear infinite;
    margin: 0.5rem;
}

.laydo-button {
    background-color: var(--color-primary);
    color: var(--font-color);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: auto;
    padding: 0;
    margin-right: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media only screen and (max-width: 48rem) {
    .laydo-nav-title {
        flex-wrap: nowrap;
        width: 50%;
    }

    .title-name {
        font-size: 3rem;
    }

    #laydoNavIcon {
        padding: 1rem 2rem;
    }
}

@media only screen and (min-width: 37.5rem) {

    .container-title {
        padding-top: 1rem;
    }

    .laydo-app {
        margin-top: 1rem;
    }
}

.container div {
    position: absolute;
    width: 5.625rem;
    height: 3.1875rem;
}

.container div:nth-of-type(2) {
    transform: rotate(60deg);
}

.container div:nth-of-type(3) {
    transform: rotate(-60deg);
}

.container div div {
    width: 100%;
    height: 100%;
    position: relative;
}

.container div div span {
    position: absolute;
    width: 4px;
    height: 0%;
    background: var(--font-color);
    z-index: 999999;
}

.h1 {
    left: 0;
    animation: load1 7.2s ease infinite;
}

.h2 {
    right: 0;
    animation: load2 7.2s ease 0.6s infinite;
}

.h3 {
    right: 0;
    animation: load3 7.2s ease 1.2s infinite;
}

.h4 {
    right: 0;
    animation: load4 7.2s ease 1.8s infinite;
}

.h5 {
    left: 0;
    animation: load5 7.2s ease 2.4s infinite;
}

.h6 {
    left: 0;
    animation: load6 7.2s ease 3s infinite;
}

.laydo-step-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    margin: 1rem 0;
}

.laydo-step-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0.5rem;
}

.laydo-step-text {
    font-size: 1rem;
    margin: 0.5rem;
    text-align: start;
}

@keyframes load1 {
    0% {
        bottom: 0;
        height: 0;
    }

    6.944444444% {
        bottom: 0;
        height: 100%;
    }

    50% {
        top: 0;
        height: 100%;
    }

    59.944444433% {
        top: 0;
        height: 0;
    }

    /*   91.6666667%{top:0;height:0%;} */
}

@keyframes load2 {
    0% {
        top: 0;
        height: 0;
    }

    6.944444444% {
        top: 0;
        height: 100%;
    }

    50% {
        bottom: 0;
        height: 100%;
    }

    59.944444433% {
        bottom: 0;
        height: 0;
    }

    /*   91.6666667%{bottom:0;height:0%} */
}

@keyframes load3 {
    0% {
        top: 0;
        height: 0;
    }

    6.944444444% {
        top: 0;
        height: 100%;
    }

    50% {
        bottom: 0;
        height: 100%;
    }

    59.94444443% {
        bottom: 0;
        height: 0;
    }

    /*   91.6666667%{bottom:0;height:0%;} */
}

@keyframes load4 {
    0% {
        top: 0;
        height: 0;
    }

    6.944444444% {
        top: 0;
        height: 100%;
    }

    50% {
        bottom: 0;
        height: 100%;
    }

    59.94444443% {
        bottom: 0;
        height: 0;
    }

    /*   91.6666667%{bottom:0;height:0%;} */
}

@keyframes load5 {
    0% {
        bottom: 0;
        height: 0;
    }

    6.944444444% {
        bottom: 0;
        height: 100%;
    }

    50% {
        top: 0;
        height: 100%;
    }

    59.94444443% {
        top: 0;
        height: 0;
    }

    /*   91.6666667%{top:0;height:0%;} */
}

@keyframes load6 {
    0% {
        bottom: 0;
        height: 0;
    }

    6.944444444% {
        bottom: 0;
        height: 100%;
    }

    50% {
        top: 0;
        height: 100%;
    }

    59.94444443% {
        top: 0;
        height: 0;
    }

    /*   91.6666667%{top:0;height:0%;} */
}