﻿.project-img-card {
    max-height: 250px;
    margin-bottom: 15px;
    margin-top: 15px;
    overflow: hidden;
}

.card:hover .card-hover-body {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    background: #00000060;
}

.card:hover .volunteer-info, .card .volunteer-work {
    display: none;
}

.card:hover .volunteer-work {
    display: block;
}

.card-story .card-story-title {
    display: flex;
    align-items: flex-end;
    color: var(--white);
}

.card-story:hover .card-story-title {
    display: none;
}

.card.project-gallery-card {
    margin: 1.5rem;
    max-width: 430px;
    transition: all ease-in .4s;
}

    .card.project-gallery-card:hover {
        border: 1px solid var(--primary);
    }
/*Animated Timeline*/
.timeline {
    position: relative;
    padding-left: 50px;
    max-width: 600px;
    margin: auto;
}

    .timeline::before {
        content: "";
        position: absolute;
        top: 0;
        left: 30px;
        width: 1px;
        height: calc(100% - 100px);
        background: var(--secondary-light);
    }

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background: var(--primary);
    animation: growProgress linear;
    animation-timeline: view(block 20% 0%);
    animation-range: entry 0% cover 100%;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

    .timeline-item .timeline-number-dot {
        position: absolute;
        top: 0;
        left: -36px;
        width: 34px;
        height: 34px;
        background: var(--primary-lighter);
        color: var(--primary);
        border: 2px solid var(--white);
        border-radius: 50%;
        z-index: 2;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.timeline-content {
}

@keyframes growProgress {
    from {
        height: 0%;
    }

    to {
        height: 100%;
    }
}
