@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400&display=swap');

/* Styles to be injected into the contact form */

html {
    background-color: #ffffff;
}

.content-container {
    max-width: 660px;
    padding: 16px 32px;
    margin: auto;
    height: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.es-bc-heading .slds-rich-text-editor__output h1,
.es-bc-heading .slds-rich-text-editor__output h2,
.es-bc-heading .slds-rich-text-editor__output h3,
.es-bc-heading .slds-rich-text-editor__output h4,
.es-bc-heading .slds-rich-text-editor__output h5,
.es-bc-heading .slds-rich-text-editor__output h6 {
    font-family: "Merriweather Sans", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 34px;
}

.slds-visible,
.es-bc-paragraph .slds-rich-text-editor__output p {
    font-family: "Open Sans", sans-serif;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 22.856px !important;
    color: #333333;
}

.slds-input {
    display: flex;
    padding: 10px 14px 10px 28px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
    border-color: #D9D9D9;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    color: #1D243A;
}

.slds-input_faux {
    display: flex;
    padding: 10px 14px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
    border-color: #D9D9D9;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1 !important;
    color: #1D243A !important;
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5 6L8 10.5L3.5 6' stroke='%231D243A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: right 14px center;
    height: 44px;
}

.slds-input__icon-group_right {
    display: none;
}

[part="formatted-rich-text"] {
    font-family: "Merriweather Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 30px;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .content-container {
        max-width: 90vw !important;
        padding: 16px 16px !important;
        min-height: 500px !important;
    }

    .es-bc-heading .slds-rich-text-editor__output h1,
    .es-bc-heading .slds-rich-text-editor__output h2,
    .es-bc-heading .slds-rich-text-editor__output h3,
    .es-bc-heading .slds-rich-text-editor__output h4,
    .es-bc-heading .slds-rich-text-editor__output h5,
    .es-bc-heading .slds-rich-text-editor__output h6 {
        font-size: 24px !important;
        line-height: 30px !important;
    }

    [part="formatted-rich-text"] {
        font-size: 22px !important;
        line-height: 28px !important;
    }
}

@media (max-width: 600px) {
    .content-container {
        max-width: 100vw;
        padding: 8px 4vw !important;
        min-height: 360px !important;
        flex-direction: column !important;
    }

    .es-bc-heading .slds-rich-text-editor__output h1,
    .es-bc-heading .slds-rich-text-editor__output h2,
    .es-bc-heading .slds-rich-text-editor__output h3,
    .es-bc-heading .slds-rich-text-editor__output h4,
    .es-bc-heading .slds-rich-text-editor__output h5,
    .es-bc-heading .slds-rich-text-editor__output h6 {
        font-size: 18px !important;
        line-height: 24px !important;
    }

    .slds-visible,
    .es-bc-paragraph .slds-rich-text-editor__output p {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .slds-input,
    .slds-input_faux {
        font-size: 0.95rem !important;
        padding: 8px 10px 8px 20px !important;
        height: 38px !important;
    }

    .slds-input_faux {
        padding: 8px 10px !important;
        background-position: right 10px center !important;
    }

    [part="formatted-rich-text"] {
        font-size: 16px !important;
        line-height: 20px !important;
    }
}