* {
    /* box model */
    box-sizing: border-box;
}

.right-content {
    /* positioning */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;

    /* box model */
    max-width: 50%;
    padding: var(--space-4);
    gap: var(--space-4);
    border-radius: var(--border-radius-medium);
    margin: 0 auto;

    /* visual */
    background-color: var(--color-black);

    /* typography */
    color: var(--color-white);
}


@media (max-width: 56.25em) { /* 56.25em is approximately 900px */
    /* Form section for tablet screens and below */
    .form-container {
        flex-direction: column;
    }

    .left-content,
    .right-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .right-content form {
        width: 100%;
    }
}


.form .field {
    /* box model */
    width: 100%;
    margin: 0 0 var(--space-3) 0;
}

.form-header {
    /* positioning */
    position: relative;
    display: flex;
    align-items: center;

    /* box model */
    padding-left: var(--space-5);
    margin: 0;

    /* typography */
    font-size: var(--font-size-h1);
    font-weight: 700;
    letter-spacing: clamp(-0.0625rem, -0.0928rem + 0.1942vw, 0.0625rem);
    color: #fff;
}

.form-header::before,
.form-header::after {
    /* positioning */
    position: absolute;
    left: 0;

    /* box model */
    height: var(--space-2);
    width: var(--space-2);

    /* visual */
    content: "";
    border-radius: 50%;
    background-color: #db061e;
}

.form-header::before {
    /* box model */
    width: var(--space-2);
    height: var(--space-2);

    /* visual */
    background-color: #db061e;
}

.form-header::after {
    /* box model */
    width: var(--space-2);
    height: var(--space-2);

    /* misc */
    animation: pulse 1s linear infinite;
}

.form-description {
    /* box model */
    margin-bottom: var(--space-4);

    /* typography */
    font-weight: 500;
    line-height: 1.6;
    color: #fff;
}

.side-notes {
    /* typography */
    display: inline-block;
    font-size: var(--font-size-caption);
    line-height: clamp(0.75rem, 0.3786rem + 0.7767vw, 1rem);
}

.form .button,
.form .message,
.customSelect,
.form .select,
.form .textarea,
.form .text-input,
.form .option-input + label,
.form .checkbox-input + label,
.form .label {
    /* box model */
    padding: var(--spacing-6) var(--spacing-8);
    display: block;
    border-radius: 0;
    border: none;
    background: none;

    /* misc */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    line-height: normal;
}

.form .label {
    /* positioning */
    position: relative;
    z-index: 100;

    /* box model */
    padding-top: 0;
    padding-left: 0;
    margin-bottom: var(--space-1);

    /* typography */
    font-size: var(--font-size-subtitle);
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.6;
    color: #fff;
}

.form-consent {
    font-size: var(--font-size-subtitle);
    vertical-align: middle;
}

.required .form .label:after,
.form .required .label:after {
    /* positioning */
    position: absolute;

    /* typography */
    content: "*";
    color: #e8474c;
    font-weight: normal;
    font-size: var(--font-size-body);
    vertical-align: top;
    margin-left: 0.25em;
}

.customSelect,
.form .select,
.form .text-input,
.form .option-input + label,
.form .checkbox-input + label {
    /* typography */
    font: inherit;
    font-size: var(--font-size-body);
    line-height: normal;

    /* box model */
    width: 100%;
    box-sizing: border-box;

    /* visual */
    background: #222;
    color: var(--color-white);

    /* positioning */
    position: relative;
}

.customSelect::placeholder,
.form .select::placeholder,
.form .text-input::placeholder,
.form .option-input + label::placeholder,
.form .checkbox-input + label::placeholder {
    /* typography */
    color: var(--color-white);
}

.customSelect:-webkit-autofill,
.form .select:-webkit-autofill,
.form .text-input:-webkit-autofill,
.form .option-input + label:-webkit-autofill,
.form .checkbox-input + label:-webkit-autofill {
    /* box model */
    box-shadow: 0 0 0 1000px var(--color-black) inset;
    -webkit-box-shadow: 0 0 0 clamp(31.25em, 23.665em + 48.5437vw, 62.5em) #1111 inset;

    /* typography */
    /*-webkit-text-fill-color: #fff;*/

    /* visual */
    border-top-color: #111111;
    border-left-color: #111111;
    border-right-color: #111111;
}

.customSelect:not(:focus):not(:active).error,
.form .select:not(:focus):not(:active).error,
.form .text-input:not(:focus):not(:active).error,
.form .option-input + label:not(:focus):not(:active).error,
.form .checkbox-input + label:not(:focus):not(:active).error,
.error .customSelect:not(:focus):not(:active),
.error .form .select:not(:focus):not(:active),
.form .error .select:not(:focus):not(:active),
.error .form .text-input:not(:focus):not(:active),
.form .error .text-input:not(:focus):not(:active),
.error .form .option-input + label:not(:focus):not(:active),
.form .error .option-input + label:not(:focus):not(:active),
.error .form .checkbox-input + label:not(:focus):not(:active),
.form .error .checkbox-input + label:not(:focus):not(:active) {
    /* visual */
    background-size: clamp(0.25em, 0.1893em + 0.3883vw, 0.5em) clamp(0.25em, 0.1893em + 0.3883vw, 0.5em);
    background-image: linear-gradient(135deg, rgba(232, 71, 76, 0.5), rgba(232, 71, 76, 0.5) 25%, transparent 25%, transparent 50%, rgba(232, 71, 76, 0.5) 50%, rgba(232, 71, 76, 0.5) 75%, transparent 75%, transparent);
    background-repeat: repeat;
}

.form:not(.has-magic-focus) .customSelect.customSelectFocus,
.form:not(.has-magic-focus) .customSelect:active,
.form:not(.has-magic-focus) .select:active,
.form:not(.has-magic-focus) .text-input:active,
.form:not(.has-magic-focus) .option-input + label:active,
.form:not(.has-magic-focus) .checkbox-input + label:active,
.form:not(.has-magic-focus) .customSelect:focus,
.form:not(.has-magic-focus) .select:focus,
.form:not(.has-magic-focus) .text-input:focus,
.form:not(.has-magic-focus) .option-input + label:focus,
.form:not(.has-magic-focus) .checkbox-input + label:focus {
    /* Visual */
    background: #4E4E4E;
}

.form .message {
    /* positioning */
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 100;

    /* typographic */
    font-size: clamp(0.525em, 0.2522em + 0.466vw, 0.625em);
    color: var(--color-white);
}

.form .option-input,
.form .checkbox-input {
    /* positioning */
    position: absolute;

    /* box model */
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    width: 1px;
}

.form .option-input + label,
.form .checkbox-input + label {
    /* positioning */
    position: relative;

    /* box model */
    display: inline-block;
    width: auto;

    /* typographic */
    color: #4e4e4e;

    /* misc */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.form .option-input:focus + label,
.form .checkbox-input:focus + label,
.form .option-input:active + label,
.form .checkbox-input:active + label {
    /* typographic */
    color: #4e4e4e;
}

.form .option-input:checked + label,
.form .checkbox-input:checked + label {
    /* typographic */
    color: var(--color-white);
}


.form .button {
    /* box model */
    width: auto;
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
    border-radius: var(--border-radius-medium);

    /* typographic */
    font-size: var(--font-size-subtitle);
    line-height: normal;
    font-weight: bold;
    color: var(--color-white);

    /* visual */
    background: #db061e;
    position: relative;
    overflow: hidden;

    /* misc */
    cursor: pointer;
}

.form .button:hover {
    filter: brightness(85%);
}




.form .field.last {
    /* Box Model */
    margin-left: auto;
}

.form .select {
    /* Typographic */
    text-indent: 0.000625em;
    text-overflow: "" !important;
}

.form .checkboxes,
.form .options {
    /* Box Model */
    padding: 0;
    margin: 0;

    /* Misc */
    list-style-type: none;
    overflow: hidden;
}

.form .checkbox,
.form .option {
    /* Positioning */
    float: left;

    /* Box Model */
    margin: 1px;
}

.form .field.half {
    /* Box Model */
    width: 48%;
    margin: 1px 1px var(--space-3);

    /* Positioning */
    float: left;
}

.clear {
    /* Misc */
    clear: both;
}

.field.half:first-child {
    /* Box Model */
    margin-right: clamp(0.0625em, 0.0473em + 0.0971vw, 0.125em);
}

.form .field.half:last-child {
    /* Positioning */
    flex-grow: 1;
}

.form .field:after {
    /* Misc */
    content: "";
    display: table;
    clear: both;
}

.field.half:first-child {
    /* Box Model */
    margin-right: clamp(0.0625em, 0.0473em + 0.0971vw, 0.125em);
}

.customSelect:after {
    /* Misc */
    content: "";
    pointer-events: none;

    /* Box Model */
    width: var(--space-1);
    height: var(--space-1);
    border-style: solid;
    border-color: #ffffff;
    border-width: 0 var(--spacing-2) var(--spacing-2) 0;

    /* Positioning */
    position: absolute;
    top: 50%;
    right: 1em;

    /* Visual */
    transform-origin: 0 0;
    transform: rotate(45deg);
}

.customSelect.customSelectFocus:after {
    /* Visual */
    border-color: white;
}

.magic-focus {
    /* Positioning */
    position: absolute;
    z-index: 0;
    pointer-events: none;

    /* Box Model */
    width: 0;

    /* Visual */
    background: rgba(255, 255, 255, 0.15);

    /* Misc */
    transition: top 0.2s, left 0.2s, width 0.2s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: top, left, width;
    transform-origin: 0 0;
}

@keyframes pulse {
    /* Visual */
    from {
        transform: scale(0.9);
        opacity: 1;
    }

    to {
        transform: scale(1.8);
        opacity: 0;
    }
}