header {
  position: fixed;
  padding: 10px 20px 10px 20px;
  width: 100%;
  z-index: 100;
}

.header-fit {
  position: relative;
}
.header__logo {
  font-size: 18px;
  font-family: "Montserrat Semibold", sans-serif;
  color: #212135;
  display: flex;
}
.header__logo__text {
  display: none;
}
.header__logo__icon {
  width: 25px;
  height: 26px;
  vertical-align: middle;
  margin-right: 13px;
}
.header__hamburger {
  top: 35%;
  right: 0%;
  transform: translate(0%, -50%);
  position: absolute;
  width: 18px;
  cursor: pointer;
}
.header__hamburger:before, .header__hamburger:after, .header__hamburger div {
  background: #212135;
  content: "";
  display: block;
  height: 2px;
  border-radius: 3px;
  margin: 3px 0;
  transition: 0.5s;
}
.header__hamburger--open:before {
  transform: translateY(5px) rotate(135deg);
}
.header__hamburger--open:after {
  transform: translateY(-5px) rotate(-135deg);
}
.header__hamburger--open div {
  transform: scale(0);
}

.mobile-header-background {
  background-color: #fff;
}

.mobile-header-blur {
  backdrop-filter: blur(15px);
}

.menu--mobile {
  display: none;
  position: fixed;
  top: 45px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  z-index: 100;
  overflow-y: auto;
}
.menu--mobile__cover {
  padding-top: 45px;
  margin: 0 20px;
}
.menu--open {
  display: block;
}
.menu__item {
  color: #212135;
  display: block;
  background: transparent;
  padding-bottom: 35px;
  font-size: 20px;
  font-family: "Montserrat Semibold", sans-serif;
}
.menu__item--active {
  color: #2E82FC;
}

.sfr-select {
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 50px;
}

.sfr-select__head {
  color: #212135;
  font-family: "WorkSans Medium", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}

.sfr-select__option-list {
  display: none;
  width: 115px;
  height: 100%;
}

.sfr-select--opened .sfr-select__option-list {
  display: block;
  position: absolute;
  left: -75px;
  top: 25px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1607843137);
}

.sfr-select__option {
  height: 44px;
  padding: 12px 0 0 18px;
  width: 100%;
  font-family: "Montserrat Regular";
  font-size: 16px;
  background-color: #FFFFFF;
  color: #586589;
  border-radius: 5px;
}

.sfr-select__option:first-child {
  border-bottom: 1px solid #E8EAED;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.sfr-select__option:last-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.sfr-select__option--selected, .sfr-select__option:hover {
  color: #2E82FC;
}

@media only screen and (min-width: 768px) {
  header {
    padding: 16px 30px 15px 31px;
  }
  .header__logo {
    font-size: 23px;
  }
  .header__logo-image {
    width: 49px;
    height: 49px;
    margin-right: 8px;
  }
  .header__logo__icon {
    width: 38px;
    height: 28px;
  }
  .header__hamburger {
    width: 26px;
  }
  .header__hamburger:before, .header__hamburger:after, .header__hamburger div {
    height: 3px;
    margin: 3px 0;
    transition: 0.5s;
  }
  .header__hamburger--open:before {
    transform: translateY(2px) rotate(135deg);
  }
  .header__hamburger--open:after {
    transform: translateY(-10px) rotate(-135deg);
  }
  .menu--mobile {
    top: 66px;
  }
  .menu__item {
    padding: 25px 0 25px 46px;
    font-size: 36px;
  }
}
@media only screen and (min-width: 1240px) {
  header {
    padding: 0;
  }
  .sfr-select {
    top: 30px;
  }
  .header-fit {
    width: 100%;
    max-width: 1440px;
    height: 80px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0 65px;
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }
  .header__logo {
    font-size: 28px;
  }
  .header__logo__text {
    width: 50px;
    height: 20px;
    background-color: #F57479;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    font-family: "NotoSansHebrew Regular", sans-serif;
  }
  .header__logo-image {
    width: 60px;
    margin-right: 16px;
    height: 60px;
  }
  .header__hamburger {
    display: none;
  }
  .menu {
    position: relative;
    display: block;
    margin: 0 auto;
    top: 0;
  }
  .menu--mobile {
    background: transparent;
    padding-top: 0;
    margin-top: 0;
    overflow-y: hidden;
  }
  .menu--mobile__cover {
    border-top: none;
    padding-top: 0;
    margin: 0;
  }
  .menu__item {
    color: #212135;
    font-family: "Montserrat Regular", sans-serif;
    font-size: 18px;
    line-height: 35px;
    padding: 0 8px;
    display: inline-block;
    text-align: center;
    margin-right: 29px;
    text-decoration: none;
  }
  .menu__item:last-child {
    margin-right: 0;
  }
  .menu__item--active {
    color: #2E82FC;
  }
  .he .header__logo__text {
    margin-right: 12px;
    margin-left: 0;
  }
  .he .menu__item:last-child {
    margin-right: 29px;
  }
}
@media only screen and (max-width: 1340px) {
  .menu__item {
    margin-right: 15px;
  }
}
.footer {
  background-color: #ffffff;
  border-top: 1px solid #2E82FC;
}
.footer__content {
  padding: 32px 10px 23px;
}
.footer__logo {
  display: none;
}
.footer__menu {
  margin-bottom: 29px;
}
.footer__copyright {
  color: #797C7F;
  text-align: center;
  font-size: 12px;
  font-family: "Montserrat Regular", sans-serif;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-menu__link {
  color: #212135;
  display: block;
  font-size: 13px;
  font-family: "Montserrat Regular", sans-serif;
}
.footer-menu__item {
  padding-right: 10px;
}
.footer-menu__item:nth-child(1) {
  padding-bottom: 10px;
}
.footer-menu__item:nth-child(2) {
  padding-bottom: 10px;
}
.footer-menu__item:nth-child(3) {
  padding-bottom: 10px;
}

@media only screen and (min-width: 768px) {
  .footer {
    padding: 0 40px;
  }
  .footer__content {
    padding: 26px 0px 25px 0px;
  }
  .footer__menu {
    margin-bottom: 0;
    justify-content: center;
  }
  .footer__copyright {
    text-align: right;
  }
  .footer-menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    float: left;
  }
  .footer-menu__item {
    margin-right: 40px;
  }
  .footer-menu__link {
    color: #2B2F34;
    display: block;
    font-size: 14px;
  }
}
@media only screen and (max-width: 900px) {
  .footer__copyright {
    text-align: center;
  }
}
@media only screen and (min-width: 1440px) {
  .footer {
    width: 100%;
    margin: auto;
    border-top: none;
  }
  .footer__content {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  .footer__logo {
    display: block;
    font-size: 24px;
  }
  .footer-cover {
    margin: 0 80px;
    border-top: 1px solid #2E82FC;
  }
  .footer__content {
    padding: 26px 0 25px 0;
  }
  .footer__copyright {
    font-size: 14px;
  }
  .footer-menu {
    width: 800px;
  }
  .footer-menu__link {
    font-size: 16px;
  }
  .he .footer__content {
    direction: rtl;
  }
  .he .footer__logo__icon {
    margin-left: 6px;
    margin-right: 0;
  }
}
@media only screen and (min-width: 1550px) {
  .footer-menu {
    width: unset;
  }
}
@font-face {
  font-family: "WorkSans Medium";
  src: url("../fonts/WorkSans-Medium.ttf");
}
@font-face {
  font-family: "Montserrat Medium";
  src: url("../fonts/Montserrat-Medium.ttf");
}
@font-face {
  font-family: "Montserrat SemiBold";
  src: url("../fonts/Montserrat-SemiBold.ttf");
}
@font-face {
  font-family: "Montserrat Bold";
  src: url("../fonts/Montserrat-Bold.ttf");
}
@font-face {
  font-family: "Montserrat Regular";
  src: url("../fonts/Montserrat-Regular.ttf");
}
@font-face {
  font-family: "NotoSansHebrew Bold";
  src: url("../fonts/NotoSansHebrew-Bold.ttf");
}
@font-face {
  font-family: "NotoSansHebrew SemiBold";
  src: url("../fonts/NotoSansHebrew-SemiBold.ttf");
}
@font-face {
  font-family: "NotoSansHebrew Regular";
  src: url("../fonts/NotoSansHebrew-Regular.ttf");
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #F8F9FA;
}

.main-background {
  background-color: #FFFFFF;
  display: flex;
  height: 100vh;
  flex-direction: column;
}

img {
  max-width: 100%;
}

a, a:visited {
  text-decoration: none;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
}

@media only screen and (min-width: 768px) {
  .main-background {
    position: relative;
    width: 690px;
    margin: auto;
    background-color: #FFFFFF;
    display: flex;
    min-height: 923px;
    height: unset;
    flex-direction: column;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  }
}
@media only screen and (min-width: 1370px) {
  .main-background {
    width: 1370px;
    min-height: 980px;
  }
}
body {
  background-color: #fff;
}

.common__paragraph-text {
  font-size: 18px;
  font-family: "NotoSansHebrew Regular";
  color: #000;
  line-height: 27px;
  margin-bottom: 27px;
  direction: rtl;
  margin-left: auto;
}
.common__paragraph-header {
  text-align: right;
  font-size: 28px;
  font-family: "NotoSansHebrew Bold";
  color: #000;
  margin-bottom: 17px;
}

.common__paragraph-header {
  margin-top: 40px;
}

.terms {
  padding-top: 78px;
  padding-bottom: 40px;
}
.terms__content {
  width: 300px;
  margin: 0 auto;
}
.terms__header {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  font-family: "NotoSansHebrew Bold", sans-serif;
  line-height: 45px;
  color: #2B2F34;
}

.he header {
  direction: rtl;
}

.he .header__hamburger {
  right: unset;
  left: 0;
}
.he .header__logo__icon {
  margin-right: 0;
  margin-left: 12px;
}
.he .sfr-select {
  right: unset;
  left: 50px;
}
.he .sfr-select__option {
  padding: 12px 18px 0 0;
  font-family: "NotoSansHebrew Regular", sans-serif;
}
.he .sfr-select--opened .sfr-select__option-list {
  left: -5%;
}
.he .footer-menu__link {
  font-family: "NotoSansHebrew Regular", sans-serif;
}
.he .menu__item {
  font-family: "NotoSansHebrew Regular", sans-serif;
}
.he .footer__copyright {
  font-family: "NotoSansHebrew Regular", sans-serif;
}

@media only screen and (min-width: 768px) {
  .terms {
    padding-top: 160px;
    padding-bottom: 126px;
  }
  .terms__content {
    width: 673px;
    margin: 0 auto;
  }
  .terms__header {
    font-size: 42px;
    margin-bottom: 44px;
  }
  .terms__updated {
    margin-top: 31px;
  }
  .common__paragraph-text {
    margin-bottom: 27px;
  }
  .common__paragraph-header {
    margin-bottom: 36px;
    font-size: 28px;
  }
  .common__paragraph-header {
    margin-top: 81px;
  }
}
@media only screen and (min-width: 1200px) {
  .common__paragraph-text {
    font-size: 20px;
    line-height: 36px;
    margin-bottom: 36px;
  }
  .common__paragraph-header {
    font-size: 36px;
    margin-bottom: 52px;
  }
  .common__paragraph-header {
    margin-top: 40px;
    margin-bottom: 52px;
  }
  .common__link {
    word-break: keep-all;
  }
  .terms {
    padding-top: 129px;
    padding-bottom: 144px;
  }
  .terms__header {
    font-size: 60px;
    margin-bottom: 54px;
  }
  .terms__content {
    width: 1000px;
    margin: 0 auto;
  }
  .terms__updated {
    font-size: 20px;
  }
}
/* Legal pages (terms, privacy) and the data deletion page */
.terms__updated {
  text-align: center;
  font-family: "NotoSansHebrew Regular", sans-serif;
  font-size: 16px;
  color: #6b7280;
  margin-top: 12px;
  margin-bottom: 30px;
}

.legal--ltr .common__paragraph-text {
  direction: ltr;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}
.legal--ltr .common__paragraph-header {
  text-align: left;
}

.legal--rtl .common__paragraph-text {
  direction: rtl;
  text-align: right;
}
.legal--rtl .common__paragraph-header {
  text-align: right;
}

.common__link {
  color: #2E82FC;
  text-decoration: underline;
  word-break: break-word;
}

.common__list {
  margin: 0 0 27px 0;
  padding-inline-start: 24px;
  list-style: disc;
}
.common__list li.common__paragraph-text {
  margin-bottom: 10px;
}

.legal-table__wrap {
  margin-bottom: 27px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "NotoSansHebrew Regular", sans-serif;
  font-size: 15px;
  line-height: 22px;
  color: #000;
}
.legal-table th, .legal-table td {
  border: 1px solid #D4D5D8;
  padding: 8px 10px;
  text-align: start;
  vertical-align: top;
}
.legal-table th {
  background: #F3F4F6;
  font-family: "NotoSansHebrew Bold", sans-serif;
  font-weight: normal;
}
.legal-table thead {
  display: none;
}
.legal-table tr {
  display: block;
  border: 1px solid #D4D5D8;
  margin-bottom: 14px;
}
.legal-table td {
  display: block;
  border: none;
  border-bottom: 1px solid #ECEDEF;
}
.legal-table td:last-child {
  border-bottom: none;
}
.legal-table td::before {
  content: attr(data-label);
  display: block;
  font-family: "NotoSansHebrew Bold", sans-serif;
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 2px;
}

.delete-form {
  display: flex;
  flex-direction: column;
  margin: 10px 0 27px;
}
.delete-form__label {
  font-family: "NotoSansHebrew Regular", sans-serif;
  font-size: 16px;
  color: #2C313E;
  margin-bottom: 8px;
}
.delete-form__input {
  height: 48px;
  padding: 0 16px;
  margin-bottom: 14px;
  color: #2C313E;
  font-size: 16px;
  border: 1px solid #D4D5D8;
  border-radius: 5px;
  outline: none;
  direction: ltr;
}
.delete-form__input:focus {
  border-color: #2E82FC;
}
.delete-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.delete-form__btn {
  cursor: pointer;
  color: #fff;
  font-family: "NotoSansHebrew Regular", sans-serif;
  font-size: 18px;
  background-color: #2E82FC;
  border: none;
  height: 48px;
  padding: 0 24px;
  border-radius: 5px;
  outline: none;
}
.delete-form__btn--danger {
  background-color: #D64545;
}
.delete-form__error {
  color: #D64545;
  font-family: "NotoSansHebrew Regular", sans-serif;
  font-size: 15px;
  margin: -6px 0 12px;
}
.delete-form__note {
  font-size: 15px !important;
  line-height: 22px !important;
  color: #4b5563;
}

@media only screen and (min-width: 768px) {
  .legal-table thead {
    display: table-header-group;
  }
  .legal-table tr {
    display: table-row;
    border: none;
    margin: 0;
  }
  .legal-table td {
    display: table-cell;
    border: 1px solid #D4D5D8;
  }
  .legal-table td::before {
    display: none;
  }
  .delete-form {
    max-width: 480px;
  }
}
/* Links that exist only in the mobile menu (the desktop header keeps the original five). */
@media only screen and (min-width: 768px) {
  .menu__item--mobile-only {
    display: none;
  }
}
