@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,700");
@import url("https://fonts.googleapis.com/css?family=Inconsolata:400,700");


body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overflow: hidden;
  background-color: #2a2a2a;
}

  /* Modern: keeps 16:9 and scales fluidly */
.video-wrap {
  width: 80%;
  max-height: 95% ;       /* optional: cap width */
  margin: 0 auto;         /* center in your .text block */
  aspect-ratio: 16 / 9;
  text-align: center;
}
.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Fallback for older browsers without aspect-ratio */
@supports not (aspect-ratio: 16/9) {
  .video-wrap { position: relative; height: 0; padding-top: 56.25%; }
  .video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
}


/* If Pageable/body adds padding-right during lock, neutralize it on iOS */
@supports (-webkit-touch-callout: none) {
  html, body { padding-right: 0 !important; }
}

@supports (-webkit-touch-callout: none) {
  body[class*="no-scroll"],
  body[style*="padding-right"] { padding-right: 0 !important; }
}


.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;          /* was 100vw */
  height: 100%;         /* was 100vh */
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* optional: modern viewport units with fallback */
@supports (height: 100dvh) {
  .bg-video {
    width: 100dvw;
    height: 100dvh;
  }
}


/* Start with forward visible, reverse hidden */
#bgVideo    { opacity: 1; }
#bgVideoRev { opacity: 0; }

#bgVideo, #bgVideoRev { transition: opacity 90ms linear; }

pre {
  background-color: #3a3a3a;
  padding: 20px;
  border-radius: 5px;
}

.token.string,
.token.number,
.token.comment,
.token.keyword,
.token.attr-value {
  opacity: 0.6;
}

section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: row;
  color: #fff;
  position: relative;
}
/*
#page-1 .text, #page-1-clone .text {
  background-color: #3F51B5;
}
#page-2 .text {
  background-color: #673AB7;
}
#page-3 .text {
  background-color: #9C27B0;
}
#page-4 .text {
  background-color: #E91E63;
}
#page-5 .text {
  background-color: #F44336;
}
#page-6 .text, #page-6-clone .text {
  background-color: #4CAF50;
}
*/
.scroller {
  position: absolute;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translate3d(-50%, 0, 0);
          transform: translate3d(-50%, 0, 0);
  width: 40px;
  height: 65px;
  border: 4px solid #fff;
  border-radius: 30px;
}
.scroller::after {
  position: absolute;
  top: 12px;
  left: 50%;
  -webkit-transform: translate3d(-50%, 0, 0);
          transform: translate3d(-50%, 0, 0);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #fff;
  -webkit-animation: 1200ms ease 0ms forwards infinite scroll;
          animation: 1200ms ease 0ms forwards infinite scroll;
  content: "";
}
.scroller small {
  position: absolute;
  width: 174px;
  left: -64px;
  top: -34px;
}

@-webkit-keyframes scroll {
  from {
    -webkit-transform: translate3d(-50%, 0, 0);
            transform: translate3d(-50%, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-50%, 10px, 0);
            transform: translate3d(-50%, 10px, 0);
    opacity: 0;
  }
}

@keyframes scroll {
  from {
    -webkit-transform: translate3d(-50%, 0, 0);
            transform: translate3d(-50%, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-50%, 10px, 0);
            transform: translate3d(-50%, 10px, 0);
    opacity: 0;
  }
}
.anchors {
  position: fixed;
  top: 25px;
  right: 50px;
  z-index: 100;
}
.anchors ul {
  margin: 0;
  padding: 0;
}
.anchors ul li {
  float: left;
  list-style: none;
}
.anchors ul li a {
  padding: 12px;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.anchors ul li a.active::after {
  position: absolute;
  bottom: 0px;
  left: 10%;
  width: 80%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.6);
  content: "";
}

.text {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  padding: 0px 15px 40px;
}

nav {
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 100;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul li a span {
  background: #fff;
}

nav li {
  display: block;
  width: 10px;
  height: 10px;
  margin: 16px;
  position: relative;
}

nav span:after {
  background: rgba(255, 255, 255, 0.15);
  position: absolute;
  content: "";
  display: block;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border-radius: 100%;
  transition: 0.3s;
}

nav li .active span {
  background: #fff;
  position: absolute;
}

nav li .active span:after {
  top: -6px;
  left: -6px;
  bottom: -6px;
  right: -6px;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav ul li {
  display: block;
  width: 14px;
  height: 13px;
  margin: 7px;
  position: relative;
}

nav ul li a {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
}

nav ul li a.active span,
nav ul li:hover a.active span {
  height: 12px;
  width: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 100%;
}

nav ul li a span {
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  height: 4px;
  width: 4px;
  border: 0;
  background: #fff;
  left: 50%;
  top: 50%;
  margin: -2px 0 0 -2px;
  transition: all 0.1s ease-in-out;
}

nav ul li:hover a span {
  width: 10px;
  height: 10px;
  margin: -5px 0px 0px -5px;
}

#settings-open {
  color: #fff;
  font-size: 35px;
  position: absolute;
  right: -60px;
  top: 10px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#settings-open span {
  line-height: 0;
}
#settings-open span::before {
  content: "\F8BA";
}

#settings {
  position: fixed;
  left: 10px;
  top: 10px;
  width: 250px;
  font-family: "Inconsolata";
  font-size: 14px;
  -webkit-transform: translate3d(-265px, 0, 0);
          transform: translate3d(-265px, 0, 0);
  transition: all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#settings.active {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
#settings.active #settings-open span::before {
  content: "\F5AD";
}
#settings .settings-inner {
  border: 3px solid #fff;
  border-radius: 4px;
  padding: 15px;
}
#settings h4 {
  margin: 10px 0 5px 0;
  padding: 6px 15px;
  color: #fff;
  text-transform: uppercase;
}
#settings button, #settings select {
  border: 3px solid #fff;
  border-radius: 4px;
  background-color: transparent;
  padding: 6px 12px;
  font-family: "Inconsolata";
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  width: 125px;
}
#settings button:hover, #settings select:hover {
  background-color: #fff;
  color: #000;
}
#settings button {
  float: left;
  width: 75px;
  margin: 0 10px 15px 0;
}
#settings select {
  display: block;
  margin-top: 5px;
}
#settings label {
  color: #fff;
  font-weight: bold;
}
#settings .setting {
  padding: 6px 12px;
}
#settings .output {
  float: right;
}

.mb-bar {
  background-color: #fff;
}

.mb-track-y {
  width: 5px;
  background-color: rgba(255, 255, 255, 0.2);
}

#scroll {
  height: 90vh;
}

#listeners {
  margin: 0;
  padding: 0;
  display: flex;
  flex-flow: column;
}
#listeners li {
  list-style: none;
  border: 3px solid #fff;
  border-radius: 3px;
  color: #fff;
  padding: 6px 12px;
  margin: 0 10px 10px 0;
  font-weight: bold;
}
#listeners li.active {
  background-color: #fff;
  color: #000;
}

:not(pre) > code[class*="language-"], pre[class*="language-"] {
  background: transparent;
  border: 3px solid #fff;
}

code {
  font-weight: bold;
  font-family: Inconsolata;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
            transform: rotate3d(0, 0, 1, 0deg);
  }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 360deg);
            transform: rotate3d(0, 0, 1, 360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
            transform: rotate3d(0, 0, 1, 0deg);
  }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 360deg);
            transform: rotate3d(0, 0, 1, 360deg);
  }
}
.checkbox, .radio {
  align-items: center;
  display: flex;
  min-height: 35px;
  position: relative;
}

.radio input,
.checkbox input {
  border: 0 none !important;
  clip: rect(0px, 0px, 0px, 0px) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

.radio > input + label,
.checkbox > input + label {
  cursor: pointer;
  padding: 3px 0 0 30px;
  position: relative;
  color: #fff;
}

.radio > input:disabled + label,
.checkbox > input:disabled + label {
  opacity: 0.6;
  cursor: not-allowed;
}

.radio > input + label::before,
.radio > input + label::after,
.checkbox > input + label::before,
.checkbox > input + label::after {
  font-family: "Material Design Icons";
  font-size: 21px;
  height: 25px;
  left: 0;
  position: absolute;
  text-align: center;
  top: 0px;
  width: 25px;
  font-weight: normal;
}

.checkbox > input + label::after {
  content: "";
}

.checkbox > input:checked + label::after {
  content: "";
}

.radio > input + label::after {
  content: "";
}

.radio > input:checked + label::after {
  content: "";
}

.rangeable-container {
  margin: 20px 0 20px 0;
}

.rangeable-handle {
  border-color: transparent;
  width: 18px;
  height: 18px;
}

.rangeable-progress {
  height: 2px;
  background-color: #fff;
}

.rangeable-tooltip {
  background-color: transparent;
}
.rangeable-tooltip::before {
  border-color: transparent;
}

.rangeable-track {
  height: 8px;
  width: 100%;
  border-radius: 4px;
  border: 3px solid #fff;
  box-sizing: border-box;
  background-color: transparent;
}

.selectr-selected {
  background-color: transparent;
  border: 3px solid #fff;
  color: #fff;
  font-weight: bold;
  padding: 7px 28px 7px 18px;
}
.selectr-selected::before {
  border-color: #fff transparent transparent;
}

.selectr-options {
  padding: 8px;
  overflow: hidden;
}

.selectr-option {
  border-radius: 2px;
  padding: 6px 10px;
}

.selectr-container.native-open .selectr-selected::before, .selectr-container.open .selectr-selected::before {
  border-color: transparent transparent #000;
}

.selectr-container.open .selectr-selected {
  color: #000;
  background-color: #fff;
  border-color: #fff #fff transparent;
}

.selectr-options-container {
  border-width: 0 3px 3px;
  border-color: transparent #fff #fff;
}

.progress {
  position: fixed;
  top: 10px;
  left: 10px;
  width: calc(100vw - 20px);
  height: 5px;
}
.progress .bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(0, 1);
          transform: scale(0, 1);
  -webkit-transform-origin: 0 0 0;
          transform-origin: 0 0 0;
  background-color: #fff;
}

.page-progress {
  width: 40px;
  height: 40px;
  position: fixed;
  left: 10px;
  top: 20px;
}

svg {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

circle {
  stroke: #fff;
  fill: transparent;
  stroke-dasharray: 87.9645943005 87.9645943005;
  stroke-dashoffset: 87.9645943005;
}

h1{font-size: 154px;text-transform: uppercase; text-align: center;}
h2{font-size: 92px;text-transform: uppercase; text-align: center;}
h3{font-size: 92px;text-transform: uppercase; text-align: center; margin-bottom:5px;}
.book-img {
  max-width:300px;
}
/*
.titleHe {
    font-size: 172px
  }
*/
@media screen and (max-width:768px) { 
  h1{font-size:62px;}

  h2 {
    font-size:48px;
  }

  h3 {
    font-size:24px
  }
  .book-img {
  max-width:130px;
}
  /*.titleHe {
    font-size: 84px
  }
  */
}
  a  { color: #fff; }

.bookWrapper {
  display: flex;
  align-items: center; /* Align items to the top */
  justify-content: flex-start; /* Align items to the left */
}

.bookImg {
  margin: 5px 0;
}

.bookText {
  margin: 5px 0;
  font-size: 32px;
  text-align: left;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .bookWrapper {
    flex-direction: column; /* Stack the image and text vertically */
    align-items: center; /* Center items horizontally */
  }

  .bookImg, .bookText {
    margin: 10px 0; /* Optional, adds spacing between the image and text */
    font-size: 18px;
  }

  .download-cta {
  }
}

@media (max-height: 667px) {
   /*#page-3 .text {
    padding-top: 60px;
   }
  */
  #page-3 .display-3 {
    font-size: 24px;
  }

  .bookImg, .bookText {
    line-height: 26px;
  }
  .download-cta .action-btn {
  min-height: unset;
}

}

.hero-title{
font-size: clamp(24px, 10cqi, 300px);
  max-width: 18ch;
  line-height: 1.05;
  text-align:center;
  direction: rtl;
  margin:0;
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero-title {
    /* use viewport instead of container so phones grow faster */
    font-size: clamp(28px, 15svw, 200px);
    max-width: 18ch; /* keep ~3 lines */
  }
}