/* Pipeline Left */

.pipeline {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 50px 0;
}

.pipeline hr {
    background-color: #000000;
    border: 2px solid black;
    margin: -50px 30px;
}

.pipeline .pipeline-cards {
    display: flex;
    flex-direction: column;
    gap: 300px;
    /* margin-top: 100px; */
}

.pipeline .pipeline-cards .pipeline-card {
    display: flex;
    flex-direction: row-reverse;
    border-radius: 6px;
    position: relative;
    width: 250px;
    height: 250px;
    padding: 35px;
    background-color: white;
    box-shadow: 3px 3px 4px 3px rgba(119, 86, 2, 0.25);
    border-radius: 50%;
}

/* .pipeline .pipeline-cards .pipeline-card::after {
    content: '';
    width: 100%;
    height: 3px;
    background: linear-gradient(150.27deg, #BA6400 25%, #e29031 50%, #613601 75%);
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
} */

@keyframes movemason {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

@keyframes fademade {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 0.25;
    }

    50% {
        opacity: 0.5;
    }

    75% {
        opacity: 0.75;
    }

    100% {
        opacity: 1;
    }
}

.pipeline .pipeline-cards .pipeline-card i {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 58px;
    height: 58px;
    font-size: 32px;
    border-radius: 50%;
    background-color: rgba(189, 200, 255, 0.863);
    color: rgb(0, 0, 0);
    right: -24px;
    top: 0;
}

.pipeline .pipeline-cards .pipeline-card i::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: black;
    position: absolute;
    right: -6px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pipeline .pipeline-cards .pipeline-card .pipeline-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.pipeline .pipeline-cards .pipeline-card .pipeline-meta svg {

    width: 120px;
    height: 120px;
    fill: rgb(118, 190, 85);

}

.pipeline .pipeline-cards .pipeline-card .pipeline-meta h4 {
    font-size: 1rem;
    font-style: normal;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: rgb(0, 0, 0);
}

.pipeline .pipeline-cards .pipeline-card.right {
    display: flex;

}

#pipeline-card-right {

    margin-top: 250px;
}

.pipeline .pipeline-cards .pipeline-card.right i {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 58px;
    height: 58px;
    font-size: 32px;
    border-radius: 50%;
    background-color: rgba(189, 200, 255, 0.863);
    color: rgb(0, 0, 0);
    left: -24px;
    top: 0;
}

/* .bx {
    animation: turnaround 2s infinite;

}

@keyframes turnaround {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(359deg);
    }


} */

.pipeline .pipeline-cards .pipeline-card.right i::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: black;
    position: absolute;
    left: -6px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}


@media screen and (max-width: 990px) {
    .pipeline {
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 50px auto;
        gap: 80px;
    }

    .pipeline hr {
        display: none;
    }

    .pipeline .pipeline-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        gap: 80px;
    }

    .pipeline .pipeline-cards .pipeline-card {
        width: 70%;
        height: 200px;
        padding: 45px;
    }

    #pipeline-card-right {

        margin-top: 0;
    }

    .pipeline .pipeline-cards .pipeline-card i {
        right: calc(50% - 16px);
        top: -26px;
    }

    .pipeline .pipeline-cards .pipeline-card i::after {
        display: none;
    }

    .pipeline .pipeline-cards .pipeline-card .pipeline-meta h4 {
        font-size: 1.4rem;
    }

    .pipeline .pipeline-cards .pipeline-card .pipeline-meta p {
        margin-top: 20px;
    }

    .pipeline .pipeline-cards .pipeline-card.right i {
        left: calc(50% - 16px);
        top: -26px;
    }
}

@media screen and (max-width: 550px) {
    .pipeline {
        margin: 50px auto;
        gap: 40px;
    }

    .pipeline .pipeline-cards {
        gap: 40px;
    }

    .pipeline .pipeline-cards .pipeline-card {
        width: 90%;
        height: 150px;
        padding: 35px;
    }

    .pipeline .pipeline-cards .pipeline-card .pipeline-meta h4 {
        font-size: 1.1rem;
    }

    .pipeline .pipeline-cards .pipeline-card .pipeline-meta p {
        margin-top: 6px;
    }

    .pipeline .pipeline-cards .pipeline-card.right i {
        left: calc(50% - 24px);
        top: -26px;
    }

    .pipeline .pipeline-cards .pipeline-card i {
        right: calc(50% - 30px);
        top: -26px;
    }
}



.backpipe {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
}

.backpipe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.634);
}

.backpipe img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.backpipe .meta-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 20px;
}

.backpipe .meta-info h3 {
    font-size: 2rem;
    color: rgb(255, 255, 255);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.backpipe .meta-info span {
    font-weight: 400;
    font-size: 1rem;
    color: rgb(255, 255, 255);
    font-family: "Poppins", sans-serif;
    font-style: italic;

}

.backpipe .meta-info a {
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
}

.backpipe .meta-info a:hover {
    background-color: rgba(255, 255, 255, 0.204);
}

.backpipe .arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 100px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.backpipe .arrows i {
    width: 50px;
    height: 50px;
    font-size: 50px;
    color: white;
    animation: movement 2s linear infinite;
    position: absolute;
    top: 0;
    left: 1;
    transform: translate(-50%, 0);
    opacity: 0;
}

@keyframes movement {
    0% {
        top: 0;
        opacity: 0;
    }

    25% {
        top: 30px;
        opacity: 0.5;
    }

    50% {
        top: 40px;
        opacity: 0.8;
    }

    100% {
        top: 50px;
        opacity: 1;
    }
}

@media screen and (max-width: 700px) {
    .backpipe {
        font-size: 75%;
    }

    .backpipe img {
        height: 100vh;
        object-fit: cover;
    }

    .backpipe .meta-info h3 {
        font-size: 1.5rem;
    }

    .backpipe .meta-info span {
        font-size: 0.875rem;
    }

    .backpipe .meta-info a {
        margin-top: 8px;
    }

}