.timelinefuji {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timelinefuji::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: #dcdcdc;
    top: 0;
    bottom: 0;
    left: 50%;
}

.containerfuji {
    padding: 50px 0px 105px 0px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.containerfuji::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #01916D;
    top: 17%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1) !important;
    border-radius: 50%;
    z-index: 1;
}

.containerfuji.leftfuji .imagefuji,
.containerfuji.rightfuji .imagefuji {
    width: 45%;
}

.containerfuji.leftfuji .textfuji,
.containerfuji.rightfuji .textfuji {
    width: 45%;
    border-radius: 6px;
    color: #000;
	font-weight: 300;
}

.containerfuji.leftfuji {
    flex-direction: row;
}

.containerfuji.rightfuji {
    flex-direction: row-reverse;
}

.imagefuji img {
    width: 100%;
    border-radius: 1rem !important;
}

h2 {
    margin-top: 0;
    color: #333;
}

p {
    margin: 0;
}

/*Animation css*/
@keyframes pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.containerfuji::after {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.containerfuji.dot-visible::after {
    animation: pop 0.5s ease forwards;
}

/*End Animation css*/

@media screen and (max-width: 768px) {
    .timelinefuji::after {
        left: 12px;
    }
	.containerfuji::after{
		top: 7%;
	}
	.maintimeline-cls {
      padding-top: 2rem;
    }
    .containerfuji {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 40px;
        padding-right: 20px;
		padding-bottom: 0px;
		padding-top: 0px;
		margin-bottom: 3rem;
    }
    .containerfuji.leftfuji,
    .containerfuji.rightfuji {
        flex-direction: column;
    }

    .containerfuji.leftfuji .imagefuji,
    .containerfuji.rightfuji .imagefuji,
    .containerfuji.leftfuji .textfuji,
    .containerfuji.rightfuji .textfuji {
        width: 100%;
    }

    .containerfuji::after {
        left: 0px;
        transform: translateY(-50%) !important;
    }
	.textfuji {
        order: 1;
    }
	.textfuji h2 {
       font-size: calc(1.325rem + .9vw);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
   .textfuji h2 {
       font-size: calc(1.325rem + .9vw);
    }
}