.chevron {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#phases {
    text-align: center;
}

#phases ul {
    list-style: none;
    display: inline-flex;
    width: 100%;
}

#phases ul li {
    display: inline;
    width: 100%;
    animation: FadeIn 1s linear;
    animation-fill-mode: both;
}

#phases ul li a {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    float: left;
    height: 80px;
    /* background: #6069DC; */
    background: #3F2566;
    text-align: center;
    padding: 15px 40px 15px 75px;
    position: relative;
    margin: 0 50px 0 0;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
}

#phases ul li a span.number {
    position: absolute;
    /* padding: 10px; */
    padding: 5px;
    width: 30px;
    height: 30px;
    background-color: #fafafa;
    color: black;
    /* border: 1px solid #F59A00; */
    border-radius: 50px;
    transform: translate(-70%, 0);
}

#phases ul li:first-child a span.number {
    position: absolute;
    /* padding: 10px; */
    padding: 5px;
    width: 30px;
    height: 30px;
    background-color: #fafafa;
    color: black;
    /* border: 1px solid #F59A00; */
    border-radius: 50px;
    transform: translate(-150%, 0);
}

#phases ul li a span.text {
    margin-left: 20px;
}

/* colour of current phase */
#phases ul li.current-phase a {
    background: #e41d24;
}

#phases ul li.current-phase a:after {
    border-left: 40px solid #e41d24 !important;
}

/* set sizing of front pointers */
#phases ul li a:after {
    content: "";
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-left: 40px solid #3F2566;
    position: absolute;
    right: -40px;
    top: 0;
    z-index: 1;
}

/* set sizing of rear pointers */
#phases ul li a:before {
    content: "";
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-left: 40px solid white;
    position: absolute;
    left: 0;
    top: 0;
}

/* set corner radius on first item */
#phases ul li:first-child a {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

/* hide pointer on end of last item */
#phases ul li:first-child a:before {
    display: none;
}

/* set size and corner radius on last item */
#phases ul li:last-child a {
    padding-right: 40px;
    /*   border-top-right-radius: 10px;  */
    /*   border-bottom-right-radius: 10px; */
}

/*hide pointer on last item */
#phases ul li:last-child a:after {
    /*   display: none;  */
}

/* chevron body */
#phases ul li a:hover {
    background: rgba(63, 37, 102, .90);
}

/* chevron pointer */
#phases ul li a:hover:after {
    border-left-color: rgba(63, 37, 102, .90);
}

.phases2-arrow {
    background: rgba(255, 255, 255, .9);
    position: relative;
    top: -65px;
    left: 10px;
    width: 82%;
    line-height: 2.5rem;
    font-size: 1.5rem;
    margin: 0 auto;
    /* border: 1px solid #111; */
    color: #111;
}

.phases2-arrow::after {
    content: '';
    /* width: 0; */
    /* height: 0; */
    position: absolute;
    right: -45px;
    top: -15px;
    border-top: 35px solid transparent;
    border-left: 45px solid rgba(255, 255, 255, 0.9);
    border-bottom: 35px solid transparent;
}

.phases2-arrow {
    animation: showHide 1s ease-out;
    animation-fill-mode: both;
}


.collaborative {
    position: absolute;
    display: flex;
    width: 50px;
    height: 50px;
    background: #167418;
    border-radius: 50%;
    border: 3px solid #4BA751;
    /* transform: translate(156px, -29px); */
    top: -30px;
    right: 60px;
}

.collaborative {
    animation: FadeIn 1s linear;
    animation-fill-mode: both;
}

.collaborative img {
    width: 45px;
    height: 45px;
    padding: 5px;
    filter: brightness(3);
    opacity: 30%;
}

/* .phases1 ul li {
    animation: FadeIn 1s linear;
    animation-fill-mode: both;
} */

#phases li:nth-child(1) { animation-delay: .5s }
#phases li:nth-child(2) { animation-delay: 1s }
#phases li:nth-child(3) { animation-delay: 1.5s }
#phases li:nth-child(4) { animation-delay: 2s }

#phases li:nth-child(1) .collaborative { animation-delay: 2.5s }
#phases li:nth-child(2) .collaborative { animation-delay: 3s }
#phases li:nth-child(3) .collaborative { animation-delay: 3.5s }
#phases li:nth-child(4) .collaborative { animation-delay: 4s }

#phases .phases2-arrow { animation-delay: 3s }

@keyframes FadeIn { 
    0% {
      opacity: 0;
      transform: scale(.1);
    }
  
    85% {
      opacity: 1;
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
}

@keyframes showHide {
    0% {opacity: 0;}
    50% {opacity: 0.5;}
    100% {opacity: 1;}
}