.conveyor {
    display: flex;
    gap: 0px;
    padding-bottom: 40px;
    padding-top: 20px;
    justify-content: center;
}

.conveyor__illustration__wrapper {
    position: relative;
    width: 30%;
}

.conveyor__illustration {
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--secondary-color-3, #E5E5E5);
    background: var(--card-gradient, radial-gradient(50% 50% at 50% 50%, #F6F7FA 0%, #FFFCF9 100%));
    max-height: 750px;
    height: 100%;
}

.conveyor__illustration img {
    width: calc(100% - 176px);
    max-width: 100%;
    max-height: 250px;
    min-height: 250px;
    object-fit: contain;
    margin: 20px auto;
}

.btn-next, .btn-pause, .btn-play, .btn-prev {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-play {
    width: 40px;
    height: 40px;
    background-image: url("../../../../assets/images/icons/play.svg");

}

.btn-play.pause {
    background-image: url("../../../../assets/images/icons/pause.svg");
}

.controls {
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    top: 590px;
    left: calc(50% - 70px);
    z-index: 999;
    display: flex;
    gap: 10px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.illustration {
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    transform: translateX(100%);
    position: absolute;
}

.illustration.enter {
    transform: translateX(100%);
    animation: slideIn 0.5s forwards;
    position: absolute !important;
    top: 0;
}

.illustration.leave {
    animation: slideOut 0.5s forwards;
}

.illustration.active {
    transform: translateX(0%);
    visibility: visible;
    opacity: 1;
    position: relative;
}

.illustration p {
    padding: 0px 30px 30px;
}

.conveyor__arrow {
    position: absolute;
    top: -20px;
    left: 100%;
    min-width: calc(calc(100vw - 60px) - 100%) !important;
    z-index: 9;
    pointer-events: none;
    height: 100%;
}

.conveyor__arrow .short {
    display: none;
}

.conveyor__illustration__wrapper svg g {
    transition-duration: .3s;
    opacity: 0;
}

.conveyor__illustration__wrapper svg g.active, .conveyor__illustration__wrapper svg .active g {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.hero {
    overflow: hidden;
    position: relative;
    padding: 0;
    width: 70%;
    min-height: 650px;
}

.elem, .hero__wrapper {
    width: 2000px;
    height: 650px;
    position: relative;
    max-width: 100vw;
    max-height: calc(100vh - 161px);
    min-height: 100%;
    top: 200px;
    z-index: 2;
}


@media (min-width: 1200px) and (max-height: 800px) {
    .hero__wrapper {
        transform: scale(0.5);
    }
}


@media (min-width: 1200px) and (max-height: 850px) {
    .hero__wrapper {
        transform: scale(0.75);
    }
}

@media (min-width: 1200px) and (max-height: 800px) {
    .hero__wrapper {
        transform: scale(0.65);
        top: 100px;
    }
}

@media (max-height: 720px) {
    .elem__stage {
        max-width: 590px;
    }
}


@media (min-width: 1400px) {
    .conveyor__illustration__wrapper {
        width: 345px;
    }

    .hero {
        width: 1014px;
        max-width: 1014px;
    }

    .conveyor__arrow {
        min-width: 1014px !important;
        max-width: 1014px;
    }

    .hero__wrapper {
        transform: scale(0.7) translate(-240px, 0px);
        top: 130px;
        max-width: 100%;

    }
}

@media (min-width: 1600px) {
    .conveyor__illustration__wrapper {
        width: 415px;
    }

    .hero {
        width: 1159px;
        max-width: 1159px;
    }

    .conveyor__arrow {
        min-width: 1159px !important;
        max-width: 1159px;
    }

    .hero__wrapper {
        transform: scale(0.8) translate(-165px, 0px);
        top: 150px;
    }
}

@media (min-width: 1800px) {
    .conveyor__illustration__wrapper {
        width: 465px;
    }

    .hero {
        width: 1243px;
        max-width: 1243px;
    }

    .conveyor__arrow {
        min-width: 1243px !important;
        max-width: 1243px;
    }

    .hero__wrapper {
        transform: scale(0.85) translate(-140px, 0px);
        top: 150px;
    }
}

@media (min-width: 1800px) {
    .conveyor__illustration__wrapper {
        width: 465px;
    }

    .hero {
        width: 1243px;
        max-width: 1243px;
    }

    .conveyor__arrow {
        min-width: 1243px !important;
        max-width: 1243px;
    }

    .hero__wrapper {
        transform: scale(0.85) translate(-140px, 0px);
        top: 150px;

    }
}
@media (min-width: 1400px) and (max-height: 800px) {
    .hero__wrapper {
        transform: scale(0.65) translate(-165px, 0px);
        top: 40px;
    }
    .conveyor__arrow{
        top: -20px;
    }
    .conveyor__arrow .normal {
        display: none;
    }

    .conveyor__arrow .short {
        display: unset;
    }
    .controls{
        top: 450px;
    }
}
@media (min-width: 1400px) and (max-height: 700px) {
    .hero__wrapper{
        transform: scale(0.55 ) translate(-220px, 0px);
        top: 0;
    }
    .conveyor__arrow{
        top: -25px;
    }
}
@media (min-width: 1600px) and  (max-height: 800px) {
    .hero__wrapper {
        transform: scale(0.7) translate(-110px, 0px);
        top: 80px;
    }
    .conveyor__arrow{
        top: 20px;
    }
    .conveyor__arrow .normal {
        display: none;
    }

    .conveyor__arrow .short {
        display: unset;
    }
}
@media (min-width: 1800px) and  (max-height: 800px) {
    .conveyor__illustration__wrapper {
        width: 563px;
    }
}


/*@media (min-width: 1400px) and (max-height: 800px) {*/
/*    .conveyor .hero__wrapper {*/
/*        translate: -250px 0px;*/
/*        transform: scale(0.7);*/
/*        top: 100px;*/
/*    }*/

/*    !*.conveyor__arrow{*!*/
/*    !*    min-width: 950px !important;*!*/
/*    !*}*!*/
/*    .controls {*/
/*        top: 540px;*/
/*    }*/
/*}*/


/*@media (min-width: 1400px) and (min-height: 800px) {*/
/*    .conveyor .hero__wrapper {*/
/*        translate: -250px 20px;*/
/*        transform: scale(0.7);*/
/*        top: 100px;*/

/*    }*/
/*    */
/*}*/


/*@media (min-width: 1800px) {*/
/*    .conveyor {*/
/*        gap: 50px;*/
/*        justify-content: center;*/
/*    }*/

/*    .conveyor .hero__wrapper {*/
/*        translate: -170px -20px;*/
/*        transform: scale(0.9);*/
/*        top: 200px;*/
/*    }*/

/*    .conveyor__arrow {*/
/*        top: 0;*/
/*        !*left: calc(100% - 20px);*!*/
/*        !*min-width: 1170px !important;*!*/
/*    }*/
/*}*/

/*@media (min-width: 1800px) and (max-height: 850px) {*/

/*    .conveyor .hero__wrapper {*/
/*        translate: -250px -50px;*/
/*        transform: scale(0.8);*/
/*    }*/

/*    .conveyor__arrow {*/
/*        !*min-width: calc(1826px - 100%) !important;*!*/
/*    }*/

/*    .controls {*/
/*        top: 540px;*/
/*    }*/
/*}*/


@media (max-width: 1399px) {
    .conveyor__illustration__wrapper {
        display: none;
    }

    .hero {
        width: 100%;
    }

    .elem__stage {
        display: block;
    }
}

@media (max-width: 768px) {
    .controls {
        left: 50%;
    }
}

@media (max-width: 375px) {
    .controls {
        top: 525px;
    }
}