@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;
}

* {
  margin: 0;
  font-family: "regular";
  direction: rtl;
}

.main-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
}

.inner-main-container-f {
  display: flex;
  flex-direction: row;
  background-image: url("./assets/desk_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  flex: 1;
  position: relative;
}

.r-section-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.dongfeng {
  display: none;
}

.title {
  width: clamp(10rem, 45vw, 65rem);
  padding-top: 1vw;
}

.car {
  width: clamp(10rem, 50vw, 65rem);
}

.l-section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: -webkit-fill-available;
  background-color: #1C1B1A;
  padding: 3vw 0 3vw 0;
  margin-right: 9rem;
}

.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;
}

.dongfeng_logo {
  width: 75%;
  object-fit: contain;
}

.form-conainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8vw;
  color: white;
}

.title2 {
  font-size: clamp(1.7rem, 3vw, 3.3rem);
  line-height: 1;
  text-align: center;
  color: white;
  font-family: "semiBold";
}


.title3 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.2vw 0.5vw;
  margin-top: 1.3vw;
  font-size: 1.8vw;
  font-family: "bold";
  width: fit-content;
}

.form-input {
  padding: 0.7vw 0;
  border-radius: 1.663vw;
  background-color: #1C1B1A;
  border: 0.1vw solid #ffffff;
  font-size: 1.2vw;
  color: #ffffff;
  width: 70%;
  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%;
  background-position-x: 5%;
  width: 70%;
  color: white;
  border-radius: 1.663vw;
  background-color: #1C1B1A;
  border: 0.1vw solid #ffffff;
  font-size: 1.2vw;
  color: #ffffff;
  padding: 0.7vw 1vw;
}

.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;
  padding-inline: 1vw;
}

.terms-text {
  padding-bottom: 0.2vw;
  justify-content: center;
  font-size: 0.8vw;
  letter-spacing: -0.025vw;
}

.form-button {
  background-color: #ED4C94;
  color: white;
  padding: 0.3vw;
  border-radius: 1.663vw;
  border: none;
  width: 70%;
  font-size: 2vw;
  font-family: "bold";
  cursor: pointer;
}

.terms-checkbox {
  width: clamp(1rem, 2vw, 2rem);
  height: clamp(1rem, 2vw, 2rem);
}

.footer-section-container {
  display: flex;
  flex-direction: column;
  padding: 0.5vw 0.7vw;
  gap: 0.5vw;
}

.footer-in-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

.footer-in-container::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  width: 100%;
  height: 1px;
  background-color: #000000;
}

.footer_text {
  font-size: 1.1vw;
  color: #000000;
}

.footer_text a {
  color: inherit;
}

.strip-container {
  cursor: pointer;
}

.strip {
  object-fit: contain;
  margin-top: 0.5vw;
  width: 18.07vw;
}

.thx-msg {
  font-size: 3vw;
  color: white;
  text-align: center;
}

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;
}

.error {
  outline: 0.156vw solid #f73f3f;
}

.error::placeholder {
  color: #f73f3f;
}

.footer-links-desktop {
  display: flex;
  flex-direction: row;
  gap: 1vw;
  justify-content: flex-end;
  margin-left: 2vw;
}

.footer-links-desktop a {
  font-size: 1.1vw;
  color: black;
  text-decoration: underline;
}

.footer-links-mobile {
  display: none;
}

.desktop {
  display: inline;
}

.mobile {
  display: none;
}

@media (max-width: 768px) {
  .dialog-container>img {
    content: url("./assets/popup.png?r=1");
  }

  .inner-main-container-f {
    display: flex;
    flex-direction: column;
    background-image: unset;
    aspect-ratio: unset;
    flex: unset;
  }

  .main-container {
    display: flex;
    flex-direction: column;
  }

  .r-section-container {
    display: flex;
    width: 100%;
    background-image: url("./assets/bg-mob.jpg");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: scroll;
    order: 1;
    gap: 1rem;
    padding-top: 2rem;
    padding-left: unset;
    align-items: center;
  }

  .dongfeng {
    display: flex;

    width: clamp(8rem, 36vw, 14rem);
  }

  .title {
    width: clamp(13rem, 88vw, 25em);
  }

  .title2 {
    align-self: unset;
    padding-left: unset;
    font-size: clamp(1.7rem, 6.8vw, 3.3rem);
  }

  .women-bg {
    display: none;

  }

  .car {
    width: clamp(20rem, 84vw, 36rem);
  }

  .l-section-container {
    width: 100%;
    position: relative;
    margin-right: unset;
    order: 2;
    right: 0;
    background-color: black;
    padding-bottom: 5vw;
    height: unset;
  }

  .title3 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 7vw;
    padding-bottom: 2vw;
    width: fit-content;
    margin: unset;
  }

  .form-conainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: unset;
    gap: 3vw;
    color: white;
    z-index: 1;
  }

  .footer-section-container {
    order: 3;
    background: white;
    display: flex;
    flex-direction: column;
  }

  .form-input,
  .form-select,
  .form-button {
    padding: 2vw 0;
    border-radius: 4.641vw;
    border: 0.3vw solid #ffffff;
    font-size: 3.165vw;
    width: 55%;
    background: transparent;
    text-align: center;
  }

  .form-select {
    padding-right: 3vw;
  }

  .form-button {
    font-size: 5.165vw;
    padding: 0.7vw;
    background-color: #ED4C94;
  }

  .form-input::placeholder {
    font-size: 3.165vw;
    letter-spacing: -0.112vw;
  }

  .error {
    outline: 0.468vw solid #f73f3f;
  }

  .terms-text {
    font-size: 3vw;
    letter-spacing: -0.075vw;
    padding-left: 1vw;
    text-align: center;
  }

  .terms-container {
    align-self: baseline;
    padding-inline: 4vw;
    gap: 3vw;
  }

  .l-section-title {
    font-size: 5.801vw;
    letter-spacing: -0.112vw;
    line-height: 8.79vw;
  }

  .footer-in-container {
    display: flex;
    flex-direction: column;
    justify-content: unset;
    margin-top: unset;
  }

  .footer-in-container::after {
    bottom: 0;
  }

  .footer_text {
    font-size: 3vw;
    letter-spacing: -0.075vw;
    line-height: 3.106vw;
    padding: 1.5vw;
  }

  .strip-container {
    margin: auto;
  }

  .strip {
    width: 66.916vw;
  }

  .options {
    font-size: 5.165vw;
    letter-spacing: -0.112vw;
  }

  .footer-links-mobile {
    display: flex;
    gap: 4vw;
    align-self: center;
    margin-top: auto;
  }

  .footer-links-mobile a {
    font-size: 3vw;
    color: white;
  }

  .footer-links-desktop {
    display: none;
  }

  #thx-msg-container {
    height: 50vw;
  }

  .thx-msg {
    font-size: 6vw;
    padding-top: 18vw;
    color: white;
  }

  .form-select {
    background-image: url("./assets/arrow.png");
    background-repeat: no-repeat;
    background-size: 3vw auto;
    background-position: left 3vw center;
    padding-left: 4vw;
    background-color: transparent;
    color: white;
  }

  .form-select option {
    background: black;
    color: white;
    font-size: 3vw;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: inline;
  }
}