@font-face {
  font-family: hebrew_light;
  src: url(./fonts/BMWTypeNextProHebrew-Light.otf);
}

@font-face {
  font-family: hebrew_regular;
  src: url(./fonts/BMWTypeNextProHebrew-Regular.otf);
}

@font-face {
  font-family: light;
  src: url(./fonts/BMWTypeNext-Light.otf);
}

@font-face {
  font-family: regular;
  src: url(./fonts/BMWTypeNext-Regular.otf);
}

* {
  padding: 0;
  margin: 0;
  direction: rtl;
  font-family: hebrew_light;
}

select.error {
  outline: 1px solid tomato !important;
  color: tomato !important;
}

button:disabled {
  background-color: #ccc;
}

input.error {
  outline: 1px solid tomato !important;
}

input.error::placeholder {
  color: tomato !important;
}

label.error {
  color: tomato;
}

.mobile {
  display: block;
}

.desktop {
  display: none;
}

video,
img {
  object-fit: contain;
}

.main_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
}

.video_section {
  width: 100%;
  height: calc(100vw * 960/960);
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video_play_btn {
  display: none;
  position: absolute;
  width: 20vw;
  z-index: 1;
  cursor: pointer;
}

.video_play_btn:hover {
  border: 3px solid rgba(59, 59, 232, 0.6);
  border-radius: 50%;
  transform: scale(0.8);
  transition: transform 0.5s;
}

.video {
  width: 100%;
  border: none;
  z-index: 1;
}
.video_section_top {
  width: 100%;
  display: flex;
  position: relative;
  flex-direction: column;
}
.content-top {
  z-index: 3 ;
  color: white;
  width: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
}
.logos-container {
  padding: 2vw 2vw 5vw 2vw;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 2vw;
    width: 90%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
  
}
.logo-right {
  width: 15vw;
}
.logo-left {
  width: 15vw;
  margin-left: unset;
}
.title-container {
  display: flex;
  justify-content: center;
}
.main-title {
  width: 80%;
  margin-top: 10vw;
  align-self: center;
}
.content-bottom {
  align-self: center;
  position: absolute;
  bottom: 10vw;
  width: 100%;
  z-index: 3;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 3vw;
}
.swiper-slide  {
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.swiper-button-next, .swiper-button-prev {
  color: white !important;
  
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 5vw !important;
}

 

.swiper-img {
  align-self: center;
  object-fit: contain;
  align-items: center;
  width: 70%;

}
.swiper-img[src$="4.png"] {
  width: 90% !important;
}

.video_logos {
  object-fit: contain;
  position: absolute;
  top: 2vw;
  left: 3vw;
  width: 15vw;
}

.video_title {
  color: white;
  text-align: center;
  position: absolute;
  font-size: 7vw;
  top: 12vw;
  line-height: 0.85;
}

.video_title b {
  font-weight: bold;
  font-family: regular;
  font-size: 5.7vw;
}

.video_title span {
  font-size: 4.5vw;
  font-weight: 300;
  line-height: 1.8;
}

.video_footer {
  color: white;
  text-align: center;
  position: absolute;
  font-size: 4.5vw;
  font-weight: bold;
  bottom: 5vw;
  line-height: 1;
}

.video_footer span {
  font-weight: 300;
}

.form_section {
  display: flex;
  flex-direction: column;
  gap: 2vw;
  align-items: center;
  padding: 2vw 0;
  width: 100vw;
}

.form {
  padding: 2vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3vw;
  width: 75vw;
}

.form_title {
  font-family: hebrew_regular;
  color: black;
  font-size: 6.3vw;
  margin-bottom: 2vw;
  text-align: center;
}

.input {
  width: 89%;
  padding: 2vw 4vw 2vw 4vw;
  font-size: 4vw;
}

.dropdown select {
  width: 100%;
  font-size: 4vw;
  padding: 2vw 3vw;
  background-position: 3vw center;
  background-size: 4.5vw;
  border: none;
  background-color: white;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Add a custom arrow icon */
  background-image: url(../assets/arrow_down.png); /* Replace with the URL of your custom arrow icon */
  background-repeat: no-repeat;
  /* Add padding to provide space for the arrow icon */
  color: #767676;
}

.dropdown select.error {
  background-image: url(../assets/arrow_down_error.png);
}

.dropdown {
  width: 100%;
  border: 1px solid #767676;
}

.checkbox_container {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 3vw;
  cursor: pointer;
}

.checkbox_container * {
  cursor: pointer;
}

.checkbox_label {
  font-size: 3vw;
  color: #828282;
  line-height: 1;
}

.checkbox {
  width: 5vw;
  height: 5vw;
}

.submit_btn {
  background-color: #1c69d4;
  color: white;
  font-family: hebrew_regular;
  border: none;
  width: 100%;
  padding: 2vw 4vw 2vw 4vw;
  font-size: 5vw;
  cursor: pointer;
}

.terms {
  color: #828282;
  font-size: 2.8vw;
  text-align: right;
}

.terms_link {
  color: #828282;
}
.links-3 {
  font-size: 3vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 75%;
  
}
.links-3 a {
  color: #828282;
}
.icons_container {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  margin: 3vw 0;
}

.icon_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vw;
  cursor: pointer;
  transition: 0.5s scale;
}

.showroom-icon-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5vw;
}
.showroom-icon-container a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.showroom-icon-container img {
  height: 7vw;
  object-fit: contain;
}

.icon_container:hover {
  scale: 0.9;
}

.icon {
  object-fit: contain;
  width: 20vw;
}

.icon_text {
  font-size: 2.5vw;
  color: #1c69d4;
}

.strip {
  width: 90vw;
  cursor: pointer;
  margin: 3vw 0 1vw 0;
}
.dark {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #0000002e;
  z-index: 3;
}

.thanks_message {
  font-size: 4.5vw;
  font-family: hebrew_regular;
  color: black;
  text-align: center;
  padding: 10vw;
}

.media_container {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 4vw;
}

.icon {
  width: 7vw;
  cursor: pointer;
}

.licenseNotFound {
  text-align: center;
  font-size: 4vw;
  padding: 5vw 0;
}

.wrong_license_number_dialog,
.over_500_dialog {
  border: none;
  padding: 4vw;
  top: 45%;
  transform: translate(-32%, -50%);
}

.wrong_license_number_dialog p,
.over_500_dialog p {
  text-align: center;
  font-size: 4vw;
}

#wrong_license_number_close_btn,
#dialog_close_btn,
#over_500_close_btn {
  border: none;
  background-color: transparent;
}

#pollutionDialog {
  flex-direction: column;
  position: fixed;
  margin: auto;
  border: 0;
  border-radius: 12px;
}

#dialog_close_btn {
  user-select: none;
  width: fit-content;
  border: 0;
  cursor: pointer;
  padding: 3vw;
}

#pollutionDialog img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .mobile {
    display: none;
  }

  .desktop {
    display: inline-block;
  }

  .main_container {
    flex-direction: row;
    /* height: 45.2vw; */
    position: relative;
    width: 100%;
  }

  .video_section {
    width: 80vw;
    height: unset;
    background-repeat: no-repeat;
    align-self: flex-start;
    aspect-ratio: 1200/676;
    display: flex;
    flex-direction: column;

  }

  .video_play_btn {
    width: 10vw;
  }

  .video { 
    object-fit: cover;
  }
  .logos-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1vw;
    z-index: 4;
    display: flex;
    justify-content: space-between;
  }
  .logo-right {
    width: 6vw;
  }
  .logo-left {
    width: 5vw;
    margin-left: 2vw;
  }
  .main-title {
    margin-top: 2vw;
    width: 35vw;
  }
  .content-bottom {
    width: 65%;
    bottom: 0;
  }
  .swiper-button-next:after, .swiper-button-prev:after {
    font-size: 2vw !important;
  }
  .video_logos {
    object-fit: contain;
    position: absolute;
    top: unset;
    bottom: 1vw;
    left: 1vw;
    width: 8vw;
  }

  .video_title {
    font-size: 3.5vw;
    top: 4vw;
  }

  .video_title b {
    font-weight: bold;
    font-family: regular;
    font-size: 2.9vw;
  }

  .video_title span {
    font-size: 2.3vw;
    line-height: 1.5;
  }

  .video_footer {
    font-size: 1.5vw;
    bottom: 1vw;
    right: 1vw;
  }

  .form_section {
    width: 23vw;
    padding: 1vw 0;
    gap: 1vw;
    height: 100%;
  }

  .form {
    gap: 0.5vw;
    padding: 1vw 2vw 0vw 2vw;
    width: initial;
    position: relative;
    height: 100%;
    justify-content: center;
  }

  .form_title {
    font-family: hebrew_regular;
    font-size: 1.8vw;
    margin-bottom: 1vw;
  }

  .input {
    width: 88%;
    padding: 0.5vw 1vw 0.5vw 1vw;
    font-size: 1vw;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown select {
    width: 100%;
    font-size: 1vw;
    padding: 0.75vw 1.5vw;
    background-position: 1vw center;
    background-size: 1vw;
  }

  .checkbox_container {
    gap: 1vw;
  }

  .checkbox_label {
    font-size: 0.7vw;
    line-height: 1.1;
  }

  .checkbox {
    width: 4vw;
    height: 1.5vw;
  }

  .submit_btn {
    padding: 0.5vw 1vw 0.5vw 1vw;
    font-size: 1.5vw;
  }

  .terms {
    font-size: 0.6vw;
  }
  .links-3 {
    font-size: 0.8vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: calc(100% - 4vw);
  }
  .links-3 a {
    color: #828282;
  }
  .icons_container {
    position: absolute;
    bottom: 0;
    width: 80%;
    margin: 0;
  }

  .icon_container {
    gap: 1vw;
  }
  .showroom-icon-container {
    gap: 1vw;
  }
  .showroom-icon-container img {
    height: 2vw;
  }

  .icon {
    width: 10vw;
  }

  .icon_text {
    font-size: 0.6vw;
  }

  .strip {
    width: 50vw;
    margin: unset;
    align-self: flex-start;
    padding: 0.5vw 0 0 0;
    align-self: center;
  }

  .thanks_message {
    font-size: 1.5vw;
    color: black;
    text-align: center;
    padding: 0;
  }

  .media_container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 1vw;
  }

  .icon {
    width: 2vw;
    cursor: pointer;
  }

  .licenseNotFound {
    font-size: 1.2vw;
    padding: 0;
  }

  .wrong_license_number_dialog {
    padding: 2vw;
    top: 35%;
    transform: translate(-396%, -50%);
  }

  .over_500_dialog {
    padding: 2vw;
    top: 35%;
    transform: translate(-433%, -50%);
  }

  .wrong_license_number_dialog p,
  .over_500_dialog p {
    font-size: 1.2vw;
  }

  #pollutionDialog img {
    width: 50vw;
    content: url("../assets/popup.jpg?r=4");
  }

  #dialog_close_btn {
    padding: 1vw;
  }
}
