@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;700&family=JetBrains+Mono:wght@400;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    font-size: 16px;
    position: relative;
}


/* Header */
header {
    padding: 40px 0 20px 40px;
    text-align: left;
    margin-bottom: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.logo a {
    color: #333333;
    text-decoration: none;
}

/* Timeline layout */
.timeline {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-bottom: 80px;
}

/* Timeline items */
.timeline-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5px;
}

.title-row {
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin-bottom: 5px;
    padding-left: 40px;
}

.date {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #666666;
    min-width: 80px;
    flex-shrink: 0;
    text-align: left;
}

.title {
    font-size: 18px;
    font-weight: 500;
    font-family: inherit;
    color: #333333;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s ease, color 0.2s ease;
}

.title:hover {
    border-bottom-color: #666666;
    color: #000000;
}

.media-content {
    display: flex;
    flex-direction: column;
    margin-left: 40px;
}

/* Width variations */
.timeline-item.full-width .media-content {
    width: 60%;
    max-width: 600px;
}

.timeline-item.half-width .media-content {
    width: 40%;
    max-width: 400px;
}

.timeline-item.two-third .media-content {
    width: 50%;
    max-width: 500px;
}

/* Images */
.image-container {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.02);
}

/* Videos */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    margin-bottom: 15px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Footer */
footer {
    position: relative;
}

.copyright {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #999999;
    z-index: 1000;
}

.bottom-logo {
    position: fixed;
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.bottom-logo img {
    width: 480px;
    height: 480px;
    opacity: 0.5;
}

/* Responsive design */
@media (max-width: 768px) {
    .timeline-item {
        margin-bottom: 40px;
    }

    .title-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
        align-items: flex-start;
        padding-left: 20px;
    }

    .date {
        min-width: auto;
    }

    .timeline-item.full-width .media-content,
    .timeline-item.half-width .media-content,
    .timeline-item.two-third .media-content {
        width: 100%;
    }

    .media-content {
        margin-left: 20px !important;
        margin-right: 20px !important;
        width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    .video-container {
        position: relative;
        width: 100% !important;
        max-width: 100% !important;
        padding-bottom: 56.25%;
        margin-bottom: 20px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        border: none;
    }

    header {
        padding: 15px 0 15px 20px;
        margin-bottom: 30px;
    }

    .logo {
        font-size: 20px;
    }

    .bottom-logo {
        right: 5%;
        top: auto;
        bottom: 80px;
        transform: none;
    }

    .bottom-logo img {
        width: 120px;
        height: 120px;
    }

}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .timeline-item {
        margin-bottom: 30px;
    }

    .title-row {
        gap: 8px;
        margin-bottom: 12px;
        padding-left: 15px;
    }

    .date {
        font-size: 11px;
    }

    .title {
        font-size: 13px;
    }
}

/* Hover effects */
.timeline-item {
    cursor: pointer;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #cccccc;
}

::-webkit-scrollbar-thumb:hover {
    background: #999999;
}