* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #095551;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content {
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
}

a {
    color: #095551;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

a:hover {
    color: #095551;
    opacity: 0.6;
}

.article-menu a {
    border-bottom: 1px solid rgba(9, 85, 81, 0.2);
    padding-bottom: 2px;
}

.article-menu a:hover {
    border-bottom-color: #095551;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    letter-spacing: -0.04em;
}

h1 {
    font-size: 3.5rem; 
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 100;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: .5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
}

#page-foot {
    margin-top: auto;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 50px;
}

#page-foot p {
    font-size: 0.8rem;
}

.choice {
    list-style-type: none;
    display: flex;
    gap: 1em;
}

.timeline-container {
    position: relative;
}

.timeline-body {

    padding-left: 1.5rem;
    border-left: 2px dashed rgba(9, 85, 81, 0.2); 
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.timeline-item:hover {
    transform: translateX(4px);
}

.timeline-item:last-child {
    margin-bottom: 1.5rem;
}

.timeline-badge {
    position: absolute;
    left: calc(-1.5rem - 6px); 
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #095551;
}

section {
    margin: 1rem 0;
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.timeline-container h3 {
    font-size: 1.5rem;

    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.timeline-text {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: normal;
}

.article-menu {
    padding: 1rem 1rem;
    z-index: 100;
    width: 100%;
}

.article-menu .nav-menu {
    flex-direction: column;
    line-height: 1.7;
    list-style-type: none;
}

.right footer {
    margin-bottom: 1em;
}

.footer {
    padding: 5em;
    background: #f0f0f0;
}

@media (min-width: 768px) {
    .content {
        margin-top: 3rem;
        margin-left: 5rem;
        text-align: left;
        flex: 1 0 auto;
        display: grid;
        grid-template-columns: 200px 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .left, .right {
        display: flex;
    }

    .right {
        flex-direction: column;
        justify-content: center;
        max-width: 80ch;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    p {
        font-size: 1.4rem;
    }

    .timeline-container h3 {
        font-size: 1.7rem;
    }

    .timeline-text {
        font-size: 1.25rem;
    }

    .article-menu .nav-menu {
        position: fixed;
        padding: 0;

    }

}
