.swiper-hero {
  height: auto;
  aspect-ratio: 8 / 12;
  position: relative;
}

.swiper-hero::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background-image: url('sliderbg.svg');
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.swiper-hero .swiper-hero-overlay {
    position: absolute;
    z-index: 11;
    top: 1.5rem;
    left: 1.5rem;
    pointer-events: none;
}

.swiper-hero .swiper-hero-overlay h1,
.swiper-hero .swiper-hero-overlay p,
.swiper-hero .swiper-hero-overlay a {
    color: white;
}

.swiper-hero .swiper-hero-overlay h1 {
    font-size: 50px;
    line-height: 0.9em;
    font-style: normal;
    font-weight: 500;
}

.swiper-hero .swiper-hero-overlay p {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}

.swiper-hero .swiper-hero-overlay a.btn,
.swiper-hero .swiper-hero--content a.btn.btn-outline-light {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    color: white;
    pointer-events: auto;
}

.swiper-hero--inner {
  height: 100%;
}

.swiper-hero--pagination {
    position: absolute;
    width: auto !important;
    bottom: 1rem;
    left: 50% !important;
    transform: translateX(-50%);
    margin-bottom: 1rem;
    z-index: 11;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: white;
    opacity: 1;
}

span.swiper-pagination-bullet {
    background-color: #101010;
    opacity: 1;
    width: 54px;
    height: 5px;
    border-radius: 0;
}

.swiper-hero--content {
    color: white;
    position: absolute;
    left: 1.5rem;
    bottom: 3rem;
    max-width: 421px;
}

.swiper-hero--image {
    height: 100%;
    -webkit-mask-image: linear-gradient(to right,transparent 50%, black 85%);
    mask-image: linear-gradient(to right,transparent 50%, black 85%);
}

.swiper-hero--image img {
    width: 100%;
    height: 100%;
    color: #a7d7e3d0;
    object-fit: cover;
}

@media (min-width: 340px) {
    .swiper-hero {
        aspect-ratio: 8 / 10;
    }
}

@media (min-width: 420px) {
    .swiper-hero {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 575px) {

    html .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 0;
    }
    .swiper-hero--content {
        scale: 0.8;
        max-width: 70%;
        transform-origin: bottom left;
        hyphens: auto;
    }

    span.swiper-pagination-bullet {
        width: 24px;
        height: 3px;
    }
}

@media (min-width: 576px) {

    .swiper-hero {
        aspect-ratio: 16 / 13;
    }

    .swiper-hero .swiper-hero-overlay {
        top: 1rem;
        left: 1.75rem;
    }
    .swiper-hero--content {
        left: 1.75rem;
        bottom: 4rem;
        max-width: 285px;
    }
    .swiper-hero--image {
        -webkit-mask-image: linear-gradient(to right,transparent 40%, black 80%);
        mask-image: linear-gradient(to right,transparent 40%, black 80%);
    }
}

@media (min-width: 768px) {
    .swiper-hero {
        aspect-ratio: 16 / 11;
    }
    .swiper-hero .swiper-hero-overlay {
        top: 2rem;
        left: 2rem;
    }
    .swiper-hero--content {
        left: 2rem;
        bottom: 2rem;
        max-width: 420px;
    }    
    .swiper-hero .swiper-hero-overlay h1 {
        font-size: 48px;
    }
    .swiper-hero .swiper-hero-overlay p {
        font-size: 24px;
        line-height: 1.2;
    }
    .swiper-hero .swiper-hero-overlay a.btn {
        font-size: 18px;
        line-height: 1.4;
    }
    .swiper-pagination-bullet {
        width: 64px;
        height: 5px;
    }
}

@media (min-width: 991px) {

    .swiper-hero {
        aspect-ratio: 16 / 10;
    }
    .swiper-hero .swiper-hero-overlay {
        top: 3rem;
        left: 3rem;
    }    
    .swiper-hero .swiper-hero-overlay h1 {
        font-size: 62px;
    }
    .swiper-hero--content {
        left: 3rem;
        bottom: 3rem;
    }      
}

@media (min-width: 1200px) {
    .swiper-hero .swiper-hero-overlay h1 {
        font-size: 72px;
    }
    .swiper-hero {
        aspect-ratio: 16 / 10;
    }
}

@media (min-width: 1550px) {

    .swiper-hero .swiper-hero-overlay h1 {
        font-size: 80px;
    }
    .swiper-hero {
        aspect-ratio: 2 / 1;
    }
}
