/* Add here all your css styles (customizations) */
.roadmap {
    --roadmap-block: 1110px;
    --roadmap-columns: 6;
    --roadmap-width: calc(var(--roadmap-block) / var(--roadmap-columns));
    --roadmap-border: 10px solid #CD623A;
}
.roadmap-slider {
    --roadmap-block: calc(100vw - 35px);
    --roadmap-width: calc(var(--roadmap-block) / var(--roadmap-columns));
}
.roadmap {
    display: flex;
    flex-direction: row;
    width: var(--roadmap-block);
}

.roadmap-step {
    /* flex: 1; */
    position: relative;
    height: 400px;
    width: var(--roadmap-width);
    /* border: 1px solid red; */
}
.roadmap-text {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(50% - var(--roadmap-width) / 2);
    display: flex;
    flex-direction: row;
    text-align: center;
    width: 100%;
}
.roadmap-text > div {
    width: 100%;
}
.roadmap-step:nth-child(even) .roadmap-text {
    align-items: end;
}
.roadmap-step:nth-child(odd) .roadmap-text {
    align-items: start;
    top: initial;
    bottom: 0;
}
.roadmap-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--roadmap-width) / 2);
    height: calc(var(--roadmap-width) / 2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1C355D;
    color: white;
    border-radius: 100%;
}
.roadmap-slider .roadmap-icon {
    font-size: 1.5vw;
}
.roadmap-icon:before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    border: var(--roadmap-border);
    width: 200%;
    height: 100%;
}
.roadmap-step:nth-child(even) .roadmap-icon:before {
    border-top: 0;
    border-bottom-left-radius: calc(var(--roadmap-width) / 2 + 20px);
    border-bottom-right-radius: calc(var(--roadmap-width) / 2 + 20px);
    transform: translate(-50%, -1%);
    box-sizing: content-box;
}
.roadmap-step:nth-child(odd) .roadmap-icon:before {
    border-bottom: 0;
    border-top-left-radius: calc(var(--roadmap-width) / 2);
    border-top-right-radius: calc(var(--roadmap-width) / 2);
    transform: translate(-50%, -100%);
}
@media screen and (max-width: 1200px)  {
    :root {
        --roadmap-block: 930px;
    }
}
@media screen and (max-width: 992px)  {
    /* verticale */
    :root {
        --roadmap-width: 150px;
    }
    .roadmap-slider {
        --roadmap-width: 150px;
    }
    .roadmap {
        width: initial;
        flex-direction: column;
    }
    .roadmap-step {
        height: var(--roadmap-width);
        width: initial;
    }
    .roadmap-text {
        flex-direction: column;
        justify-content: center;
        width: calc(50% - var(--roadmap-width) / 2);
        height: 100%;
        margin-left: auto;
    }
    .roadmap-text > div > h4 {
        font-size: 18px !important;
    }
    .roadmap-text > div > p {
        font-size: 10px !important;
    }
    .roadmap-step:nth-child(even) .roadmap-text {
        text-align: right;
    }
    .roadmap-step:nth-child(odd) .roadmap-text {
        text-align: left;
        right: 0;
    }
    .roadmap-slider .roadmap-icon {
        font-size: unset;
    }
    .roadmap-icon:before {
        width: 100%;
        height: 200%;		
    }
    .roadmap-step:nth-child(even) .roadmap-icon:before {
        border-top: var(--roadmap-border);
        border-left: 0;
        border-bottom-left-radius: initial;
        border-bottom-right-radius: calc(var(--roadmap-width) / 2 + 20px);
        border-top-right-radius: calc(var(--roadmap-width) / 2 + 20px);
        transform: translate(-1%, -50%);
    }
    .roadmap-step:nth-child(odd) .roadmap-icon:before {
        border-bottom: var(--roadmap-border);
        border-right: 0;
        border-top-right-radius: initial;
        border-top-left-radius: calc(var(--roadmap-width) / 2);
        border-bottom-left-radius: calc(var(--roadmap-width) / 2);
        transform: translate(-100%, -50%);
    }
}