.new-slider {
    height: 750px;
    width: 100%;
    display: flex;
    perspective: 1000px;
    position: relative;
    align-items: center;
    overflow: hidden;
}

.box-common{
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}



.new-slider [class*="box"] {
    /*   float: left; */
    overflow: hidden;
    border-radius: 20px;
    transition: all 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position: absolute;
    width: 388px;
    height: 100%;
}
.new-slider [class*="box"]:nth-child(10){
    transform: scale(0.3) translate(-50%, -50%);
    top: 20%;
    z-index: 1;
    /* object-fit: contain; */
    /* display: none; */
    visibility: hidden;
}
.new-slider [class*="box"]:nth-child(8),
.new-slider [class*="box"]:nth-child(9)  {
    transform: scale(0.4) translate(-50%, -50%);
    top: 20%;
    z-index: 1;
    /* object-fit: contain; */
    /* display: none; */
    visibility: hidden;
}
.new-slider [class*="box"]:nth-child(7),
.new-slider [class*="box"]:nth-child(1) {
    transform: scale(0.5) translate(-50%, -50%);
    top: 20%;
    z-index: 1;
    /* object-fit: contain; */
    /* display: none; */
    visibility: hidden;
}

.new-slider [class*="box"]:nth-child(2),
.new-slider [class*="box"]:nth-child(6) {
    transform: scale(0.6) translate(-50%, -50%);
    top: 25%;
    z-index: 2;
}

.new-slider [class*="box"]:nth-child(3),
.new-slider [class*="box"]:nth-child(5) {
    transform: scale(0.7) translate(-50%, -50%);
    top: 30%;
    z-index: 3;
}

.new-slider [class*="box"]:nth-child(4) {
    border-color: #c92026;
    color: #fff;
    transform: scale(0.8) translate(-50%, -50%);
    top: 34%;
    z-index: 4;
}

.new-slider [class*="box"]:nth-child(1) {
    left: 2%;
}

.new-slider [class*="box"]:nth-child(2) {
    left: 5%;
}

.new-slider [class*="box"]:nth-child(3) {
    left: 25%;
}

.new-slider [class*="box"]:nth-child(4) {
    left: 47%;
}

.new-slider [class*="box"]:nth-child(5) {
    left: 65%;
}

.new-slider [class*="box"]:nth-child(6) {
    left: 81%;
}

.new-slider [class*="box"]:nth-child(7) {
    left: 80%;
}
.new-slider [class*="box"]:nth-child(8) {
    left: 70%;
}
.new-slider [class*="box"]:nth-child(9) {
    left: 70%;
}
.new-slider [class*="box"]:nth-child(10) {
    left: 70%;
}
.new-slider .firstSlide {
    -webkit-animation: firstChild 1s;
    animation: firstChild 1s;
}

/*Animation for buyers landing page slider*/
@-webkit-keyframes firstChild {
    0% {
        left: 100%;
        transform: scale(0.5) translate(-50%, -50%);
    }

    100% {
        left: 0%;
        transform: scale(0.5) translate(-50%, -50%);
    }
}

@keyframes firstChild {
    0% {
        left: 100%;
        transform: scale(0.5) translate(-50%, -50%);
    }

    100% {
        left: 0%;
        transform: scale(0.5) translate(-50%, -50%);
    }
}

@media (max-width:1200px) {
    .new-slider [class*="box"] {
        width: 300px;
    }
    .new-slider{
        height: 580px;
    }
}

@media (max-width:991px) {
    .new-slider [class*="box"] {
        width: 250px;
    }
}

@media (max-width:768px) {
    .new-slider [class*="box"] {
        width: 200px;
        height: 100%;
    }

    .new-slider {
        height: 450px;
    }

    .new-slider [class*="box"]:nth-child(4) {
        left: 45%;
    }

    .new-slider [class*="box"]:nth-child(5) {
        left: 62%;
    }

    .new-slider [class*="box"]:nth-child(6) {
        left: 76%;
    }

    .new-slider [class*="box"]:nth-child(7) {
        left: 75%;
    }

    .new-slider [class*="box"]:nth-child(1) {
        left: 2%;
    }

    .new-slider [class*="box"]:nth-child(2) {
        left: 5%;
    }
}

@media (max-width:450px) {
    .new-slider [class*="box"] {
        width: 150px;
        height: 100%;
    }

    .new-slider {
        height: 300px;
    }

    .new-slider [class*="box"]:nth-child(6),
    .new-slider [class*="box"]:nth-child(7) {
        left: 75%;
    }
}


.new-slide.mobile {
    height: 750px;
    width: 100%;
    display: flex;
    perspective: 1000px;
    position: relative;
    align-items: center;
    overflow: hidden;
}

.box-common{
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}



.new-slide.mobile [class*="box"] {
    /*   float: left; */
    overflow: hidden;
    border-radius: 20px;
    transition: all 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position: absolute;
    width: 388px;
    height: 100%;
}
.new-slide.mobile [class*="box"]:nth-child(10){
    transform: scale(0.3) translate(-50%, -50%);
    top: 20%;
    z-index: 1;
    /* object-fit: contain; */
    /* display: none; */
    visibility: hidden;
}
.new-slide.mobile [class*="box"]:nth-child(8),
.new-slide.mobile [class*="box"]:nth-child(9)  {
    transform: scale(0.4) translate(-50%, -50%);
    top: 20%;
    z-index: 1;
    /* object-fit: contain; */
    /* display: none; */
    visibility: hidden;
}
.new-slide.mobile [class*="box"]:nth-child(7),
.new-slide.mobile [class*="box"]:nth-child(1) {
    transform: scale(0.5) translate(-50%, -50%);
    top: 20%;
    z-index: 1;
    /* object-fit: contain; */
    /* display: none; */
    visibility: hidden;
}

.new-slide.mobile [class*="box"]:nth-child(2),
.new-slide.mobile [class*="box"]:nth-child(6) {
    transform: scale(0.6) translate(-50%, -50%);
    top: 25%;
    z-index: 2;
}

.new-slide.mobile [class*="box"]:nth-child(3),
.new-slide.mobile [class*="box"]:nth-child(5) {
    transform: scale(0.7) translate(-50%, -50%);
    top: 30%;
    z-index: 3;
}

.new-slide.mobile [class*="box"]:nth-child(4) {
    border-color: #c92026;
    color: #fff;
    transform: scale(0.8) translate(-50%, -50%);
    top: 34%;
    z-index: 4;
}

.new-slide.mobile [class*="box"]:nth-child(1) {
    left: 2%;
}

.new-slide.mobile [class*="box"]:nth-child(2) {
    left: 5%;
}

.new-slide.mobile [class*="box"]:nth-child(3) {
    left: 25%;
}

.new-slide.mobile [class*="box"]:nth-child(4) {
    left: 47%;
}

.new-slide.mobile [class*="box"]:nth-child(5) {
    left: 65%;
}

.new-slide.mobile [class*="box"]:nth-child(6) {
    left: 81%;
}

.new-slide.mobile [class*="box"]:nth-child(7) {
    left: 80%;
}
.new-slide.mobile [class*="box"]:nth-child(8) {
    left: 70%;
}
.new-slide.mobile [class*="box"]:nth-child(9) {
    left: 70%;
}
.new-slide.mobile [class*="box"]:nth-child(10) {
    left: 70%;
}
.new-slide.mobile .firstSlide {
    -webkit-animation: firstChild 1s;
    animation: firstChild 1s;
}

/*Animation for buyers landing page slider*/
@-webkit-keyframes firstChild {
    0% {
        left: 100%;
        transform: scale(0.5) translate(-50%, -50%);
    }

    100% {
        left: 0%;
        transform: scale(0.5) translate(-50%, -50%);
    }
}

@keyframes firstChild {
    0% {
        left: 100%;
        transform: scale(0.5) translate(-50%, -50%);
    }

    100% {
        left: 0%;
        transform: scale(0.5) translate(-50%, -50%);
    }
}

@media (max-width:1200px) {
    .new-slide.mobile [class*="box"] {
        width: 300px;
    }
    .new-slide.mobile{
        height: 580px;
    }
}

@media (max-width:991px) {
    .new-slide.mobile [class*="box"] {
        width: 250px;
    }
}

@media (max-width:768px) {
    .new-slide.mobile [class*="box"] {
        width: 200px;
        height: 100%;
    }

    .new-slide.mobile {
        height: 450px;
    }

    .new-slide.mobile [class*="box"]:nth-child(4) {
        left: 45%;
    }

    .new-slide.mobile [class*="box"]:nth-child(5) {
        left: 62%;
    }

    .new-slide.mobile [class*="box"]:nth-child(6) {
        left: 76%;
    }

    .new-slide.mobile [class*="box"]:nth-child(7) {
        left: 75%;
    }

    .new-slide.mobile [class*="box"]:nth-child(1) {
        left: 2%;
    }

    .new-slide.mobile [class*="box"]:nth-child(2) {
        left: 5%;
    }
}

@media (max-width:450px) {
    .new-slide.mobile [class*="box"] {
        width: 150px;
        height: 100%;
    }

    .new-slide.mobile {
        height: 300px;
    }

    .new-slide.mobile [class*="box"]:nth-child(6),
    .new-slide.mobile [class*="box"]:nth-child(7) {
        left: 79%;
    }
}