.scene {
    /* border: 1px solid #ccc; */
    margin: 40px 0;
    position: relative;
    width: 100%;
    height: fit-content;
    margin: 80px auto;
    perspective: 1500px;

    position: absolute;
    z-index: 2;
    top: 0px;
}

/* .your-class {
    overflow-x: hidden;
    width: 100%;
    height: 2000px;
    overflow-y: visible;
} */
.scene-index {
    z-index: -1 !important;
}
.carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    transform: translateZ(0);
    transform-style: preserve-3d;
    transition: transform 1s;
    right: 40%;
}

.slick-arrow {
    display: none !important;
}

.slick-active:not(.slick-center) .cell_item {
    top: 70px;
    transform: scale(0.8);
    transition: all 0.2s ease-in-out;
}

.slick-slide:not(.slick-active) .cell_item {
    top: 100px;
    transform: scale(0.6);
    transition: all 0.7s ease-in-out;
}

.slick-center {
    transition: all 0.2s ease-in-out;
}
/* .carousel__cell {
    position: absolute;
    width: 190px;
    height: 120px;
    left: 33px;
    top: var(--top-item); */
/* top: 89px; */
/* line-height: 116px;
    font-size: 80px;
    font-weight: bold;
    color: white;
    text-align: center;
    transition: transform 1s, opacity 1s, top 1s;
} */

/* .carousel__cell:nth-child(9n + 1) {
  background: hsla(0, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n + 2) {
  background: hsla(40, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n + 3) {
  background: hsla(80, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n + 4) {
  background: hsla(120, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n + 5) {
  background: hsla(160, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n + 6) {
  background: hsla(200, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n + 7) {
  background: hsla(240, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n + 8) {
  background: hsla(280, 100%, 50%, 0.8);
}
.carousel__cell:nth-child(9n + 0) {
  background: hsla(320, 100%, 50%, 0.8);
} */
/*
.carousel__cell:nth-child(1) {
    transform: rotateY(0deg) translateZ(50rem);
}
.carousel__cell:nth-child(2) {
    transform: rotateY(16deg) translateZ(48rem) scale(0.9);
}
.carousel__cell:nth-child(3) {
    transform: rotateY(-16deg) translateZ(48rem) scale(0.9);
}
.carousel__cell:nth-child(4) {
    transform: rotateY(28deg) translateZ(48rem) scale(0.8);
}
.carousel__cell:nth-child(5) {
    transform: rotateY(-28deg) translateZ(48rem) scale(0.8);
}
.carousel__cell:nth-child(6) {
    transform: rotateY(200deg) translateZ(288px);
}
.carousel__cell:nth-child(7) {
    transform: rotateY(240deg) translateZ(288px);
}
.carousel__cell:nth-child(8) {
    transform: rotateY(280deg) translateZ(288px);
}
.carousel__cell:nth-child(9) {
    transform: rotateY(320deg) translateZ(288px);
} */

.carousel-options {
    text-align: center;
    position: relative;
    z-index: 2;
    background: hsla(0, 0%, 100%, 0.8);
}

.cell_item {
    position: relative;
    transform: scale(1);
    transition: all 0.5s ease-in-out;
}

.cell_item-img-base {
    width: -webkit-fill-available;
    z-index: 10;
}

.cell_item-img-forward {
    position: absolute;
    top: 40px;
    left: 15px;
    width: 20%;
    /* animation-name: updownforward;
  animation-duration: unset;
  animation-fill-mode: both; */
    animation: updownforward 3s infinite alternate;
}

.cell_item-img-behind {
    position: absolute;
    top: 20px;
    right: 26px;
    width: 14%;
    z-index: -1;
    animation: updownfbehind 3s infinite alternate;
}

@keyframes updownforward {
    from {
        top: 50px;
    }
    to {
        top: 30px;
    }
}

@keyframes updownfbehind {
    from {
        top: 12px;
        right: 12px;
    }
    to {
        top: 30px;
        right: 0px;
    }
}

@media only screen and (max-width: 430px) {
    /* .carousel {
        transform: scale(0.5);
        left: 6%;
        top: 7px;
    } */
    .scene {
        top: -23px;
    }
    .slick-center .cell_item {
        top: 50px !important;
        transition: all 0.2s ease-in;
    }
    .slick-active:not(.slick-center) .cell_item {
        top: 70px;
        transform: scale(0.8) !important;
        transition: all 0.2s ease-in;
    }
    /* .slick-slide:not(.slick-active) .cell_item {
        top: 100px;
        transform: scale(0.6);
        transition: all 0.7s ease-in;
    } */
}

@media only screen and (min-width: 2700px) {
    /* .carousel {
        transform: scale(0.5);
        left: 6%;
        top: 7px;
    } */
    .scene {
        top: 100px;
    }
    .slick-center .cell_item {
        top: 24px !important;
        transition: all 0.2s ease-in;
        transform: scale(1.2);
    }
    .slick-active:not(.slick-center) .cell_item {
        top: 87px;
        transform: scale(0.7);
        transition: all 0.2s ease-in;
    }
}
.slick-list {
    overflow: visible !important;
}
