html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;
}

.contain {
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 16px;
}

.header-information {
    display: flex;
    flex-direction: column;
}

.header-elements {
    display: flex;
    flex-direction: column;
}

.header-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-svg {
    width: 64px;
    height: 64px;
}

.header-message {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
    margin-top: 4px;
    flex-grow: 2;
}

h1 {
    margin: 0;
    order: 0;
    width: fit-content;
}

.deliver-flowers {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    width: 100%;
    height: 48px;
    border: 2px solid;
    border-radius: 2px;
    background-color: #FFFFFF;
    border-color: var(--smp-primary-color);
}

.deliver-flowers:hover {
    background-color: var(--smp-primary-color-hover);
}

.deliver-flowers:hover span {
    color: #ffffff;
}

.deliver-flowers--button {
    margin-top: 24px;
    width: 100%;
}

.flower {
    width: 24px;
    height: 24px;
    fill: currentColor;
    color: var(--smp-primary-color);
}

.deliver-flowers-message {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--smp-primary-color);
}

hr {
    border-color: #CEBFBC;
}

h2 {
    margin-top: 0;
    margin-bottom: 0;
    order: 0;
}

.icons {
    display: grid;
}

.icon-list {
    display: flex;
}

.icon {
    fill: currentColor;
    color: var(--smp-primary-color);
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    max-width: 448px;
}

form {
    margin-block-end: 0;
    display: flex;
    justify-content: center;
}

.form--input {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.input-field .helper-text {
    color: #e01212;
    font-weight: 600;
    font-size: 12px;
    line-height: 125%;
}

.display-block {
    display: block;
    margin-bottom: 23px;
    padding-left: 12px;
}

.display-none {
    display: none;
}

.input-field {
    width: 100%;
    margin: 32px 0 0;
}

.input-field input {
    margin-top: 5px !important;
    border: solid #6E7790 2px !important;
    border-radius: 4px !important;
    background-color: white !important;
    box-sizing: border-box !important;
    box-shadow: none;
}

.input-field input::placeholder {
    color: #6E7790 !important;
}

.input-field input[type="text"] {
    padding-left: 12px !important;
    color: black !important;
}

.input-field label {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: black !important;
}

input.valid[type=text]:not(.browser-default), input.valid[type=text]:not(.browser-default):focus {
    border: solid #4caf50 2px !important;
    border-radius: 4px !important;
    box-shadow: none;
}

input.invalid[type=text]:not(.browser-default) {
   border: solid #f44336 2px !important;
    border-radius: 4px !important;
    box-shadow: none;
}

.form--button {
    min-height: 48px;
    width: 100%;
    border-color: var(--smp-primary-color);
    text-transform: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
}

.form--button:hover {
    background-color: var(--smp-primary-color-hover);
}

.sub_footer {
    display: none;
}

.form-interaction {
    display: flex;
    flex-direction: column;
    width: 448px;
}

.form-interaction span {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-top: 1em;
}

.back-tribute {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-decoration-line: underline;
    text-align: center;
    margin-bottom: 48px;
}

.back-tribute--link {
    color: var(--smp-primary-color);
}


/* Mobile */
@media only screen and (max-width: 480px) {
    .header {
        flex-direction: column;
    }

    .contain {
        margin: 16px 32px;
    }

    h1 {
        font-weight: 600;
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 8px;
    }

    hr {
        margin-top: 24px;
        width: 96px;
    }

    .body {
        display: flex;
        flex-direction: column;
        margin-top: 13px;
    }

    h2 {
        font-weight: 600;
        font-size: 18px;
        line-height: 26px;
    }

    .description {
        font-weight: 400;
        font-size: 14px;
        line-height: 21px;
    }

    .icons {
        margin-top: 16px;
        grid-template-rows: repeat(3, 1fr);
    }

    .icon-list {
        margin-bottom: 16px;
        flex-direction: row;
        align-items: center;
    }

    .icon {
        width: 32px;
        height: 32px;
    }

    .icon-message {
        margin-left: 8px;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
    }

    .form {
        padding: 12px;
        margin-bottom: 36px;
    }
}

/* Little desktop */
@media only screen and (min-width: 481px) {
    .contain {
        max-width: 720px;
    }

    h1 {
        font-weight: 600;
        font-size: 32px;
        line-height: 130%;
        margin-bottom: 8px;
    }

    .description {
        font-weight: 400;
        font-size: 16px;
        line-height: 150%;
    }

    hr {
        margin-top: 2em;
        width: 192px;
    }

    .body {
        margin-top: 32px;
        display: flex;
        flex-direction: column;
    }

    h2 {
        font-weight: 600;
        font-size: 20px;
        line-height: 150%;
    }

    .icons {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 32px;
    }

    .icon-list {
        margin: 1em 2.5em 0 2.5em;
        align-items: center;
        flex-direction: column;
    }

    .icon {
        width: 64px;
        height: 64px;
    }

    .icon-message {
        text-align: center;
        margin-top: 8px;
        font-weight: 600;
        font-size: 1.125em;
        line-height: 150%;
    }

    .form {
        margin-top: 32px;
        margin-bottom: 44px;
        padding: 16px;
    }

    .form-message {
        font-weight: 400;
        font-size: 1em;
        line-height: 150%;
    }
}

/* Smooth transition for a responsivity global */
@media only screen and (max-width: 750px) {
    .contain {
        margin: 16px;
    }
}

/* Smooth transition for a responsivity global */
@media only screen and (min-width: 751px) {
    .contain {
        margin: auto;
    }
}

/* Smooth transition for a responsivity of the form */
@media only screen and (max-width: 400px) {
    .form-interaction {
        width: 330px;
    }
}

/* Element in button margin small */
@media only screen and (max-width: 680px) {
    .flower {
        margin-left: 8px;
    }

    .deliver-flowers-message {
        margin-right: 8px;
        margin-left: 16px;
    }
}

/* Element in button margin big */
@media only screen and (min-width: 680px) {
    .flower {
        margin-top: 12px;
        margin-bottom: 12px;
        margin-left: 66px;
    }

    .deliver-flowers-message {
        margin: 14px 66px 10px 16px;
        cursor: pointer
    }
}

