body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    font-size: 14px; /* Overall font size reduced */
}

header {
    background-color: #ffffff;
    border-bottom: 1px solid #ccc;
    padding: 20px;
    padding-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    flex-direction: row; /* Ensure horizontal alignment */
    align-items: flex-start;
    white-space: nowrap; 
    align-items: flex-start;
}

.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li { 
    margin: 0px;
    margin-right: 40px;
}

.menu a {
    color: #000;
    text-decoration: none;
    font-size: 11px; 
    font-weight: bold;
}

.menu a:hover {
    text-decoration: underline;
}

.timeline {
    display: flex;
    flex-wrap: nowrap;
    margin-top: 20px;
    list-style: none;
    padding: 0;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping */
    justify-content: flex-start; /* Align to the left like menu */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #ccc #fefefe; /* For Firefox */
}


.timeline li { 
    margin: 0px;
    margin-right: 40px;
    font-size: 9px; 
}

.timeline a {
    color: #000;
    text-decoration: none;
}

.timeline a span {
    font-size: 10px; /* Year font size remains normal */
}

.timeline a:hover {
    text-decoration: underline;
}

.link-nav {
    flex-direction: row; /* Ensure horizontal alignment */
    align-items: flex-start;
    white-space: nowrap; 
    align-items: flex-start;
}

.link a {
    color: #000;
    text-decoration: none;
    font-size: 11px; 
    font-weight: bold;
}

.link a:hover {
    text-decoration: underline;
}

.section {
    padding: 15px 15px;
    border-bottom: 1px solid #ccc;
    font-size: 11px; /* Section font size reduced */
}

.section h1 {
    font-size: 11px; /* Header font size remains the same */
}

.content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.image {
    width: 400px;
    height: auto;
    margin-right: 20px;
}

.video {
    width: 400px;
    height: auto;
    margin-right: 20px;
}

.description {
    font-size: 11px; /* Description font size reduced */
    line-height: 1.9;
}

.description p {
    margin: 5px 0;
}

footer {
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding: 10px 0;
    font-size: 12px; /* Footer font size reduced */
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px;
        overflow-x: auto; /* Ensure scrolling works for small screens */
    }

    .main-nav {
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: flex-start; /* Align menu to the left */
    }

    .menu {
        flex-wrap: nowrap; /* Prevent wrapping */
    }

    .timeline {
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: flex-start; /* Align to the left */
    }

    .content {
        flex-direction: column;
        align-items: center;
    }

    .image {
        width: 100%;
        margin-right: 0;
    }

    .video {
        width: 100%;
        margin-right: 0;
    }

    .description {
        text-align: center;
        font-size: 10px;
    }
}

@media screen and (max-width: 480px) {
    header {
        overflow-x: auto; /* Ensure scrolling for extra small screens */
    }

    .menu a {
        font-size: 9px;
    }

    .section h1 {
        font-size: 10px;
    }

    .description {
        font-size: 8px;
    }

    footer {
        font-size: 10px;
    }
}
