* {
  margin: 0;
  direction: rtl;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

a {
  text-decoration: none;
}

@font-face {
  font-family: Ploni-Bold;
  src: url("./fonts/PloniDL1.1AAA-Bold.otf");
}

@font-face {
  font-family: Ploni-Regular;
  src: url("./fonts/PloniDL1.1AAA-Regular.otf");
}

@font-face {
  font-family: Ploni-Medium;
  src: url("./fonts/PloniDL1.1AAA-Medium.otf");
}

@font-face {
  font-family: Ploni-Light;
  src: url("./fonts/PloniDL1.1AAA-Light.otf");
}

:root {
  --red: #e40025;
  --black: #303a40;
  --white: #fff;
  --light: "Ploni-Light";
  --regular: "Ploni-Regular";
  --medium: "Ploni-Medium";
  --bold: "Ploni-Bold";
}

.desktop {
  display: block;
}

.mobile {
  display: none;
}

.desktop-flex {
  display: flex;
}

.mobile-flex {
  display: none;
}

.error {
  outline: 1px solid tomato;
}

.error::placeholder {
  color: tomato !important;
}

.main-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  box-shadow: 0 0 200px rgba(0, 0, 0, 0.5) inset;
}

.right-content {
  width: 55%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.top-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 1vw 0;
  gap: 1vw;
  flex-grow: 2;
}

.logo {
  width: 9.5vw;
  object-fit: contain;
}

.top-text-container {
  display: flex;
  flex-direction: column;
  flex-grow: 2;
  justify-content: center;
}

.text1 {
  font-size: 3vw;
  font-family: var(--regular);
  color: var(--black);
  font-weight: 600;
  line-height: 1;
}

.text2 {
  font-size: 5vw;
  font-family: var(--bold);
  color: var(--red);
  line-height: 1;
}

.text3 {
  color: var(--black);
  font-family: var(--bold);
  font-size: 5vw;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  gap: 0.5vw;
  align-items: baseline;
}

.text3 span:nth-child(2) {
  font-size: 3vw;
  font-weight: 600;
  font-family: var(--regular);
}

.text4 {
  font-size: 3vw;
  color: var(--black);
  font-weight: 600;
  font-family: var(--regular);
  line-height: 1;
}

.text4 span:nth-child(1) {
  font-size: 1.5vw;
}

.text4 span:nth-child(2) {
  font-size: 8vw;
  font-family: var(--bold);
}

.bottom-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.bottom-content-img {
  width: 23vw;
  position: absolute;
  bottom: 0;
  right: 22vw;
}

.bottom-content-text {
  position: absolute;
  bottom: 0;
  right: 1vw;
  font-size: 1.5vw;
  font-family: var(--regular);
  font-weight: 600;
  color: black;
}

.left-content {
  width: 45%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(./images/redForm_desk.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 1vw;
  padding-right: 5vw;
}

.form-title {
  font-size: 4vw;
  color: var(--white);
  font-weight: 600;
  font-family: var(--regular);
  line-height: 1;
  text-align: center;
}

.form-fields-container {
}

.form {
  display: flex;
  flex-direction: column;
}

.input {
  border: solid 1px #303a40;
  border-radius: 20px;
  height: 3vw;
  width: 24vw;
  font-size: 1.5vw;
  padding: 0 1vw;
  margin-bottom: 1vw;
}

.submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px white;
  background-color: #303a40;
  border-radius: 15px;
  padding: 3%;
  width: 25vw;
  margin-top: 0.5vw;
  color: white;
  cursor: pointer;
  font-size: 2vw;
  font-family: var(--regular);
  font-weight: 600;
}

.thanks {
  display: none;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  color: var(--white);
  font-size: 2vw;
  font-family: var(--regular);
  line-height: 1;
}

@media screen and (max-width: 768px) {
  body {
    height: 100%;
    overflow-y: visible;
    scroll-behavior: smooth;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .desktop-flex {
    display: none;
  }

  .mobile-flex {
    display: flex;
  }

  .logo {
    content: url(../styles/images/golan_white.png);
  }

  .bottom-content-img {
    content: url(../styles/images/bg_mob.png);
  }

  .main-container {
    flex-direction: column;
    /* height: 225vw; */
    box-shadow: none;
    justify-content: flex-start;
  }

  .right-content {
    width: 100%;
    height: unset;
  }

  .top-content {
    background-image: url(./images/redTop_mob.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    gap: 1vw;
    padding: 1vw 0 3vw 0;
  }
  .top-text-container {
    padding: 2vw 0 5vw 0;
  }

  .logo {
    width: 25vw;
  }

  .text1 {
    font-size: 5vw;
    color: var(--white);
  }

  .text2 {
    font-size: 10vw;
    color: var(--white);
  }

  .text3 {
    font-size: 10vw;
    color: var(--white);
  }

  .text3 span:nth-child(2) {
    font-size: 7vw;
  }

  .text4 {
    font-size: 7vw;
    color: var(--white);
  }

  .text4 span:nth-child(1) {
    font-size: 3vw;
  }

  .text4 span:nth-child(2) {
    font-size: 12vw;
  }

  .bottom-content-img {
    position: relative;
    width: 55vw;
    right: 30vw;
  }

  .bottom-content-text {
    bottom: 21vw;
    font-size: 3vw;
    font-family: var(--light);
    font-weight: 600;
    direction: rtl;
    line-height: 1;
    position: unset;
    text-align: center;
  }

  .bottom-content-link {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 18vw;
    width: 100%;
    background-color: #e50025;
    cursor: pointer;
    height: 20vw;
    box-shadow: #e40025 0px 0px 10px;
    color: var(--white);
    font-family: var(--bold);
    font-size: 7vw;
    position: absolute;
    bottom: 0;
  }

  .left-content {
    flex-grow: 2;
    width: 100%;
    aspect-ratio: 600 / 550;
    height: unset;
    background-image: url(./images/redForm_mob.png);
    background-size: 100% 83%;
    background-repeat: no-repeat;
    background-position: bottom center;
    padding-top: 5vw;
  }

  .form-container {
    padding: 0;
  }

  .form-title {
    font-size: 6vw;
    color: black;
  }

  .input {
    width: 75vw;
    padding: 0 5vw;
    height: 10vw;
    font-size: 5vw;
    margin-top: 2vw;
  }

  .submit-btn {
    margin: 3vw;
    width: 82vw;
    height: 15vw;
    font-size: 8vw;
  }

  .thanks {
    font-size: 7vw;
  }
}
