.header {
  --swiper-pagination-color: #ffffff;
  --swiper-pagination-bullet-inactive-color: #ffffff;
  --swiper-pagination-bullet-inactive-opacity: 0.4;
  --swiper-navigation-color: #ffffff;
}

.header__slider {
  display: flex;
  align-items: center;
}

.header__text {
  position: absolute;
  bottom: 6.5vw;
  left: 3%;
  display: none;
  color: rgb(var(--c-neutral-lightest));
}

.header__title p,
.header__description p {
  margin: 0;
}

.header__title {
  display: inline-block;
  margin-bottom: 4px;
  padding: min(0.3125vw, 4px) min(1.875vw, 24px);
  border-radius: 5px;
  background: rgba(var(--c-primary), 0.6);
  font-size: min(3.125vw, 40px);
  font-weight: var(--f-weight-l);
  line-height: 140%;
  text-transform: uppercase;
}

.header__description {
  display: table;
  padding: 0.4em 1.4em;
  border-radius: 5px;
  background: rgb(var(--c-highlight));
  text-transform: uppercase;
}

.header__image {
  overflow: hidden;
  display: block;

  picture {
    height: 100%;
    width: 100%;
  }

  & video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &.-left {
    & video,
    & img {
      object-position: left center;
    }
  }

  &.-right {
    & video,
    & img {
      object-position: right center;
    }
  }

  &.-top {
    & video,
    & img {
      object-position: center top;
    }
  }

  &.-bottom {
    & video,
    & img {
      object-position: center bottom;
    }
  }

  &.-bottom.-left {
    & video,
    & img {
      object-position: left bottom;
    }
  }

  &.-bottom.-right {
    & video,
    & img {
      object-position: right bottom;
    }
  }

  &.-top.-left {
    & video,
    & img {
      object-position: left top;
    }
  }

  &.-top.-right {
    & video,
    & img {
      object-position: right top;
    }
  }
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 441px) {
  .header__text {
    display: block;
  }
}

@media (min-width: 800px) {
  div.header__text.-bottom {
    display: block;
  }
}

/* Position like live: fixed distance from the bottom on large screens */
@media (min-width: 1281px) {
  .header__text {
    bottom: 120px;
  }
}

@media (min-width: 1561px) {
  .header__text {
    left: 80px;
  }
}

