
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background: linear-gradient(45deg, #5D6AE8, #F38478);
    z-index: -1;
    animation-name: loader-op;
    animation-duration: 3s;
    opacity: 0;
}

.loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    background: white;
    margin: 5px;
    animation-name: loader;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.dot:nth-child(1) {
    animation-delay: 0.2s;
}
.dot:nth-child(2) {
    animation-delay: 0.4s;
}
.dot:nth-child(3) {
    animation-delay: 0.6s;
}
.dot:nth-child(4) {
    animation-delay: 0.8s;
}
.dot:nth-child(5) {
    animation-delay: 1s;
}

@keyframes loader {
    from {
        width: var(--min-size);
        height: var(--min-size);
        border-radius: calc(var(--min-size) / 2);
    }
    to {
        width: var(--max-size);
        height: var(--max-size);
        border-radius: calc(var(--max-size) / 2);
    }
}

@keyframes loader-op {
    from {
        opacity: 1;
        z-index: 999;
    }
    90%{
        opacity: 1;
        z-index: 999;
        transition: var(--transition--main);
    }
    to {
        opacity: 0;
    }
}


/*STEPS*/
.smart-calling {
    position:  relative;
}

.steps__wrap{
    -webkit-box-align:start;
    -ms-flex-align:start;
    align-items:flex-start;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.steps__item{
    width: 250px;
    padding-right:40px;
}

.steps__item div span {
    border-radius: 5px;
    padding: 0 3px 1px;
}

.steps__item div span.bg_rose {
    background: rgba(243,132,120,0.3);
}

.steps__item div span.bg_red {
    background: rgba(209,127,147,0.3);
}

.steps__item div span.bg_violet {
    background: rgba(175,121,172,0.3);
}

.steps__item div span.bg_purple {
    background: rgba(137,114,200,0.3);
}

.steps__item div span.bg_blue {
    background: #656CE3;
    background: rgba(101,108,227,0.3);
}

.steps__item:last-child{
    padding-right:0;
}



.steps__num{
    display: flex;
    width: 28px;
    height:  28px;
    padding: 4px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    font-size: 14px;
}

.steps__item:not(:nth-child(5)) .steps__title .steps__num:after {
    position:  absolute;
    content: '';
    width:  calc(100% - 20px);
    height:  1px;
    left:  42px;
    top:  14px;
    background-image: url(../../assets/img/icon/arrow_1_step.svg);
    background-repeat:  no-repeat;
    background-size: cover;
    background-position: center center;
}

.steps__item:nth-child(2) .steps__title .steps__num:after {
    background-image: url(../../assets/img/icon/arrow_2_step.svg);
    background-size: cover;
}

.steps__item:nth-child(3) .steps__title .steps__num:after {
    background-image: url(../../assets/img/icon/arrow_3_step.svg);
    background-size: cover;
}

.steps__item:nth-child(4) .steps__title .steps__num:after {
    background-image: url(../../assets/img/icon/arrow_4_step.svg);
    background-size: cover;
}


.steps__item:first-child .steps__title .steps__num {
    color: #F38478;
    border: 1px solid #F38478;
}

.steps__item:nth-child(2) .steps__title .steps__num {
    color: #D17F93;
    border: 1px solid #D17F93;
}

.steps__item:nth-child(3) .steps__title .steps__num {
    color: #AF79AC;
    border: 1px solid #AF79AC;
}

.steps__item:nth-child(4) .steps__title .steps__num {
    color: #8972C8;
    border: 1px solid #8972C8;
}

.steps__item:nth-child(5) .steps__title .steps__num {
    color: #656CE3;
    border: 1px solid #656CE3;
}

.steps__title{
    position:  relative;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    -webkit-box-pack:justify;
    -ms-flex-pack:justify;
    justify-content:space-between;
    margin-bottom: 40px;
}



.steps__arrow{
    width: 166px;
    height: 20px
}

@media screen and (max-width: 1024px){
    .smart-calling:before {
        display:  none;
    }

    .steps__wrap {
        position:  relative;
        flex-direction: column;
    }

    .steps__item:not(:nth-child(5)) .steps__title .steps__num:after {
        width: 64px;
        height: 2px;
        transform: rotate(90deg);
        top: 68px;
        left: -18px;
    }

    .steps__item {
        display: flex;
        margin-bottom: 40px;
        align-items: flex-start;
        padding-right:  0;
        max-width: 280px;
        width:  auto;
    }

    .steps__title {
        margin-top:  3px;
        margin-bottom: 0;
        margin-right:  16px;
    }

}