.JourneyContainer {
    background: linear-gradient(94deg, #B872FF -1.51%, #7900F4 85.11%);
    backdrop-filter: blur(22px);
    padding: 16px 4%;
    border-radius: 2em;
    max-width: 850px;
    width: 100%;
    margin: auto;
    overflow: hidden;
    margin-bottom: 100px;
}

.JourneyBox-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    column-gap: 70px;
    position: relative;
    left: -100%;
    animation: JourneySlideIn 1s forwards;
}

@keyframes JourneySlideIn {
    to {
        left: 0;
    }
}

.JourneyBox {
    border-radius: 5px;
    text-align: center;
    padding: 5px 0px;
    opacity: 0;
    animation: JourneyFadeIn 0.5s forwards;
}

@keyframes JourneyFadeIn {
    to {
        opacity: 1;
    }
}

/* Delay each box by a certain duration */
.JourneyBox:nth-child(1) {
    animation-delay: 1s;
}

.JourneyBox:nth-child(2) {
    animation-delay: 2s;
}

.JourneyBox:nth-child(3) {
    animation-delay: 3s;
}

.JourneyBox:nth-child(4) {
    animation-delay: 4s;
}

.JourneyImg {
    height: 43px;
    margin-bottom: -18px;
}

.JourneyH3 {
    color: #fff;
    font-size: 15px;
    padding: 0px 0;
    margin-bottom: 0px;
}

.JourneyP {
    color: white;
    font-size: 11px;
    line-height: 1.5;
}

.JourneyBtn {
    display: inline-block;
    background: white;
    color: black;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    padding: 0px 6px 0px 6px;
}

.JourneyHeading {
    color: #FFF;
    margin: auto;
    text-align: center;
    font-size: 36px;
    line-height: 43.2px;
    margin-top: 20px;
}

.JourneySubHeading {
    color: #DCE0D9;
    ;
    margin: auto;
    margin-bottom: 2%;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
}

@media only screen and (max-width: 768px) {


    .JourneyHeading {
        font-size: 26px;
        line-height: normal;
        margin-bottom: 20px;
    }

    .JourneySubHeading {
        margin-bottom: 20px;
    }

    .journey-animation-container {
        margin: 10px
    }

    .JourneyContainer {
        /* padding: 20px; */
        width: 100%;
        overflow: hidden;
        max-width: fit-content;

    }

    .JourneyBox-container {
        display: flex;
        overflow-x: hidden;
        column-gap: 20px;
        scroll-snap-type: x mandatory;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .JourneyBox {
        width: 125px;
        flex-shrink: 0;
    }
}