

.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    margin-top: 10rem;
    text-align: center;
    margin-bottom: 60px;
}

.container>header>h1 {
    font-size: 5rem;
    font-weight: 300;
    color: #292b2c;
    /* margin-bottom: 10px; */
}

.container>header>h2 {
    font-size: 4rem;
    font-weight: 300;
    /* font-style: italic; */
    color: #6c6c6c;
    /* margin-bottom: 20px; */
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: #333;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #292b2c;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 25px;
    background: rgba(30, 30, 30, 0.9);
    border-radius: 8px;
    position: relative;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-content:hover {
    transform: translateX(-10px);
}

.timeline-item:nth-child(even) .timeline-content:hover {
    transform: translateX(10px);
}

.timeline-content h3 {
    color: #e1f9e1;
    font-size: 24px;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #6c6c6c;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    margin-bottom: 15px;
}

.timeline-content ul li {
    color: #e1f9e1;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    opacity: 80%;
}

.timeline-content ul li::before {
    content: '•';
    color: #6c6c6c;
    position: absolute;
    left: 0;
}
.timeline-content:hover{
    background-color: #e1f9e1;
    color: #000000;
    border: 1px solid #292b2c;
    
    h3{
        color: #000000;
        opacity: 80%;
    }
    li{
        color: #292b2c;
    }
}
.duration {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #6c6c6c;
    color: #e1f9e1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }

    .timeline-content:hover {
        transform: translateX(10px) !important;
    }
}