.banner-container {
  padding: 0;
  @media screen and (min-width: 1278px) {
    padding: 0 20px;
  }
  .banner {
    mask-image: url("Watercolor5.png");
    mask-position: bottom;
    mask-repeat: no-repeat;
    margin: 0 auto;
    mask-size: 120% 100%;
    @media only screen and (min-width: 1278px) {
      mask-size: 100% 100%;
    }
    .banner-slider__slide {
      min-height: 475px;
      .banner-slider__slide-image {
        position: absolute;
        z-index: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: var(--bgPositionX-mobile, center) var(--bgPositionY-mobile, center);
          @media screen and (min-width: 480px) {
            object-position: var(--bgPositionX-tablet, center) var(--bgPositionY-tablet, center);
          }
          @media screen and (min-width: 768px) {
            object-position: var(--bgPositionX, center) var(--bgPositionY, center);
          }
        }
      }
      @media screen and (min-width: 990px) {
        min-height: 600px;
      }
      .banner-slider__slide-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 1;
        @media screen and (min-width: 1278px) {
          padding-left: 80px;
          padding-right: 80px;
          max-width: 540px;
        }
        @media screen and (min-width: 768px) {
          align-items: start;
          row-gap: 20px;
          align-self: center;
          max-width: 450px;
          justify-content: center;
        }
        .banner-slider__slide-title,
        .banner-slider__slide-text {
          margin: 0;
          text-align: center;
          @media screen and (min-width: 768px) {
            text-align: start;
          }
        }

        .banner-slider__slide-cta {
          margin-top: auto;
          margin-bottom: 50px;
          @media screen and (min-width: 990px) {
            margin: 0;
          }
        }
      }
      .banner-slider__slide-image-desktop {
        max-width: 55%;
        margin-left: 0;
        margin-right: 0;
        height: auto;
        display: none;
        @media screen and (min-width: 768px) {
          display: flex;
          justify-self: center;
          align-items: center;
        }
        img {
          object-fit: contain;
          width: 100%;
        }
      }
      .banner-slider__slide-image-mobile {
        max-width: calc(100% + 40px);
        object-fit: contain;
        margin-left: -20px;
        margin-right: -20px;
        max-height: 250px;
        @media screen and (min-width: 768px) {
          display: none;
        }
      }
      .banner-slider__slide-illustration {
        bottom: 0;
        right: 0;
        width: 200px;
        object-fit: contain;
        display: none;
        height: auto;
        @media screen and (min-width: 768px) {
          display: block;
        }
        @media screen and (min-width: 990px) {
          width: 270px;
        }
      }
    }
    .banner-slider__slide.white {
      color: white;
      .banner-slider__slide-image::before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.4) 40%);
        @media screen and (min-width: 480px) {
          background: linear-gradient(0deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 80%);
        }
        @media screen and (min-width: 768px) {
          background: linear-gradient(270deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 80%);
        }
        @media screen and (min-width: 990px) {
          background: linear-gradient(270deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 80%);
        }
      }
    }

    .banner-slider__buttons {
      display: flex;
      justify-content: space-between;
      column-gap: 20px;
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;
      @media screen and (min-width: 1278px) {
        bottom: 40px;
      }
      .banner-slider__button {
        background-color: white;
      }
    }
  }
}