/* General */

.video-loader {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 150px;
  height: 150px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 1;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

.video-loader.hidden {
  opacity: 0;
}

.video-loader svg {
  width: 150px;
  height: 150px;
  transform: rotate(270deg) scale(1);
  animation: pulse 5s infinite;
}

@keyframes pulse {
  0% {
    transform: rotate(270deg) scale(0.9);
    opacity: 0;
  }

  50% {
    transform: rotate(270deg) scale(1);
    opacity: 1;
  }

  100% {
    transform: rotate(270deg) scale(0.9);
    opacity: 0;
  }
}

.video-loader>span {
  font-size: 11px;
  position: absolute;
  bottom: 0;
  display: none;
}

.page-hero {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 0;
}

.page-hero-video-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: -70px auto auto;
}

@media (max-width: 899px) {
  .page-hero-video-container {
    margin: 0px auto auto;
  }
}

.page-hero-video-container::before {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  background: #000;
}

.page-hero-video-container video {
  position: relative;
  width: 100%;
  z-index: 2;
  aspect-ratio: 16 / 9;
}

@media (max-width: 899px) {
  .page-hero-video-container video {
    aspect-ratio: 9 / 12;
    object-fit: cover;
  }
}

@media (max-width: 599px) {
  .page-hero-video-container video {
    aspect-ratio: 9 / 13;
  }
}

.page-hero-video-container .video-loader {
  -webkit-transition: all 2500ms ease-out;
  -moz-transition: all 2500ms ease-out;
  -o-transition: all 2500ms ease-out;
  transition: all 2500ms ease-out;
}

/* Versatility hero */

.versatility-hero-video-container {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: -150px auto auto;
}

@media (max-width: 1399px) {
  .versatility-hero-video-container {
    margin: -50px auto auto;
  }
}

@media (max-width: 599px) {
  .versatility-hero-video-container {
    margin: -150px auto auto;
  }
}

.versatility-hero-video-container::before {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url("../../videos/versatility-res-2x-poster.jpg"),
    url("../../videos/versatility-portrait-poster.jpg");
  background-position: 50% 50%, 50% 50%;
  background-size: 100%, 100%;
  background-repeat: no-repeat, no-repeat;
  z-index: 0;
}

@media (max-width: 599px) {
  .versatility-hero-video-container::before {
    background-image: url("../../videos/versatility-portrait-poster.jpg"),
      url("../../videos/versatility-res-2x-poster.jpg");
  }
}

.versatility-hero-video-container video {
  position: relative;
  width: 100%;
  z-index: 2;
  aspect-ratio: 16 / 9;
}

@media (max-width: 599px) {
  .versatility-hero-video-container video {
    aspect-ratio: 9 / 16;
  }
}

/* Control hero */

.control-hero-video-container {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 1920px;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: -150px auto auto;
}

@media (max-width: 1399px) {
  .control-hero-video-container {
    margin: 50px auto auto;
  }
}

.control-hero-video-container::before {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url("../../videos/control-res-2x-poster.jpg"),
    url("../../videos/control-portrait-poster.jpg");
  background-position: 50% 50%, 50% 50%;
  background-size: 100%, 100%;
  background-repeat: no-repeat, no-repeat;
  z-index: 0;
}

@media (max-width: 599px) {
  .control-hero-video-container::before {
    background-image: url("../../videos/control-portrait-poster.jpg"),
      url("../../videos/control-res-2x-poster.jpg");
  }
}

.control-hero-video-container video {
  position: relative;
  width: 100%;
  z-index: 2;
  aspect-ratio: 16 / 9;
}

@media (max-width: 599px) {
  .control-hero-video-container video {
    aspect-ratio: 9 / 16;
  }
}

/* Control hero */

.performance-hero-video-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: -250px auto -250px;
}


@media (max-width: 1399px) {
  .performance-hero-video-container {
    margin: -50px auto -50px;
  }
}

@media (max-width: 899px) {
  .performance-hero-video-container {
    margin: -50px auto -50px;
    overflow: hidden;
  }
}

.performance-hero-video-container::before {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url("../../videos/performance-poster.jpg");
  background-position: 50% 50%;
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: 0;
}

.performance-hero-video-container video {
  position: relative;
  width: 100%;
  z-index: 2;
  aspect-ratio: 10 / 7.34375;
}

@media (max-width: 1199px) {
  .performance-hero-video-container video {
    width: 125%;
    max-width: none;
  }
}

.hero-eshop {
  position: relative;
}

.hero-eshop>img {
  height: 260px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-eshop>img {
    height: auto;
    width: 100%;
  }
}

.hero-eshop__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 37px;
  line-height: .7;
  text-transform: uppercase;
  font-family: var(--font-archon);
  text-align: center;
  font-size: 80px;
  font-weight: normal;
}

@media (min-width: 768px) {
  .hero-eshop__title {
    font-size: 100px;
    bottom: 137px;
  }
}