/******* blog-start ******/
.timeline {
background-color: #000;
    padding: 0px 0px;
    position: relative;
    overflow: hidden;
}
#particles-js {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* timeline content উপরে থাকবে */
.timeline .container,
.timeline .blog-header,
.timeline .BT-blog {
  position: relative;
  z-index: 2;
}
#particles-js canvas {
  filter: drop-shadow(0px 0px 6px rgba(0, 255, 136, 0.35));
  pointer-events: none;
}

.timeline::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(1deg, rgb(0 0 0 / 86%) 44%, rgb(0, 0, 0) 100%);
}

.timeline .blogBT-btn {
    background-color: #fff;
    color: #000;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    transition: all 2s;
}

.timeline .blogBT-btn:hover {
    background-color: #D1AB36;
    color: #000;
}

.timeline .BT-blog {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.timeline .blog-header {
    margin-bottom: 50px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.timeline .blog-header h2 {
    text-align: center;
    font-weight: bold;
    font-size: 40px;
    text-transform: capitalize;
    color: #fff;
    position: relative;
}
.timeline .blog-header h2 span{
    color: #ebc419;
}
.timeline .blog-header h2::after {
    content: "";
    position: absolute;
    top: calc(50% - -2px);
    transform: translateY(-50%);
    left: calc(50% - -200px);
    margin-left: 12px;
    width: 73px;
    height: 3px;
    background-color: #ffc517;

}
.timeline .blog-header h4 {
    text-align: center;
    text-transform: capitalize;
    padding: 4px 0;
    color: #fff;
}

.timeline .blog-header p {
    text-align: center;
    text-transform: capitalize;
    padding: 4px 0px 20px 0px;
        color: #ffffff;
}

/* Add animated line that draws on scroll */
.timeline::after {
    content: "";
    background: linear-gradient(to bottom, #ebc419, #fccccc);
    width: 5px;
    height: var(--timeline-progress, 0%);
    position: absolute;
    top: 188px;
    left: 50%;
    transform: translateX(-50%);
    transition: height 0.5s ease-out;
    z-index: 1;
    box-shadow: 0 0 10px rgba(235, 196, 25, 0.5);
}


.timeline .timeline-item {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.timeline .timeline-item:nth-child(even) .timeline-content {
    float: right;
    padding: 10px 30px 10px 30px;
    /* overflow: hidden; */
}

.timeline .timeline-item:nth-child(even) .timeline-content .date {
    right: auto;
    left: 0;
    overflow: hidden;
}

.timeline .timeline-item:nth-child(even) .timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #3f3f3f transparent transparent;
    overflow: hidden;
}

.timeline .timeline-item::after {
    content: "";
    display: block;
    clear: both;
}

.timeline .timeline-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 45%;
    padding: 10px 30px;
    border-radius: 4px;
    background: linear-gradient(122deg, rgb(137 137 137 / 76%) 28%, rgba(0, 0, 0, 1) 100%);
    box-shadow: 0 20px 25px -15px rgba(0, 0, 0, 0.3);
    border-bottom: 5px solid rgb(240, 205, 11);
    box-shadow: rgba(255, 208, 0, 0.685) 0px 5px 15px;
}

.timeline .timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #3b3c3d;
}

.timeline .timeline-img {
    width: 30px;
    height: 30px;
    background: #ebc419;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    z-index: 2;
    margin-top: 25px;
    margin-left: -15px;
}

.timeline .timecontent-img {
    margin: auto;
}

.timeline .timecontent-img img {
width: 146px;
    min-height: 160px;
}

.timeline .time-content h2 {
    font-size: 20px;
    font-weight: bold;
    color: #fddb7f;
text-align:right;
}

.timeline .time-content small {
    float: right;
    padding-top: 10px;
    color: #ffffff;
    font-weight: 700;
}

.timeline .timeline-card {
    padding: 0 !important;
}

.timeline .timeline-card p {
    padding: 0 20px;
}

.timeline .timeline-card a {
    margin-left: 20px;
}

.timeline .timeline-item .timeline-img-header {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4)), url("https://picsum.photos/1000/800/?random") center center no-repeat;
    background-size: cover;
}

.timeline .timeline-img-header {
    height: 200px;
    position: relative;
    margin-bottom: 20px;
}

.timeline .timeline-img-header h2 {
    color: #ffffff;
    position: absolute;
    bottom: 5px;
    left: 20px;
}

.timeline blockquote {
    margin-top: 30px;
    color: #757575;
    border-left-color: #000000;
    padding: 0 20px;
}

.timeline .date {
    background: #ff4081;
    display: inline-block;
    color: #ffffff;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

@media screen and (max-width: 990px) {
    .timeline .timeline-content {
        flex-direction: column;
    }

    .timeline .blog-header h2 {
        color: #c98700;
    }

    .timeline .blog-header p {
        color: #fff;
        background-color: #000;
        padding: 10px;
        border-radius: 10px;
    }

    .timeline .blog-header h4 {
        padding: 5px;

    }

.timeline .timeline-content {
    padding: 10px;
}
    .timeline .timeline-item:nth-child(even) .timeline-content {
    float: right;
    padding: 10px 10px 10px 10px;
    /* overflow: hidden; */
}
.timeline .timecontent-img img {
    width: 100%;
    min-height: 160px;
    margin-bottom: 10px;
}
}


.time-content
{
width:400px;
}

/* Mobile responsive */
@media screen and (max-width: 990px){
.time-content
{
width:auto;
}
}
@media screen and (max-width: 768px) {
    .timeline {
        padding: 0px 0px 50px 0px;
    }

    .timeline::after {
        left: 50px;
        top: 300px;
    }
}

@media screen and (max-width: 768px) {
    .timeline::before {
        content: "";
        background: #959bc5;
        width: 5px;
        height: 74%;
        position: absolute;
        top: 300px;
        transform: translateX(-50%);
    }

    .timeline .timeline-content {
        padding-left: 5px;
    }

    .timeline .time-content h2 {
        font-size: 15px;
    }

    .timeline .time-content small {
        font-size: 11px;
    }

    .timeline {

        &::before {
            left: 50px;
        }

        .timeline-img {
            left: 50px;
        }

        .timeline-content {
            max-width: 100%;
            width: auto;
            margin-left: 70px;
        }

        .timeline-item {

            &:nth-child(even) {

                .timeline-content {
                    float: none;

                }
            }

            &:nth-child(odd) {

                .timeline-content {

                    &::after {
                        content: '';
                        position: absolute;
                        border-style: solid;
                        width: 0;
                        height: 0;
                        top: 30px;
                        left: -15px;
                        border-width: 10px 15px 10px 0;
                        border-color: transparent #959bc5 transparent transparent;
                    }
                }

            }
        }
    }

}


/******* blog end ******/