/*Farbswitch*/

.timeline-item, .green .timeline-item {
    border-color: #B1B57D;
}

.timeline-item .timestamp, .green .timeline-item .timestamp {
    color: #B1B57D;
}

.to-top-btn.tags, #tag-bar .tag, .green .to-top-btn.tags, .green #tag-bar .tag {
    background-color: #EAE7D6;
}

.timeline-item::before, .green .timeline-item::before {
    background-color: #B1B57D;
}

.blue .timeline-item {
    border-color: #3B4A65;
}

.blue .timeline-item .timestamp {
    color: #3B4A65;
}

.blue .to-top-btn.tags, .blue #tag-bar .tag {
    background-color: #CADADE;
}

.blue .timeline-item::before {
    background-color: #3B4A65;
}

.red .timeline-item .timestamp {
    color: #643B4C;
}

.red .to-top-btn.tags, .red #tag-bar .tag {
    background-color: #E7CECE;
}

.red .timeline-item {
    border-color: #643B4C;
}

.red .timeline-item::before {
    background-color: #643B4C;
}

/*Layout*/

.timeline-item {
    gap: 20px;
    max-width: 1440px;
    padding: 30px 0 30px 20px;
    border-width: 0 0 0 4px;
    border-style: solid;
    position: relative;
}

.timeline-item.stage {
    flex-direction: column;
    padding-top: 0;
}

.timeline-item.last {
    padding-bottom: 0;
}

.timeline-item .timestamp {
    width: 100%;
}

.timeline-item.stage .timestamp {
    color: #1a1a1a;
}

.timeline-item p {
    padding-right: calc(100% - 1100px);
}

.timeline-item .content {
    gap: 10px;
}

.timeline-item a {
    margin-top: 50px;
}

.timeline-item a {
    margin-bottom: 0;
    width: 100%;
}

.timeline-item img {
    object-fit: cover;
    object-position: top center;
    background-color: #aaa;
    width: 100%;
    height: 80vw;
    }

.timeline-item::before {
    content: '';
    display: block;
    position: absolute;
    left: -12px;
    top: 50px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.timeline-item.stage::before {
    top: 20px;
}

.to-top-btn.tags {
    bottom: 110px;
    background-image: url('../assets/to-cat.svg');
}

#tag-bar {
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
    justify-content: flex-start;
    padding: 50px 20px;
}

#tag-bar .tag {
    padding: 10px 15px;
    transform: rotate(0);
}


@media only screen and (min-width: 1200px){ 
    .timeline-item {
        border-left-width: 4px;
        flex-wrap: nowrap;
        padding: 50px 0 50px 4vw;
    }

    .timeline-item img {
        min-width: 300px;
        max-width: 40%;
        height: 350px;
        margin: 0 20px 0 -20px;
    }

    #tag-bar {
        padding: 50px 0;
    }

    #tag-bar .tag:hover {
    transform: rotate(-2deg);
    }
}