body {
    background-color: #4f4f69;
    font-family: Arial, sans-serif;
    overflow: auto;
}


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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #21212c;
    height: 100px;
    color: #fff;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    z-index: 1000; /* Ensures it's above everything */
}

.logo{
    text-transform: uppercase;
}

.menu{
    display: flex;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 0px 10px;
    transition: 0.5s;
    display: inline-block;
}

.menu a:hover {
    color: #a8a8bd;
    transition: 0.3s;
}

/* Timeline */

/* Styling for the timeline container */
.timeline-container {
    width: 95%;
    left: 50%;
    transform: translateX(-50%); /* Centers it */
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    margin-top: 120px; /* Adjust space below the header */
    z-index: 999;
}

/* Styling for each timeline point */
.timeline-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Dots in the timeline */
.timeline-point a {
    width: 20px;
    height: 20px;
    /* background-color: #9682f3;*/
    background-color: #f9e583;
    border-radius: 50%;
    margin-bottom: 10px;
    display: block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.timeline-point a:hover {
    /*background-color: #d986ff;*/
    background-color: #ffb867;
}

/* Connecting line between points */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 1.5%;
    right: 2%;
    height: 4px;
    /*background-color: #9682f3;*/
    background-color: #f9e583;
    z-index: -1;
}

/* Label styling */
.timeline-label {
    font-size: 14px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-top: 0px;
}


/* Sections below the timeline */
section {
    min-height: 100vh; /* Each section takes the full viewport height */
    display: flex;
    align-items:center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: sticky;
    top: 100px; /* Stays below the timeline */
    z-index: 1;
    opacity: 0; /* Default opacity is 0 */
    transition: opacity 0.5s ease-in-out, visibility 0s 0.5s; /* Smooth transition */
}

section .container {
    position: relative;
    background-color: #21212ca6; /* Black with 60% opacity */
    padding: 20px;
    border-radius: 10px; /* Optional: rounded corners */
    z-index: 2;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    z-index: 0; /* Ensure it stays behind the text */
}

h2 {
    text-align: center; /* Ensures the text inside the h2 is also centered */
    color: #fff; /* Optional styling */
}



/* When the section is active, it becomes fully visible */
section.active {
    opacity: 1;
    visibility: visible; /* Make section visible when active */
}

.content p {
    font-size: 18px; /* Adjust the font size as needed */
}


html {
    scroll-behavior: smooth;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

/* Styling the button */
.more-button {
    display: inline-block;
    background-color: #9270e9; /* Blue color */
    color: rgb(29, 1, 50);
    padding: 12px 24px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease;
}

/* Hover effect */
.more-button:hover {
    background-color: #500f95; /* Darker blue */
}

.scroll-down-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}