@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');

@keyframes subtlePulse {
    0% {
        box-shadow: 0 0 10px 3px rgba(0, 90, 80, 0.8); /* Initial glow */
    }
    50% {
        box-shadow: 0 0 15px 5px rgba(0, 90, 80, 0.5); /* Peak glow */
    }
    100% {
        box-shadow: 0 0 10px 3px rgba(0, 90, 80, 0.8); /* Return to initial glow */
    }
}

/* General Styling */
body {
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    background: #002d2a;
    color: #fff;
    display: flex;
    height: 100vh;
}

/* Layout */
.container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Left Column */
.timeline {
    width: 20%;
    background: #001817;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute events evenly */
    align-items: stretch; /* Ensure events fill the width of the column */
    padding: 10px 0;
    overflow: hidden; /* Prevent extra content from overflowing */
}

.clock {
    font-family: 'Cedarville Cursive' cursive;
	font-size: 3rem;
    text-align: center;
    margin: 10px 0;
}

#events {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Make events area stretch to fill the remaining space */
}

/* Event Styles */
.event {
    flex: 1; /* All events get equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 5px 10px; /* Add spacing between events */
    padding: 10px;
    border-radius: 5px;
    background: #3e4a47; /* Default background */
	color: #c2c2bd;
}

.event.active {
    background: #004f44; /* Highlight active event */
	color: #fff;
    box-shadow: 0 0 10px 3px rgba(0, 90, 80, 0.8); /* Initial glow */
    animation: subtlePulse 1.5s infinite; /* Fast, smooth pulse */
	font-weight: bold;
}

.event.past {
    background-color: rgba(0, 0, 0, 0.7); /* Very light black overlay */
    color: rgba(255, 255, 255, 0.5); /* Dimmed white text */
    border: none; /* Minimal design */
    opacity: 0.5; /* Further reduce prominence */
}

/* Right Column */
.slideshow {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#slideshowImage {
    width: 100%;
    height: 100%;
	object-fit: cover;
    animation: fade-in 1s ease-in-out;
}

/* Fade Animation */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
