img, .activists{
 width:80%;   
 margin:50px;
 align-items: center

}

    .activists {
        text-align: center;
    }
    .activists img {
        display: block;
        margin: 0 auto;
    }


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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f1eb; /* light neutral beige */
    color: #333; /* dark grey */
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Arial', sans-serif;
    color: #5d4037; /* brown color */
}

/* Navigation bar */
.topnav {
    background-color: #a1887f; /* muted brown */
    overflow: hidden;
}

.topnav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

.topnav a:hover {
    background-color: #d7c2b0; /* light peachy beige */
    color: black;
}

.topnav a.active {
    background-color: #5d4037; /* brown */
    color: white;
}

/* Container for sections */
.container {
    width: 80%;
    margin: 0 auto;
}

/* Section styling */
section {
    padding: 40px 0;
    background-color: #ffffff; /* white background for content */
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Home Section */
#home {
    background-color: #f8f0e3; /* light beige background for home */
}

.intro {
    font-size: 18px;
    color: #5d4037; /* brown text */
}

/* Timeline Section */
.timeline {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.timeline-item {
    background-color: #f9f5f1; /* light peachy color */
    padding: 20px;
    margin-bottom: 10px;
    border-left: 4px solid #a1887f; /* brown border */
    border-radius: 5px;
}

.timeline-item img {
    max-width: 100%;
    border-radius: 5px;
}

.timeline-item h3 {
    color: #5d4037; /* brown */
    font-size: 24px;
}

.timeline-item p {
    color: #616161; /* dark grey text */
    font-size: 16px;
}

figcaption {
    color: #8d6e63; /* muted brown for the image caption */
    font-size: 14px;
}

input[type="range"] {
    width: 100%;
    background: #d7c2b0; /* peach background */
    border: none;
    height: 8px;
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    background-color: #5d4037; /* brown thumb */
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

/* Sources Section */
#sources p {
    font-size: 16px;
    color: #616161; /* dark grey text */
}

#sources a {
    color: #5d4037; /* brown links */
    text-decoration: none;
}

#sources a:hover {
    color: #a1887f; /* light brown on hover */
}

/* Ensure mobile responsiveness */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
    }

    .topnav a {
        padding: 10px;
        font-size: 16px;
    }
}