@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

html,
body,
div,
span,
object,
iframe,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
code,
em,
img,
small,
strike,
strong,
sub,
sup,
tt,
b,
u,
i,
ol,
ul,
li,
fieldset,
form,
label,
caption,
footer,
header,
nav section,
footer,
header,
nav,
section,
main {
  display: block;
}

:root {
  --error-red: #ff453a;
  --success-green: #00e53d;
}

body {
  line-height: 1;
  font-size: 18px;
  font-family: "Open Sans", Verdana, Geneva, Tahoma, Arial, Helvetica, sans-serif;
  font-optical-sizing: auto;
  direction: rtl;
  display: flex;
  flex-direction: column;
  min-height: 10vh;
}
input {
  font-family: inherit;
}
header,
main {
  width: 100%;
  max-width: 580px;
  min-width: 370px;
  margin: auto;
}

.logo {
  width: 100%;
  margin: 2rem auto 0;
}

.logo img {
  width: 100%;
  max-width: 158px;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  margin: auto;
  display: block;
}

.Hero {
  width: 100%;
  margin-top: 14px;
}

.Hero img {
  width: 100%;
  max-width: 580px;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  margin: auto;
  display: block;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.card {
  background-color: #1a192c;
  width: 100%;
  max-width: 580px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding-bottom: 15%;
}

.card_headline h1 {
  margin-top: 0px;
  color: #ffffff;
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  padding-top: 30px;
  text-align: center;
}

.text_green {
  color: var(--success-green);
}

.text_sm {
  font-size: 20px;
}

.hide-label {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.form-items {
  margin: 0 auto;
  width: 85%;
  max-width: 480px;
}

.form-items--item {
  display: flex;
}

.form-items--item__col {
  flex-direction: column;
}

.form-items textarea,
.form-items select,
.form-items input {
  border: 2px solid rgb(88, 89, 91);
  border-radius: 20px;
  padding: 12px 19px 6px 19px;
  min-height: 30px;
}

.form-items textarea.form__input--error,
.form-items select.form__input--error,
.form-items input.form__input--error {
  border: 2px solid var(--error-red);
  color: var(--error-red);
}

.form-items textarea.form__input--error:focus,
.form-items select.form__input--error:focus,
.form-items input.form__input--error:focus {
  outline: none !important;
  border: 2px solid var(--error-red);
  box-shadow: 0 0 6px var(--error-red);
}

.form-items textarea.form__input--error::-moz-placeholder,
.form-items select.form__input--error::-moz-placeholder,
.form-items input.form__input--error::-moz-placeholder {
  color: var(--error-red);
  font-family: inherit;
}

.form-items textarea.form__input--error::placeholder,
.form-items select.form__input--error::placeholder,
.form-items input.form__input--error::placeholder {
  color: var(--error-red);
  opacity: 1;
}

.form-items textarea {
  resize: none;
}

.form-items ::-moz-placeholder {
  font-size: 0.8125rem;
  color: #a3a2a2;
  opacity: 1;
}

.form-items ::placeholder {
  font-size: 20px;
  line-height: 30px;
  opacity: 0.7;
}

.form-items input:focus::-moz-placeholder {
  color: #000;
  font-weight: 700;
}

.form-items input:focus::placeholder {
  color: #000;
  font-weight: 700;
}

.form-items select {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMy40NzIxN0w2IDguNTI3N0wxMSAzLjQ3MjE3IiBzdHJva2U9IiM1ODU5NUIiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
  background-repeat: no-repeat, repeat;
  background-position: right 1rem center;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  color: #a3a2a2;
  background-size: 0.75rem;
  background-color: #fff;
}

.form-items select.form__input--error {
  border: 1px solid var(--error-red);
  color: var(--error-red);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMy40NzIxN0w2IDguNTI3N0wxMSAzLjQ3MjE3IiBzdHJva2U9IiNjMjM5MzQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
}

.form-items select.form__input--error::-moz-placeholder {
  color: var(--error-red);
}

.form-items select.form__input--error::placeholder {
  color: var(--error-red);
}

.form-items .selectedItem {
  color: #000;
  font-weight: 700;
}

.form-items small {
  visibility: hidden;
  font-size: 0.625rem;
  padding: 0.125rem 1.125rem;
  margin-bottom: 0.1875rem;
  color: #494746;
}

.form-items small.form__message--error {
  visibility: visible;
  color: var(--error-red);
  padding-top: 5px;
}

.form-items .checkbox {
  margin: 0;
}

.form-items .checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  padding: 0;
  margin: 0;
}

.form-items .checkbox input[type="checkbox"] + .checkbox_label:before {
  content: "";
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #676770;
  display: inline-block;
  width: 24px;
  min-width: 24px;
  height: 20px;
  position: relative;
  top: 0;
  margin-right: 0.2em;
  margin-left: 12px;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}

.form-items .checkbox input[type="checkbox"] + .checkbox_label:before.form__input--error {
  border: 2px solid var(--error-red);
}

.form-items .checkbox input[type="checkbox"] + .checkbox_label.form__input--error:before {
  border: 2px solid var(--error-red);
}

.form-items .checkbox input[type="checkbox"]:checked + .checkbox_label:before {
  content: url("https://image.haifa-group.info/lib/fe2f11737364047e751378/m/1/402e9f16-b029-492b-87d7-905479ed4961.png");
}

.form-items .checkbox input[type="checkbox"]:focus + .checkbox_label:before {
  outline: none;
}

.form-items .checkbox input[type="checkbox"]:focus + .checkbox_label.form__input--error:before {
  border-color: var(--error-red);
}

.form-items .checkbox input[type="checkbox"] + .checkbox_label:empty:before {
  margin-right: 0;
}
.checkbox_text p {
  display: inline;
  margin: 0;
  cursor: pointer;
}

.checkbox_text a {
  display: inline;
}
.form-items .checkbox_text,
.form-items .checkbox_label {
  font-size: 18px;
  color: #ffffff;
  display: flex;
}

/* .form-items .checkbox_text.form__input--error,
.form-items .checkbox_label.form__input--error {
  color: var(--error-red);
} */

.form-items .checkbox-error {
  padding-left: 1.3rem;
}

.form__button {
  margin: 0 auto;
  width: 40%;
  min-width: 206px;
  margin-top: 0.875rem;
}

.form__button button {
  width: 100%;
  border-radius: 40px;
  padding: 16px 24px 16px 24px;
  color: #000;
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 700;
  background-color: var(--success-green);
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.text_email{
  color: #fff;

}

.form__button button:hover {
  border: 2px solid var(--success-green);
}

.inline-block {
  display: inline-block;
}

.card_buttons {
  display: flex;
  margin: 0 auto;
  justify-content: space-around;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 0.875rem;
}
.card_buttons a {
  flex: 1;
  border-radius: 40px;
  padding: 16px 0;
  max-width: 45%;
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  background-color: var(--success-green);
  text-decoration: none;
  text-align: center;
  display: block;
}

.footer {
  align-items: center;
}

.footer a {
  display: inline;
}

.footer_links {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 22px;
}

.footer img {
  height: 20px;
  width: 20px;
}

.middle_img {
  padding-left: 42px;
  padding-right: 42px;
}
.footer_text {
  text-align: center;
}
.footer_text p,
.footer_text a {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: #676770;
}
.footer_text a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}
