/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #ffffff;
    top: 20px;
    /* Platz oben (20px von oben) */
    bottom: 20px;
    /* Platz unten (20px Abstand nach unten) */
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

/* Oberer Kreis */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    /* Durchmesser des Kreises */
    height: 25px;
    background-color: #ffffff;
    /* Schwarzer Kreis */
    border-radius: 50%;
    /* Rund */
    top: 20px;
    /* Oben, direkt am Rand */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Unterer Kreis */
.timeline-end::after {
    content: '';
    position: absolute;
    width: 25px;
    /* Durchmesser des Kreises */
    height: 25px;
    background-color: #ffffff;
    /* Schwarzer Kreis */
    border-radius: 50%;
    /* Rund */
    bottom: 20px;
    /* Unten, direkt am Rand */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}


/* Timeline-Einträge */
.timeline-container .container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    /* Sicherstellen, dass Box-Sizing korrekt gesetzt ist */
}

/* Linke und rechte Positionierung */
.timeline-container .container.left {
    left: 0;
}

.timeline-container .container.right {
    left: 50%;
}

/* Punkte auf der Timeline */
.timeline-container .container::before {
    content: "";
    position: absolute;
    width: 15px;
    /* Kleinere Punkte */
    height: 15px;
    background-color: #ffffff;
    border: 2px solid #000000;
    top: 50%;
    left: 100%;
    /* Damit der Punkt am rechten Rand des Containers liegt */
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
    /* Punkt bleibt über der Linie */
}

.timeline-container .container.right::before {
    left: 0%;
    /* Punkt auf die linke Seite des Containers */
}

/* Transparenter ovaler Content */
.timeline-container .content {
    background-color: rgba(0, 0, 0, 0.5);
        color: white;
    padding: 20px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 2px;
            overflow: hidden;
    /* Transparenz */
    border-radius: 25px;
    /* Ovaler Effekt */
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border-left: solid 4px #00ffc2;
    /* Über den anderen Elementen */
}

/* Margin für Content */
.timeline-container .container.left .content {
    margin-right: 80px;
}

.timeline-container .container.right .content {
    margin-left: 80px;
}

/* Überschrift und Listen */
.timeline-container h2 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #ffffff;
}

.timeline-container p {
    text-align: justify;
}


.timeline-content-date {
    margin-top: -10px;
}

.timeline-container ul {
    padding-left: 20px;
}

.logo-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, 50px);
    grid-gap: 20px;
    justify-content: start;
}

.logo-container {
    flex: 1 1 150px;
    max-width: 200px;
    text-align: center;
    max-width: 50px;
    max-height: 50px;
    height: auto;
    width: auto;
}

.logo-container img {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
}

/* Standardzustand - unsichtbar */
.container {
    opacity: 0;
    transform: translateY(30px);
    /* Etwas nach unten verschoben, damit es in die Ansicht "hereinfährt" */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    /* Smooth Transition */
}

/* Sichtbarer Zustand, wenn die Container sichtbar werden */
.container.visible {
    opacity: 1;
    transform: translateY(0);
    /* Rückkehr zur ursprünglichen Position */
}
@media (max-width: 480px) {}

@media (max-width: 1200px) {
    .experienceHeader {
        margin-bottom: -1000px !important;
    }

    .timeline-container {
        padding: 0px 0;
    }

    .timeline-container .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Zentriere die Inhalte */
    .timeline-container .container.left,
    .timeline-container .container.right {
        left: 0;
    }

    /* Punkt auf die linke Seite des Containers verschieben */
    .timeline-container .container::before {
        left: -10px;
        /* Punkt links anzeigen */
    }

    .timeline-container .container::before,
    .timeline-container::before,
    .timeline-container::after,
    .timeline-end::after {
        display: none;
        /* Versteckt die vertikale Linie komplett */
    }

    /* Entferne Margin, um Inhalte zentriert darzustellen */
    .timeline-container .container.left .content,
    .timeline-container .container.right .content {
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-container .container {
        margin-top: 0 !important;
        /* Überschreibt das Inline-Style */
    }

    .timeline-container .content {
        border-radius: 0;
    }
}