* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    text-decoration: none;
    font-family: "noto-sans-display", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    color: var(--main-text-color);
    background-color: var(--bg);
    font-family: "noto-sans-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 100%;
    max-width: 100%;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    position: fixed;
}

.timeline {
    margin: 5em auto;
    max-width: 34.15em;
}

.timeline .flex {
    display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
    width: 100%;
    margin-bottom: 50px;
    margin-top: 150px;
}

.timeline .flex h3 {
    color: var(--main-text-color);
	font-weight: bold;
	text-transform: uppercase;
	font-size: 200%;
}

.timeline .flex .line {
	width: 50px;
	height: 3px;
	background: var(--gold);
	border-radius: 100px;
	margin: 20px;
}


.timeline .checkpoint {
    max-width: 34em;
    padding-top: 2em;
    padding-bottom: 2em;
    position: relative;
}

.timeline .checkpoint .content {
    display: flex;
    border: 2px solid var(--main-text-color);
    border-radius: 1em;
    padding: 1.5em;
}

.timeline .checkpoint:nth-child(odd) {
    border-left: 3px solid var(--main-text-color);
    padding-left: 3em;
    transform: translateX(17em);
}

.timeline .checkpoint:nth-child(even) {
    border-right: 3px solid var(--main-text-color);
    padding-right: 3em;
    transform: translateX(-17em);
}

.timeline .checkpoint:nth-child(odd)::before,
.timeline .checkpoint:nth-child(even)::before {
    content: '';
    background-color: white;
    width: 3em;
    height: 3px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.timeline .checkpoint:nth-child(odd)::before {
    left: 0;
}

.timeline .checkpoint:nth-child(even)::before {
    right: 0;
}

.timeline .checkpoint:nth-child(odd) .content::before,
.timeline .checkpoint:nth-child(even) .content::before {
    content: '';
    background-color: var(--gold);
    box-shadow: 0 0 0.5em #fcf80d;
    width: 0.8em;
    height: 0.8em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.timeline .checkpoint:nth-child(odd) .content::before {
    left: -0.5em;
}

.timeline .checkpoint:nth-child(even) .content::before {
    right: -0.5em;
}

.timeline .checkpoint .content h4 {
    margin-bottom: 0.5em;
    font-size: 130%;
    font-weight: bold;
}

.timeline .checkpoint .content p {
    line-height: 27px;
    color: var(--main-text-color);
}

@media screen and (max-width: 1150px) {
    .timeline {
        width: 80vw;
    }
    .timeline .checkpoint {
        width: 100%;
        transform: none;
        padding-left: 0;
        padding-right: 0;
        border: none;
    }
    .timeline .checkpoint .content {
        flex-direction: column;
        align-items: center;
    }

    .timeline .checkpoint:nth-child(odd),
    .timeline .checkpoint:nth-child(even) {
        border: none;
        padding-left: 0;
        padding-right: 0;
        transform: none;
    }
    .timeline .checkpoint:nth-child(odd)::before,
    .timeline .checkpoint:nth-child(even)::before {
        width: 3px;
        height: 4em;
        top: -2em;
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline .checkpoint:nth-child(odd) .content::before,
    .timeline .checkpoint:nth-child(even) .content::before {
        top: -0.5em;
        left: 50%;
        transform: translateX(-50%);
    }

}



/* Scroll animation left to right*/
  
.revealzwei{
    position: relative;
    opacity: 0;
    transition: 2s all ease;
}
  
.revealzwei.activezwei{
    opacity: 1;
}