/* The original homepage film, limited to its two responsive hero hosts. */
body.page-id-571 #mxh-home #mxh-top,
body.page-id-571 #mxh-original-home .elementor-571 .elementor-element-6tvy454[data-mxh-video-id] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #17141c;
  background-image: url("https://max-space.ru/wp-content/uploads/2022/04/fon-scaled.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

body.page-id-571 #mxh-home #mxh-top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, rgb(15 12 21 / 81%) 0%, rgb(18 14 25 / 74%) 48%, rgb(17 13 23 / 48%) 100%);
}

body.page-id-571 #mxh-home #mxh-top > .mxh-hero-layout,
body.page-id-571 #mxh-home #mxh-top > .mxh-hero-bottom {
  position: relative;
  z-index: 2;
}

body.page-id-571 #mxh-home #mxh-top .mxh-hero-description { color: #e4e0e8; }
body.page-id-571 #mxh-home #mxh-top .mxh-hero-caption { color: #d1cbd7; }
body.page-id-571 #mxh-home #mxh-top .mxh-hero-caption strong { color: #f4f0f7; }
body.page-id-571 #mxh-home #mxh-top .mxh-eyebrow { color: #e1b9ef; }
body.page-id-571 #mxh-home #mxh-top .mxh-lilac { color: #dcadef; }

body.page-id-571 #mxh-home #mxh-top .mxh-hero-media,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-media {
  position: absolute;
  inset: 0 0 var(--mxh-video-bottom, 0px);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

body.page-id-571 #mxh-home #mxh-top .mxh-hero-media iframe,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

body.page-id-571 #mxh-home #mxh-top[data-mxh-video-state="loading"] .mxh-hero-media iframe,
body.page-id-571 #mxh-home #mxh-top[data-mxh-video-state="playing"] .mxh-hero-media iframe,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454[data-mxh-video-state="loading"] .mxh-hero-media iframe,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454[data-mxh-video-state="playing"] .mxh-hero-media iframe {
  opacity: 1;
}

body.page-id-571 #mxh-home #mxh-top .mxh-hero-video-controls,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-video-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-basis: 100%;
  width: 100%;
  margin: 14px 0 0;
}

body.page-id-571 #mxh-home #mxh-top .mxh-hero-video-toggle,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-video-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 6px;
  color: #fff;
  background: rgb(17 13 23 / 42%);
  font: 400 13px/1.4 "Roboto", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
}

body.page-id-571 #mxh-home #mxh-top .mxh-hero-video-toggle::before,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-video-toggle::before {
  content: "";
  display: block;
  width: 8px;
  height: 10px;
  box-sizing: border-box;
  border-right: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

body.page-id-571 #mxh-home #mxh-top .mxh-hero-video-toggle[aria-pressed="true"]::before,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-video-toggle[aria-pressed="true"]::before {
  width: 10px;
  height: 12px;
  border: 6px solid transparent;
  border-left: 9px solid currentColor;
  border-right: 0;
}

body.page-id-571 #mxh-home #mxh-top .mxh-hero-video-toggle:hover,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-video-toggle:hover {
  color: #fff;
  border-color: #e1b9ef;
  background: rgb(116 55 121 / 72%);
}

body.page-id-571 #mxh-home #mxh-top .mxh-hero-video-toggle:focus-visible,
body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-video-toggle:focus-visible {
  outline: 3px solid #e1b9ef;
  outline-offset: 4px;
}

body.page-id-571 #mxh-home #mxh-top .mxh-hero-video-controls[hidden],
body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-video-controls[hidden] {
  display: none;
}

body.page-id-571 #mxh-original-home .elementor-571 .elementor-element-6tvy454[data-mxh-video-id] > .elementor-background-overlay {
  z-index: 1;
  opacity: 1;
  background: linear-gradient(110deg, rgb(15 12 21 / 76%) 0%, rgb(24 17 31 / 68%) 60%, rgb(18 14 25 / 67%) 100%);
}

body.page-id-571 #mxh-original-home .elementor-571 .elementor-element-6tvy454[data-mxh-video-id] > .elementor-container {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-video-controls {
    justify-content: center;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-571 #mxh-home #mxh-top .mxh-hero-media iframe,
  body.page-id-571 #mxh-original-home .elementor-element-6tvy454 .mxh-hero-media iframe {
    transition: none;
  }
}
