/* home / Preloader */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.preloader-wrapper {
  position: fixed;
  inset: 0;
  z-index: 999999;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: transparent;
  perspective: 1200px;
}

.door-left,
.door-right {
  position: absolute;
  top: 0;
  width: 50vw;
  height: 100vh;
  background-color: transparent;
  z-index: 5;
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.door-left {
  left: 0;
  transform-origin: left center;
}

.door-right {
  right: 0;
  transform-origin: right center;
}

.loading-lottie {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* home / Hero */
body:not(.elementor-editor-active) .text-words,
body:not(.elementor-editor-active) .text-lines-1,
body:not(.elementor-editor-active) .text-lines-2{
  opacity: 0;
  visibility: hidden;
}

.text-words,
.text-lines-1,
.text-lines-2{
  overflow: hidden;
}

/* ביטול מרווחים פנימיים של פסקאות בתוך הטקסטים */
.text-words p,
.text-lines-1 p,
.text-lines-2 p{
  margin: 0 !important;
  padding: 0 !important;
}

/* מילים */
.text-words .split-word{
  display: inline-block;
  will-change: transform, opacity;
}

/* שורות */
.text-lines-1 .split-line,
.text-lines-2 .split-line{
  display: block;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  will-change: transform, opacity;
}

/* קונטיינר דסקטופ */
body:not(.elementor-editor-active) .open-container{
  opacity: 0;
  width: 0;
  max-width: none;
  overflow: hidden;
  transform-origin: center center;
  will-change: width, opacity;
}

/* קונטיינרים מובייל */
body:not(.elementor-editor-active) .open-container-mobile{
  opacity: 0;
  width: 0;
  max-width: none;
  overflow: hidden;
  transform-origin: center center;
  will-change: width, opacity;
}

/* האייטמים שבתוך הקונטיינרים - פייד בלבד */
body:not(.elementor-editor-active) .open-container .open-item,
body:not(.elementor-editor-active) .open-container-mobile .open-item{
  opacity: 0;
  will-change: opacity;
}

.zinka-star-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

#zinkaStarfield {
  width: 100%;
  height: 100%;
  display: block;
}

/* home / Steps */
.wrapper {
  position: relative;
  overscroll-behavior: none !important;
}

.step-title-1,
.step-title-2,
.step-title-3,
.step-title-4,
.step-title-5 {
  position: relative !important;
  z-index: 20;
  visibility: visible !important;
  opacity: 0.1;
  pointer-events: none;
}

.step-title-1 .elementor-heading-title,
.step-title-2 .elementor-heading-title,
.step-title-3 .elementor-heading-title,
.step-title-4 .elementor-heading-title,
.step-title-5 .elementor-heading-title {
  opacity: 0.5;
}

.step-content-1,
.step-content-2,
.step-content-3,
.step-content-4,
.step-content-5 {
  position: absolute !important;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 1025px) {
  .step-content-1,
  .step-content-2,
  .step-content-3,
  .step-content-4,
  .step-content-5 {
    top: 0;
    left: 0;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .wrapper {
    min-height: 100svh;
  }

  .step-content-1,
  .step-content-2,
  .step-content-3,
  .step-content-4,
  .step-content-5 {
    top: 1vw;
    left: 0;
    width: 100%;
  }

  .step-title-1,
  .step-title-2,
  .step-title-3,
  .step-title-4,
  .step-title-5 {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
  }
}
