/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Syne Mono', Arial, sans-serif; /* Use Syne Mono font */
    color: #fff;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Timeline Container */
.timeline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    height: 100%;
    overflow-y: auto; /* Enables scrolling */
}

.timeline-container h1 {
    margin-bottom: 10px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
    font-size: 2.5rem;
    letter-spacing: 2px;
}

/* Subtitle Styling */
.timeline-container .subtitle {
    font-size: 1.2rem;
    color: #00ff00; /* Green color for subtitle */
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

/* Timeline Styling */
.timeline {
    width: 80%;
    max-width: 600px;
}

.entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle divider */
}

.entry .year {
    font-weight: bold;
    color: #04B417; /* Dark green for links */
    font-size: 1.2rem;
}

.entry .link {
    color: #04B417; /* Dark green for links */
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.entry .link:hover {
    color: #bbbbbb; /* Dimmed white on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline {
        width: 90%; /* Slightly narrower on smaller screens */
    }

    .entry {
        flex-direction: column; /* Stack year and link vertically */
        align-items: flex-start;
    }

    .entry .year {
        margin-bottom: 5px;
    }
}
