/* import font "heebo" */

@font-face {
  font-family: "Heebo";
  src: url("fonts/Heebo-VariableFont_wght.ttf");
}

/* איפוס והגדרות כלליות */

*,
*::before,
*::after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --black: rgb(21, 19, 39);
  --white: rgb(255, 255, 255);
  --brown: rgb(166, 122, 78);
}

body {
  background: var(--black);
  color: var(--white);
  text-align: center;
  margin: 0;
  font-family: "heebo";
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  padding: 12px 2.5rem;
  border-radius: 3rem 0;
  background: var(--brown);
  color: var(--black);
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 1.8rem;
}

a:hover {
  background: rgb(136, 101, 66);
  color: var(--white);
  box-shadow: 4px 3px 0px var(--white);
}

/* מסך הפתיחה */

.open-screen {
  min-height: 100vh;
  background-image: url(images/open_screen.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.image {
  max-width: 250px;
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.image > img {
  border: 1rem solid var(--brown);
  border-radius: 50%;
}

.section {
  max-width: 80ch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

h1 {
  font-size: 3.2rem;
  color: var(--white);
  margin: 0 0 1.4rem 0;
}

h1 > span {
  color: var(--brown);
  font-size: 3rem;
  font-weight: 600;
  margin: 1.4rem 0;
}

h2 {
  font-size: 2.2em;
  color: var(--brown);
  text-shadow: 4px 3px 10px var(--brown);
}

.open-screen > .section > h2 {
  color: var(--white);
  text-shadow: 4px 3px 10px var(--black);
}

h4 {
  min-width: 700px;
  background: #ffffff27;
  color: #ffd700;
  font-size: 2rem;
  margin-top: 0;
  padding: 1rem;
  border: 2px dotted gold;
  border-radius: 1rem;
  box-shadow: 1px 1px 12px gold;
}

span {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 400;
}

.lottie {
  max-width: 500px;
  height: 150px;
}

/* מסך הכאב */

.bg-white {
  background-image: url(images/bg-white.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--black);
}

p,
li {
  color: var(--black);
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
}

p > span {
  color: var(--black);
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: underline;
}

.reco {
  min-width: 700px;
  padding: 4rem 1rem 2rem 1rem;
  margin: 2rem 0;
  background: var(--black);
  border: 2px dotted gold;
  border-radius: 1rem;
}

h3 {
  position: relative;
  color: var(--white);
  font-size: 1.5rem;
  margin: 0;
}

h3::before {
  content: "\201D";
  display: block;
  position: absolute;
  top: -5rem;
  right: 5%;
  font-size: 8rem;
  font-family: serif;
  color: var(--brown);
}

.reco > span {
  color: var(--brown);
  font-weight: 900;
}

/* מסך החברות */

.companies {
  background-image: url(images/bg-compenies.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  background-attachment: fixed;
  min-height: 100vh;
}

.compenies-overlay {
  background: rgba(21, 19, 39, 0.75);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.compenies-overlay > h2 {
  color: gold;
  text-shadow: 4px 3px 10px var(--black);
}

.d-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 75%;
  padding: 2rem 0;
}

.d-flex > div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem;
  padding: 1rem;
  background: var(--brown);
  border-radius: 50%;
}

.d-flex > div > img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

/* מסך הכאב - המשך */

.bg-white1 {
  background: var(--white);
  color: var(--black);
}

.flex-img {
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 10rem;
  max-width: 75%;
  margin: 0 auto;
}

.flex-img > div > img {
  max-width: 75%;
  margin: 0 auto;
}

.bg-the-pain {
  background-image: url(images/bg-the-pain.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  min-height: 100vh;
}

.bg-the-pain-overlay {
  background: rgb(21, 19, 39, 0.25);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bg-the-pain-overlay > .section {
  background: rgba(255, 255, 255);
  margin: 3rem 0;
  border-radius: 1rem;
}

/* מסך הפתרון */

.the-solution {
  background-image: url(images/bg-the-solution.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  min-height: 100vh;
}

.the-solution > .section > h2 {
  color: #daa520;
  text-shadow: 4px 3px 10px var(--black);
}

.the-solution > .section > p {
  color: var(--white);
}

.the-solution > .section > .reco {
  background: #ffffff27;
  color: gold;
  border: 2px dotted gold;
  border-radius: 1rem;
  box-shadow: 1px 1px 12px gold;
}

/* מסך אודות */

ul {
  padding: 0;
}

ul li {
  padding-right: 1rem;
}

li::marker {
  content: "✍️";
}

/* מסך עוד המלצות */

.section1 {
  max-width: 90%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 5rem 1rem;
}

.happy-costumers {
  background-image: url(images/shaking\ hands.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 50vh;
}

.form {
  padding: 5rem 1rem;
}

/* התאמה למסך עד 1350 פיקסל */

@media screen and (max-width: 1350px) {
  .image {
    max-width: 150px;
    top: 1rem;
    left: 1rem;
  }
}

/* התאמה למסך מחשב עד 1000 פיקסל */

@media screen and (max-width: 1000px) {
  .image {
    max-width: 100px;
  }

  .image > img {
    border: 0.5rem solid var(--brown);
  }

  .section {
    max-width: 70ch;
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  h1 > span {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2em;
  }

  h4 {
    min-width: 600px;
    font-size: 1.8rem;
    margin-top: 0;
    padding: 1rem;
  }

  span {
    font-size: 1.3rem;
  }
}

/* התאמה למסך מחשב עד 768 פיקסל */

@media screen and (max-width: 768px) {
  .image {
    display: none;
  }

  h1 {
    font-size: 2.5rem;
  }

  h1 > span {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8em;
  }

  h4 {
    min-width: 300px;
    font-size: 1.6rem;
  }

  span {
    font-size: 1.2rem;
    max-width: 300px;
  }

  .lottie {
    max-width: 300px;
    height: 150px;
  }

  .reco {
    min-width: 300px;
    max-width: 85%;
  }

  h3::before {
    content: "\201D";
    display: block;
    position: absolute;
    top: -4rem;
    right: 5%;
    font-size: 5rem;
  }

  .flex-img {
    flex-direction: column;
  }

  ul li {
    padding: 0;
  }

  li::marker {
    content: "";
  }
}
