/* General Styling */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-image: linear-gradient(to right bottom, #cc3e3e, #ae284e, #881f55, #5e1d53, #341a47, #341a47, #341a47, #341a47, #5e1d53, #881f55, #ae284e, #cc3e3e);
    color: #f5f5f5;
    overflow-x: hidden;
    transition: background 1s ease-in-out; /* Smooth transition for background change */
}

header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-family: 'Press Start 2P', cursive;
    color: #f5f5f5;
    font-size: 3rem; /* Adjust size as needed */
    position: absolute;
    top: 20px; /* Adjust top position as needed */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

#main-logo {
    width: 150px;
    border-radius: 50%; /* Make logo circular */
    -webkit-box-shadow: 0px 0px 134px 26px rgba(201, 0, 0, 0.78);
    -moz-box-shadow: 0px 0px 134px 26px rgba(201, 0, 0, 0.78);
    box-shadow: 0px 0px 134px 26px rgba(201, 0, 0, 0.78);
    border: 5px solid #c90000;
}

.scroll-indicator {
    margin-top: 20px;
    text-align: center;
    animation: bounce 2s infinite; /* Added bounce animation */
}

.scroll-indicator img {
    width: 20px;
    animation: bounce 2s infinite; /* Bounce animation for the scroll icon */
}

/* Timeline Styling */
.timeline {
    margin: 2rem auto;
    max-width: 1200px;
}

.milestone {
    position: relative;
    display: flex;
    align-items: center;
    margin: 5rem 0;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease-in-out;
}

.milestone.visible {
    opacity: 1;
    transform: translateY(0);
}

.milestone:nth-child(odd) .milestone-text {
    order: 1;
    text-align: left;
    flex: 1;
}

.milestone:nth-child(odd) .milestone-image {
    order: 2;
    flex: 1;
}

.milestone:nth-child(even) .milestone-text {
    order: 2;
    text-align: right;
    flex: 1;
}

.milestone:nth-child(even) .milestone-image {
    order: 1;
    flex: 1;
}

.milestone-text {
    font-size: 1.2rem;
    color: #f5f5f5;
}

.milestone-image img {
    width: 80%;
    border-radius: 10px; /* Optional: rounded corners for images */
}

/* Keyframes */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* Back Button Styling */
.back-button {
    position: absolute;
    top: 20px; /* Adjust this to move the button up/down */
    left: 20px; /* Adjust this to move the button left/right */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0; /* Remove padding */
    outline: none; /* Remove outline */
}

.back-button img {
    width: 40px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease; /* Add hover animation */
}

.back-button:hover img {
    transform: scale(1.1); /* Enlarge icon on hover */
}

