/*
Color palette:
- #faf4f1: background color
- #184998: accent1
- #e54343: accent2
- #aaa19b: message background color
*/

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fefefe;
    margin: 5%;
    padding: 0;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2%;
}

.description-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1em;
    flex: 1;
    max-width: 50%;
    justify-content: center;
}

.container {
    flex: 2;
    max-width: 50%;
    background-color: #fffffe;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.chat {
    height: 50vh;
    overflow-y: scroll
}

.message,
.assistant {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.message.user {
    justify-content: flex-end;
    text-align: left;
}

.avatar {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.message.user .avatar {
    margin-left: 10px;
    margin-right: 10px;
}

.text {
    background-color: #c2efef;
    border-radius: 5px;
    padding: 10px;
    max-width: 700px;
    position: relative;
}

.message.user .text {
    background-color: #fbe255
}

.text p {
    margin: 0.5em 0;
    font-size: 1.2em;
    color: #2d334a;
}

.icons {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.icon {
    font-size: 1.2em;
    margin-right: 10px;
    cursor: pointer;
}

form {
    display: flex;
    width: 100%;
}

.input-container {
    display: flex;
    align-items: center;
    background-color: #fffffe;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-top: 2em;
}

input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px;
    font-size: 1.0em;
    border-radius: 10px 0 0 10px;
    width: calc(100% - 40px);
    height: 0.8em;
}

.submit-button {
    border: none;
    cursor: pointer;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    background-color: #EEEEEE;
}

.submit-icon {
    width: 20px;
    height: 20px;
    padding: 0;
}

.loading-icon {
    width: 30px;
    height: 25px;
}

.example {
    color: #12408a;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    cursor: pointer;
    font-size: 1.2em;
}

.text a {
    color: #12408a;
}

.logo {
    width: 35%;
    height: auto;
    margin: 0;
    margin-top: 20px;
}

.title {
    font-size: 1.8em;
    margin: 0;
    padding: 0;
    padding-bottom: 15px;
    color: #272343;
    font-weight: lighter;
}

.description-text {
    flex: 1;
    font-size: 2.5em;
    font-weight: lighter;
    color: #0b4d68;
    text-decoration: underline;
    text-decoration-style: double;
    text-decoration-thickness: 0.1em;
    text-decoration-skip-ink: none;
    text-decoration-color: #8fc681;
    max-height: 40%;
}

.button-container {
    flex: 2;
    display: flex;
    justify-content: left;
    gap: 3em;
    max-height: 12%;
}

#learn-more-button {
    padding: 0.5em 2em;
    font-size: 1.4em;
    cursor: pointer;
    background-color: #f25f4c;
    color: white;
    border: none;
    border-radius: 1em;
}

#learn-more-button:hover {
    background-color: rgb(255, 230, 224);
}

#contact-button {
    padding: 0.5em 2em;
    font-size: 1.4em;
    cursor: pointer;
    background-color: #ff8e3c;
    color: white;
    border: none;
    border-radius: 1em;
}

#contact-button:hover {
    background-color: #ffe2cd;
}

.info-section {
    margin-top: 10%;
    width: 100%;
    text-align: center;
}

.info-section h1 {
    font-size: 2.5em;
    font-weight: lighter;
    color: #0b4d68;
}

.info-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
    margin: 20px 0;
    margin-bottom: 8%;
}

.info-container h3 {
    font-size: 2em;
    color: #272343;
}

.horizontal-block {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.left-block,
.right-block {
    width: 40%;
    text-align: left;
}

.left-block ul,
.right-block ul {
    list-style-type: disc;
    color: #2d334a;
}

.left-block li {
    line-height: 1.5;
    font-size: 1.7em;
}

.right-block li {
    line-height: 1.5;
    font-size: 2.0em;
    font-weight: bold;
}

.arrow-right {
    font-size: 4em;
    color: #e53170;
    font-weight: bold;
}

.arrow-down {
    display: none;
    font-size: 2em;
    color: #e53170;
    font-weight: bold;
}

.footer-text {
    font-size: 1.2em;
    color: #454545;
    text-align: center;
    margin-top: 15%;
}

@media screen and (max-width: 1024px) {
    .content-wrapper {
        display: block;
        width: 100%;
    }

    .description-wrapper {
        display: block;
        max-width: 100%;
        margin-top: 5%;
    }

    .logo {
        width: 60%;
    }

    .horizontal-block {
        display: block;
        width: 100%;
    }

    .button-container {
        display: block;
        max-height: 5%;
        margin-top: 15%;
    }

    #learn-more-button {
        margin-bottom: 10%;
    }

    .container {
        width: 90%;
        max-width: 100%;
        margin-top: 15%;
    }

    .left-block,
    .right-block {
        width: 100%;
        text-align: left;
    }

    .arrow-right {
        display: none;
    }

    .arrow-down {
        display: initial;
    }

    .text p {
        margin: 0.5em 0;
        font-size: 1.1em;
    }

    input[type="text"] {
        font-size: 1.1em;
    }

    .avatar {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .loading-icon {
        width: 20px;
        height: 15px;
    }

    .submit-icon {
        width: 20px;
        height: 20px;
    }

    .example {
        font-size: 1.1em;
    }
}