.banner-image-background {
  position: relative;
  z-index: 0;
  overflow: hidden;

  padding: 100px;
  @media (max-width: 1200px) {
    padding: 60px;
  }
  @media (max-width: 960px) {
    height: auto;
  }
  @media (max-width: 600px) {
    padding: 20px;
  }

  & .banner-image-background__bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    &>img {
      display: block;
      height: 100%;
      width: 100%;
      object-fit: cover;
      object-position: center;
    }
  }

  & .banner-image-background__video {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    &>video {
      display: block;
      height: 100%;
      width: 100%;
      object-fit: cover;
      object-position: center;
    }
  }

  & > .container {
    position: relative;
    z-index: 2;
  }

  .banner-image-background__container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 32px;
  }

  & .banner-image-background__content {
    position: relative;
    z-index: 2;

    flex-basis: 400px;
    flex-grow: 1;
    @media (max-width: 960px) {
      width: 100%;
    }
  }

  & .banner-image-background__header {
    color: #ffffff;
  }

  & .banner-image-background__body {
    margin-top: 18px;
    color: #ffffff;
  }

  & .banner-image-background__footer {
    display: flex;
    margin-top: 40px;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8px 12px;

    color: #ffffff;
  }

  & .banner-image-background__list {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-basis: 400px;
    flex-grow: 1;
    @media (max-width: 960px) {
      height: 460px;
    }
  }
}

.banner-image-background-list-item {
  position: absolute;

  display: flex;
  flex-direction: column;
  gap: 20px;

  & .banner-image-background-list-item__icon {
    display: inline-flex;
    margin: 0 60px;
  }

  & .banner-image-background-list-item__content {
    display: inline-flex;
    position: relative;
  }

  & .banner-image-background-list-item__title {
    position: absolute;

    width: 100%;

    color: #ffffff;

    opacity: 1;
    transition: opacity .2s ease-out;
  }

  & .banner-image-background-list-item__text {
    color: #ffffff;

    opacity: 0;

    transition: opacity .2s ease-out;
  }

  &.banner-image-background-list-item--1 {
    top: 0;
    left: 0;
  }

  &.banner-image-background-list-item--2 {
    top: 40%;
    right: 0;
    @media (max-width: 960px) {
      top: 25%;
    }
  }

  &.banner-image-background-list-item--3 {
    bottom: 0;
    left: 100px;
    @media (max-width: 1024px) {
      left: 40px;
    }
    @media (max-width: 960px) {
      left: 10px;
    }
  }

  &.banner-image-background-list-item--row-left {
    align-items: flex-start;

    & .banner-image-background-list-item__title,
    & .banner-image-background-list-item__text {
      text-align: left;
    }
  }

  &.banner-image-background-list-item--row-right {
    align-items: flex-end;

    & .banner-image-background-list-item__title,
    & .banner-image-background-list-item__text {
      text-align: right;
    }
  }

  &:has(.banner-image-background-list-item__icon:hover) {
    & .banner-image-background-list-item__title {
      opacity: 0;
    }

    & .banner-image-background-list-item__text {
      opacity: 1;
    }
  }
}