/*-----------------------------------------------------------------------------------

    CSS INDEX
    ===================

    1. - GENERAL

    2. - CUSTOMIZE THE CAROUSEL

    3. - RESPONSIVE

-----------------------------------------------------------------------------------*/


/* 1. - GENERAL
-------------------------------------------------- */
html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    font-family: 'Poppins', sans-serif;
}
#myCarousel .container-fluid {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.carousel-caption > .row > div:first-child {
    padding-left: 20px;
    padding-top: 20px;
    box-sizing: border-box;
}
.carousel-caption > .row > div:last-child {
    padding-right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* 2. - CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    height: 100vh;
}
/*Carousel indicators*/
.carousel-indicators {
    justify-content: flex-start;
    margin-bottom: 3rem;
    margin-left: 20px;
    width: 20%;
}
.carousel-indicators [data-bs-target] {
    text-indent: unset;
    width: auto;
    height: auto;
    background-color: transparent;
    border-top: 2px solid #000;
    border-bottom: none;
    padding: 10px 0px 0;
    margin: 0;
    font-weight: bold;
    font-size: 14px;
    flex: 1;
    opacity: .3;
}
.carousel-indicators .active {
    opacity: 1;
}
/* Carousel control position */
.carousel-control-next,
.carousel-control-prev {
    top: auto;
    bottom: 2rem;
    width: auto;
    border: 1px solid #000;
    border-radius: 50%;
    padding: .5rem;
    transition: all .3s ease-in-out;
    opacity: 1;
}
.carousel-control-next:hover,
.carousel-control-prev:hover {
    background-color: #000;
}
.carousel-control-prev {
    left: auto;
    right: 5.5rem;
}
.carousel-control-next {
    right: 2rem;
}
.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
    filter: brightness(0) grayscale(1);
    transition: filter .3s ease-in-out;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(1) grayscale(0);
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 1.5rem;
    height: 1.5rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    padding: 0;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}
/* Declare heights because of positioning of img element */
.carousel-inner,
.carousel-item {
    height: 100%;
}
/* Carousel custom class */
.carousel-caption > .row {
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel-caption > .row > div {
    height: 100%;
}
.carousel-media {
    position: relative;
    height: 100%;
    width: auto;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 0 0 auto;
    overflow: hidden;
    flex-shrink: 0;
}
.carousel-img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}
.carousel-bg-img {
    height: 130%;
    width: 130%;
    min-width: 130%;
    object-fit: cover;
    transform: translate(-18%, -15%);
    opacity: 1;
    scale: 1;
    transition: all .5s ease-in-out, opacity .8s ease-in-out;
}
.carousel-button {
    display: inline-block;
}
.carousel-button .btn {
    border-radius: 0;
    border-color: transparent;
    background-color: #000;
    padding: 1rem 1.5rem;
    font-size: 14px;
    font-weight: 500;
    margin-top: 1rem;
}
.carousel-button .btn i {
    margin-left: .5rem;
}
.carousel-button:hover .btn {
    border-color: #000;
    background-color: transparent;
    color: #000;
}
.carousel-item-start .carousel-img,
.carousel-item-prev .carousel-img {
    transform: scale(1.4);
    transition: transform .8s ease-in-out, opacity .8s ease-in-out;
    opacity: 0;
}
.carousel-item-next .carousel-img,
.carousel-item-end .carousel-img {
    transform: scale(1);
    opacity: 1;
    transition: transform .4s ease-in-out, opacity .8s ease-in-out;
}
.carousel-item-start .carousel-bg-img,
.carousel-item-prev .carousel-bg-img {
    scale: .8;
    transition: all .5s ease-in-out, opacity .8s ease-in-out;
    opacity: 0;
}
.carousel-item-next .carousel-bg-img,
.carousel-item-end .carousel-bg-img {
    scale: 1;
    opacity: 1;
    transition: all .5s ease-in-out, opacity .8s ease-in-out;
}
.carousel-details {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}
.carousel-title-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
}
.carousel-logo {
    flex: 0 0 auto;
    padding: 10px;
    border-right: 1px solid #333;
}
.carousel-title-row .carousel-title {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-left: 10px;
}
.carousel-title {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1.7rem;
    text-transform: uppercase;
    font-weight: 800;
}
.carousel-logo .carousel-brand-img {
    width: auto;
    max-width: min(220px, 40vw);
    max-height: 140px;
    height: auto;
    object-fit: contain;
}
.carousel-qr {
    align-self: flex-end;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: 0;
    display: flex;
    justify-content: flex-end;
    text-align: right;
    position:absolute;
    bottom: -30px;
}
.carousel-qr .carousel-brand-img {
    width: 300px;
    height: 300px;
    margin-left: auto;
    margin-right: 0;
    object-fit: contain;
}
.carousel-brand-img {
    display: block;
    max-width: 100%;
}
.carousel-item-next .carousel-title,
.carousel-item-prev .carousel-title,
.carousel-item-next .carousel-desc-txt,
.carousel-item-prev .carousel-desc-txt {
    transform: translateY(25px);
    opacity: 0;
    transition: transform .6s ease-in-out, opacity .6s ease-in-out;
}
.carousel-item-next .carousel-button,
.carousel-item-prev .carousel-button {
    transform: translateY(40px);
    opacity: 0;
    transition: transform .8s ease-in-out, opacity .8s ease-in-out;
}
.carousel-button,
.carousel-title {
    transform: translateY(0);
    opacity: 1;
    transition: transform .4s ease-in-out, opacity .1s ease-in-out;
}
.carousel-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #000;
    padding: 0 0 2rem;
    row-gap: 2rem;
}
.carousel-desc-txt {
    font-size: 24px;
    line-height: 24px;
    font-weight: 500;
    margin-bottom: 0;
}
.carousel-desc-txt {
    transform: translateY(0);
    opacity: 1;
    transition: transform .4s ease-in-out, opacity .2s ease-in-out;
}


/* 3. - RESPONSIVE
-------------------------------------------------- */


@media only screen and (max-width: 1160px) {
    .carousel-indicators {
        width: 28%;
    }
    .carousel-title {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 992px) {
    .carousel-button .btn {
        padding: 0.75rem 1rem;
    }
    .carousel-title {
        font-size: 1.25rem;
    }
    .carousel-caption {
        left: 0;
        right: 0;
    }
    #myCarousel .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    .carousel-indicators {
        margin-left: 20px;
        margin-right: 0;
    }
}

@media only screen and (max-width: 768px){
    .carousel-caption {
        left: 0;
        right: 0;
    }
    .carousel-caption > .row > div:first-child {
        position: absolute;
        z-index: 1;
    }
    .carousel-caption:after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: block;
        background-color: rgba(0,0,0, .6);
    }
    .carousel-title,
    .carousel-desc-txt {
        color: #fff;
    }
    .carousel-content {
        padding: 0 0 2rem;
    }
    .carousel-caption > .row > div:first-child {
        padding-left: 20px;
        padding-top: 20px;
        padding-right: 20px;
    }
    .carousel-indicators {
        width: 36%;
    }
    .carousel-indicators [data-bs-target] {
        color: #fff;
        border-color: #fff;
    }
    .carousel-button:hover .btn {
        border-color: transparent;
        background-color: #fff;
        color: #000;
    }
}

@media only screen and (max-width: 625px){
    .carousel-indicators {
        width: 50%;
    }
}

@media only screen and (max-width: 480px){
    .carousel-indicators {
        width: 80%;
    }
}