/* --------------------------------------------------
   IMAGE CAROUSEL
-------------------------------------------------- */

.image-carousel-section {
    padding: 18px 18px;
    overflow: hidden;
}

.image-carousel {
    position: relative;

    width: 100%;
    max-width: 980px;

    margin: 0 auto;

    border-radius: 28px;
    overflow: hidden;

    background: #ffffff;

    /* WICHTIG */
    min-height: 620px;
}

.image-carousel img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    /* WICHTIG */
    object-fit: contain;

    opacity: 0;

    transform:
        scale(1.02)
        rotate(.4deg);

    transition:
        opacity 1.4s ease,
        transform 6s ease;

    will-change: opacity, transform;
}

.image-carousel img.is-active {
    opacity: 1;

    transform:
        scale(1)
        rotate(0deg);
}


/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 640px) {

    .image-carousel {
        max-width: 400px;
        min-height: 420px;
    }
}

@media (max-width: 980px) {

    .image-carousel {
        min-height: 520px;
    }
}