


.carousel-inner{
    max-width: 100rem;
    margin: 0 auto;
}

.carousel-indicators [data-bs-target]{
    background-color: var(--bs-secondary);
    opacity: 0.3;
}

.carousel-indicators .active
{
    opacity: 0.9;
}



.carousel-item {
    width:100%;
    height: 40rem;
    position: relative;
}

.carousel-img{
    display: block;
    width: 100%;
    height: 25rem;
    object-fit: cover;
}

.carousel-img-container {
    height: 25rem;
    overflow: hidden;
}


.carousel-caption{
    background: var(--bs-primary);
    width: 100%;
    padding: 4rem;
    text-align: center;
    position: relative;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    display: block;
}

.carousel-caption h2,.carousel-caption h3{
    display: block;
    margin: 0 !important;
    padding: 0 0 1rem 0 !important;

}

.carousel-caption h2{
    font-weight: 900;
    font-style: normal;
    font-size: clamp(1.5rem, 4vw + 1rem, 2rem);
    line-height: 1.1em;
    color: var(--bs-light);
    text-transform: uppercase;

}

.carousel-caption h3 {
    font-family: 'Roboto', sans-serif;
    color: var(--bs-light);
    font-size: 1rem;
    padding-bottom: 1rem;
    font-weight: 300;
}

.carousel-caption a {
    display: inline-block;
}

.carousel-caption a:before{
    display: block;
    width: 100%;
}

.carousel-control-prev, .carousel-control-next{
    width: auto;
}

.carousel-control-prev-icon, .carousel-control-next-icon{
    width: 3rem;
    height: 6rem;
}





@media (min-width: 768px){

    .carousel-caption > h2{
        font-size: clamp(1.5rem, 4vw + 1rem, 2.6rem);
    }

    .carousel-caption > h3 {
        padding-bottom: 1rem;
        font-size: 1.2rem;
        display: block;
    }
}

@media (min-width: 992px){


    .carousel-item {
        height: 45rem;
        max-height: 70vh;
    }

    .decor-line{
        display: block;
        width: 10rem;
        height: 0.25rem;
        background: var(--bs-secondary);
        position: absolute;
        z-index: 20;
        top: 6rem;
        left: 43%;
        transform: translateX(-50%);
    }


    .carousel-caption {
        margin: 0;
        position: absolute;
        left: 0;
        top: 4rem;
        z-index: 10;
        width: 50%;
        color: #fff;
        text-align: left;
        z-index: 8;
        margin-bottom: 3rem;
    }

    .carousel-img-container {
        position: absolute;
        top: 8rem;
        left: 45%;
        width: 55%;
        height: 40rem;
        z-index: 9;
        overflow: hidden;
    }

    .carousel-img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .caption-text{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        padding-right: 10rem;
    }


    .carousel-indicators {
        bottom: 1rem;
        margin: 0;
        padding-left: 2rem;
        justify-content: start;
    }

}

@media (min-width: 1200px){



    .carousel-caption h2{

        font-size: clamp(1.5rem, 4vw + 1rem, 3.2rem);
    }
    .carousel-caption h3 {
        font-size: 1.4rem;
    }
}

@media (min-width: 1900px){
}