html {
    scroll-behavior: smooth;
}

body {
    padding: 20px;
    margin: 0;
}

main {
    max-width: 60rem;
    margin: auto;
}

ul {
    padding-left: 40px;
}

h1 {
    display: flex;
    flex-direction: column;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    margin-bottom: var(--spacing-7xl);
}

h2 {
    display: flex;
    flex-direction: column;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;

}

h2 .text {
    box-sizing: border-box;
    font-family: var(--font-family-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-xs);
}

h3 {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: var(--line-height-s);
    font-family: var(--font-family);
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-semibold);
    margin: 0;
    margin-bottom: var(--spacing-xxl);
}

main .text,
h1 .text,
h2 .text {
    box-sizing: border-box;
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-xl);
    line-height: var(--line-height-s);
}

form {
    display: flex;
    font-family: var(--font-family);
    max-width: 38.125rem;
    justify-content: space-between;
    flex-direction: column;
}

fieldset {
    padding: 0;
    border: none;
}

fieldset legend {
    font-size: 1.5rem;
}

@media (min-width: 640px) {
    fieldset legend {
        font-size: 2rem;
    }
}

input,
textarea {
    outline: 1px solid var(--grey-400);
    border: none;
    padding: 12px 1rem;
    border-radius: 4px;
    font-style: normal;
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    line-height: 24px;
    margin: 0 10px 10px 0;
    -moz-appearance: textfield;
    resize: none;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button,
textarea::-webkit-inner-spin-button,
textarea::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input::placeholder,
textarea::placeholder {
    color: var(--grey-700);
    font-size: 14px;
}

input:hover,
textarea:hover {
    outline: 2px solid var(--creme-dark);
}

input:focus,
textarea:focus {
    outline: 2px solid var(--cyan);
}

[type="checkbox"] {
    margin: 5px;
    outline-offset: -2px;
}

section {
    padding: 60px 0 0 0;
}

section h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section h2 * {
    text-align: center;
}

section>* {
    max-width: 69rem;
    margin-left: auto;
    margin-right: auto;
}

label {
    color: var(--blue-darker);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 22px;
    margin: 0 0 10px 0;
}

p {
    box-sizing: border-box;
    font-family: var(--font-family);
    line-height: var(--line-height-m);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

p .max_width_37 {
    max-width: 37rem;
}

p .font-size-s {
    font-size: var(--font-size-s);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-m);
}

ul.bullet-list {
    --bullet-diameter: 0.375rem;
    display: flex;
    font-family: var(--font-family);
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0 2rem;
    gap: var(--spacing-xl);
}
ul.bullet-list a {
    line-break: anywhere;
}

ul .horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    color: var(--);
}

ul .horizontal li {
    width: calc(50% - 41px);
}

ul li {
    --bullet-diameter: 8px;
    position: relative;
    padding-left: calc(var(--bullet-diameter) + var(--spacing-xl));
    color: var(--blue-darker);
    font-size: 24px;
}

ul li::before {
    position: absolute;
    background-color: var(--blue-darker);
    border-radius: 50%;
    content: "";
    display: block;

    height: var(--bullet-diameter);
    left: 0;
    position: absolute;
    top: calc((var(--bullet-diameter) + 1.1rem) / 2);
    width: var(--bullet-diameter);
}

@media (max-width: 48rem) {
    ul li {
        font-size: 20px;
        padding-left: calc(var(--bullet-diameter) + var(--spacing-l));
    }

    ul.bullet-list {
        padding: 0;
    }

    ul li::before {
        top: calc((var(--bullet-diameter) + 0.5rem) / 2);
    }
}

a {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    color: var(--cyan);
    font-family: var(--font-family);
    font-weight: var(--font-weight-semibold);
}

a>.info {
    color: var(--blue-darker);
}

button[class^="btn"] {
    border: none;
    display: flex;
    width: min-content;
    text-transform: uppercase;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    height: 44px;
    gap: 4px;
}

/* 
button[class^="btn"] .text {
    white-space: nowrap;
} */

button[class^="btn"] .btn-flat,
.red {
    background-color: var(--red);
    color: var(--white);
    padding-inline: 32px;
    border-radius: 500px;
}

button[class^="btn"]:hover,
.red {
    background-color: var(--red-dark);
}

button[class^="btn"]:disabled {
    color: var(--grey-500);
    background: var(--grey-50);
    outline: none;
    cursor: initial;
}

iframe {
    position: absolute;
    left: 0px;
    width: 100%;
    height: 50%;
}

@media (min-width: 640px) {
    body {
        padding: 16px;
    }

    [type="checkbox"] {
        width: 13px;
    }

    /* input,
    textarea {
        width: 80vw;
    } */
}

article p {
    padding: 0 2rem;
    font-size: 1rem;
}



@media (min-width: 60rem) {
    article p {
        padding: 0 6rem;
        font-size: 24px;
    }
}

@media (min-width: 60rem) {
    body {
        padding: 20px;
    }

    section {
        padding-left: var(--spacing-6xl);
        padding-right: var(--spacing-6xl);
        padding-top: 4rem;
    }

    h2 .text {
        font-size: var(--font-size-xl);
    }

    h1 .text {
        font-size: var(--font-size-xl);
        line-height: var(--line-height-s);
    }
}

@media (min-width: 80rem) {
    h1 .text {
        font-size: var(--font-size-xxl);
        line-height: var(--line-height-s);
    }

    h2 .text {
        font-size: var(--font-size-xxl);
    }
}