@font-face {
  font-family: 'regular';
  src: url('./assets/fonts/EzerAlchemist-Regular.ttf');
}

@font-face {
  font-family: 'semibold';
  src: url('./assets/fonts/EzerAlchemist-SemiBold.ttf');
}

@font-face {
  font-family: 'bold';
  src: url('./assets/fonts/EzerAlchemist-Bold.ttf');
}

@font-face {
  font-family: 'black';
  src: url('./assets/fonts/EzerAlchemist-Black.ttf');
}


body {
  background: #f5f5f5;
}

.error {
  outline: 1px solid #f73f3f;
}

.error::placeholder {
  color: #f73f3f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'regular';
  direction: rtl;
}

.main-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.logo {
  width: 18vw;
  margin-right: 0.8vw;
  margin-bottom: 1vw;
}

.inner-main-container-f {
  display: flex;
  flex-direction: row;
}

.cars {
  object-fit: contain;
  width: 54.43vw;
}

.r-section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg,rgba(103, 154, 201, 1) 0%, rgba(103, 154, 201, 1) 25%, rgba(113, 160, 202, 1) 50%, rgba(145, 181, 215, 1) 75%, rgba(180, 204, 228, 1) 100%);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 2vw 3vw 1vw 1vw;
}

.r-section-top-text-container {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1vw;
  margin-bottom: 2.55vw;
}

.box_img {
  object-fit: contain;
  width: 18vw;
}

#top-text-r-top {
  font-family: 'black';
  font-size: 3.462vw;
  color: #000000;
}

.top-text-r {
  font-size: 2.92vw;
  color: #000000;
}

.price {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: white;
}

.price-text-r {
  font-size: 6.82vw;
  font-family: "black";
  line-height: 0.4;
  align-self: flex-start;
  letter-spacing: -8px;
}

.price-text-l {
  display: flex;
  flex-direction: column;
}

.price-text-l-t1 {
  font-size: 2.45vw;
  font-family: 'regular';
  letter-spacing: -0.5px;
  line-height: 0.8;
}

.price-text-l-t2 {
  font-size: 1.2vw;
  line-height: 0.9;
}

.insurence {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
}

.insurence-text-1 {
  font-family: 'black';
  font-size: 3.59vw;
  letter-spacing: -2px;
  line-height: 0.7;
}

.insurence-text-2 {
  font-family: 'regular';
  font-size: 1.35vw;
}

.plus {
  width: 3.49vw;
  height: 3.49vw;
}

.l-section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: black;
}

.l-section-title {
  font-size: 2.087vw;
  letter-spacing: -0.037vw;
  line-height: 1;
  color: #ffffff;
  font-family: "regular";
  text-align: center;
  padding-bottom: 1vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title1 {
  font-size: 1.82vw;
  font-family: 'bold';
}

.yellow { 
  color: #d4ea40;
  font-family: 'bold';
}

.title2 {
  font-size: 1.8vw;
  padding-top: 1vw;
}

.form-conainer {
  display: flex;
  flex-direction: column;
  max-width: 75%;
  gap: 0.8vw;
  color: white;
}

.form-input {
  height: 3vw;
  border-radius: 1.663vw;
  background-color: #000000;
  border: 0.156vw solid #ffffff;
  font-size: 1.3vw;
  letter-spacing: -0.037vw;
  color: #ffffff;
  box-sizing: border-box;
  text-indent: 1.188vw;
}

.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url(./assets/arrow.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: 5% 30%;
  border: 1px solid #AAA;
  background-position-x: 5%;
  -webkit-padding-end: 20px;
  color: white;
  height: 3vw;
  border-radius: 1.663vw;
  background-color: #000000;
  border: 0.156vw solid #ffffff;
  text-indent: unset;
  font-size: 1.3vw;
  letter-spacing: -0.037vw;
  color: #ffffff;
  box-sizing: border-box;
  padding: 0 1.188vw;
}

.options {
  font-size: 1vw;
  margin-right: 1.188vw;
  font-family: 'regular';
}

.form-select>option {
  padding: 10px;
  margin: 10px;
  text-indent: 10px;
}

.form-input::placeholder {
  color: white;
  text-indent: 1.188vw;
}

.terms-container {
  display: flex;
  flex-direction: row-reverse;
  gap: 1vw;
}

.terms-text {
  padding-bottom: 0.2vw;
  justify-content: center;
  font-size: 0.8vw;
  letter-spacing: -0.025vw;
}

.form-button {
  background-color: #769cbb;
  color: white;
  height: 3vw;
  border-radius: 1.663vw;
  border: 0.156vw solid #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-button > p {
  font-size: 1.82vw;
  letter-spacing: -0.037vw;
  line-height: 1;
  color: #ffffff;
}

.footer-section-container {
  display: flex;
  flex-direction: column;
  margin: 0.4vw 1.8vw 0 1.8vw;
}

.footer_text {
  font-size: 1.15vw;
  letter-spacing: -0.025vw;
  line-height: 1vw;
  color: #000000;
}

.footer_text a {
  color: inherit;
}

.strip {
  object-fit: contain;
  margin-top: 0.7vw;
  width: 20vw;
}

.desktop {
  display: block;
}

.mobile {
  display: none;
}

.thx-msg {
  font-size: 3vw;
  color: white;
  text-align: center;
}

.r-section-bot-text-link {
  font-family: 'regular';
  color: white;
  font-size: 2vw;
}

dialog {
  position: fixed;
  margin: auto;
  border: 0;
  border-radius: 12px;
}

.dialog-container {
  display: flex;
  flex-direction: column;
}

#dialog_close_btn {
  user-select: none;
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.dialog-container img {
  width: 90vw;
}

.delek {
  position: absolute;
  top: 39vw;
  right: 2vw;
  width: 7.31vw;
}

.error {
  outline: 0.156vw solid #f73f3f;
}

.error::placeholder {
  color: #f73f3f;
}

.desktop { display: block; }
.mobile { display: none; }


@media only screen and (max-width: 768px) {
  .dialog-container>img {
    content: url("./assets/mobile_popup.png");
  }

  .inner-main-container-f {
    display: flex;
    flex-direction: column;
    height: fit-content;
  }

  .main-container {
    height: unset;
  }

  .logo {
    width: 35.4vw;
    margin-bottom: 1vw;
  }

  .r-section-container {
    width: 100%;
    background: linear-gradient(180deg,rgba(103, 154, 201, 1) 0%, rgba(103, 154, 201, 1) 25%, rgba(113, 160, 202, 1) 50%, rgba(145, 181, 215, 1) 75%, rgba(180, 204, 228, 1) 100%);
    padding-right: unset;
    padding: 3vw 0;
  }

  .l-section-container {
    width: 100vw;
  }

  .r-section-top-text-container {
    top: 10vw;
    gap: 2vw;
  }

  #top-text-r-top {
    font-size: 5.63vw;
    letter-spacing: -0.112vw;
    line-height: 7vw;
  }

  .box_img {
    width: 35.63vw;
  }

  .top-text-r {
    font-size: 4.042vw;
    letter-spacing: -0.075vw;
    line-height: 5.042vw;

  }

  .price-text-r {
    font-size: 13.44vw;
    letter-spacing: -6px;
  }

  .price-text-l-t1 {
    font-size: 4.22vw;
    font-family: 'regular';
    letter-spacing: -0.5px;
    line-height: 0.8;
  }

  .price-text-l-t2 {
    font-size: 2.5vw;
  }

  .plus {
    width: 6.72vw;
    height: 6.72vw;
  }

  .insurence-text-1 {
    font-family: 'black';
    font-size: 7.03vw;
    letter-spacing: -1px;
    line-height: 0.7;
  }

  .insurence-text-2 {
    font-family: 'regular';
    font-size: 2.66vw;
  }

  .cars {
    width: 72.9vw;
  }

  .l-section-container {
    padding-bottom: 5vw;
  }

  .form-conainer {
    display: flex;
    flex-direction: column;
    width: 60%;
    gap: 2vw;
    color: white;
  }

  .form-input,
  .form-select,
  .form-button {
    height: 9.281vw;
    border-radius: 4.641vw;
    border: 0.468vw solid #ffffff;
    font-size: 5.165vw;
    letter-spacing: -0.112vw;
    text-indent: 3vw;
  }

  .form-input::placeholder {
    font-size: 5.165vw;
    letter-spacing: -0.112vw;
    text-indent: 3vw;
  }

  .error {
    outline: 0.468vw solid #f73f3f;
  }

  .form-button>p {
    font-size: 5.165vw;
    letter-spacing: -0.112vw;
  }

  .terms-text {
    font-size: 3vw;
    letter-spacing: -0.075vw;
  }

  .terms-container {
    align-self: baseline;
    gap: 3vw;
  }

  .l-section-title {
    font-size: 5.801vw;
    letter-spacing: -0.112vw;
    line-height: 8.79vw;
    padding-bottom: 5vw;
    padding: 2vw 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .title1 {
    font-size: 5.53vw;
    line-height: 0.5;
  }

  .title2 {
    font-size: 5.53vw;
    line-height: 1.5;
    padding: unset;
  }

  .footer_text {
    font-size: 2.63vw;
    letter-spacing: -0.075vw;
    line-height: 3.106vw;
    padding: 1.5vw 2.5vw 3vw;
  }

  .strip-container { align-self: center; }

  .strip {
    margin-right: 1.5vw;
    width: 66.916vw;
  }

  .options {
    font-size: 5.165vw;
    letter-spacing: -0.112vw;
  }

  #thx-msg-container {
    height: 50vw;
  }

  .thx-msg {
    font-size: 6vw;
    color: white;
  }

  .r-section-bot-text-link {
    font-size: 5vw;
  }

  .form-select {
    text-indent: unset;
    padding: 0 3vw;
  }

  .delek {
    top: 62vw;
    right: 3vw;
    width: 12vw;
  }

  .desktop { display: none; }
  .mobile { display: block; }
}