
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
    background: url('../img/kharnakmap.png') no-repeat center center;
    background-size: cover;
    z-index: -10;
}
@media screen and (max-width: 700px) {
    .Timeline {
        background-position: top center;
    }
}
.ConTaiNer {
    padding: 12px 50px;
    position: relative;

    /* display: inline-block; */

    width: 50%;
    animation: movedown 1s linear forwards; 
    opacity: 0;
    
}
@keyframes movedown {
    0% {
        opacity: 1;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
.ConTaiNer:nth-child(1) {
    animation-delay: 0.5s;
}  
.ConTaiNer:nth-child(2) {
    animation-delay: 2.5s;
}       
.ConTaiNer:nth-child(3) {
    animation-delay: 3.5s;
}
.ConTaiNer:nth-child(4) {
    animation-delay: 4.5s;
}
.ConTaiNer:nth-child(5) {
    animation-delay: 5.5s;
}
.ConTaiNer:nth-child(6) {
    animation-delay: 6.5s;
}

.Text-Box {
    padding: 20px 30px;
    background: white;
    position: relative;
    border-radius: 6px;
    font-size: 15px;
    border: 1px solid rgb(30, 25, 100);
    font-family: 'poppins', sans-serif;
    /* z-index: -9920; */
}

.left-container {
    left: 0;
}
.right-container {
    left: 50%;
}
.ConTaiNer .timeline-img {
    position: absolute;
    width: 40px;
    border-radius: 50% ;
    border: 1px solid rgb(30, 25, 100);
    right: -20px;
    top: 32px;
    z-index: 10;
}
.right-container .timeline-img {
    left: -20px;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: rgb(30, 25, 100);
    /* background-color: pink;/ */
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -10;
    animation: moveline 8.1s linear forwards;
}
@keyframes moveline {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}
.Text-Box h2 {
    font-weight: 600;
}
.Text-Box small {
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 600;
}
.left-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid rgb(30, 25, 100);
    right: -15px;
    
}
.right-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid rgb(30, 25, 100);
    left: -15px;
}

@media (min-width: 700px) and (max-width: 1000px) {
    .Timeline .title h1 {
        font-size: 35px; /* Adjust font size for screens between 700px and 1000px */
        margin: 0% 3%; /* Adjust margin if needed */
    }
}

@media screen and (max-width: 700px) {
   .timeline {
       margin: 50px auto;
   }
   .timeline::after{
    left: 31px;
   }
   .ConTaiNer{
         width: 100%;
         padding-left: 80px;
         padding-right: 25px;
   }
   .Text-Box{
        font-size: 13px;
   }
   .Text-Box small {
        margin-bottom: 11px;
   }
   .right-container {
        left: 0;
   }
   .left-container .timeline-img, .right-container .timeline-img{
        left: 10px;
   }
   .left-container-arrow , .right-container-arrow {
    border-right : 15px solid rgb(30, 25, 100);
    border-left : 0;
    left: -14px;
    z-index: -2;
   }
   .ConTaiNer {
    /* margin-left: -20px; */
   }
   .Timeline .title h1  {
        margin: 0% 3%; 
        }
    .Timeline .title h3 {
         margin: 0% 5%; 
        padding: 0px 20px;
    }
   .timeline::after {
       
        margin-left: -3px;        
    }
    .Text-Box p {
        color : rgb(82, 82, 82);        
    }
}




















