body {
    font-family: 'Merriweather', serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.timeline {
    width: 90%;
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #3498db; /* Blue border for wedding theme */
}

.timeline h1 {
    font-family: 'Dancing Script', cursive;
    color: #e74c3c; /* Red color for the heading */
    margin-bottom: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    position: relative;
    padding: 20px;
    background: #e9ecef;
    border-radius: 10px;
}

.timeline-item::before {
    content: attr(data-time);
    position: absolute;
    top: -10px;
    left: 20px;
    background: #3498db; /* Blue background for time */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

.timeline-item h2 {
    margin: 0;
    font-size: 22px;
    color: #333;
    font-family: 'Dancing Script', cursive;
}

.timeline-item p {
    margin: 10px 0 0;
    font-size: 16px;
    color: #666;
    font-family: 'Merriweather', serif;
}

@media (max-width: 600px) {
    .timeline-item h2 {
        font-size: 20px;
    }

    .timeline-item p {
        font-size: 14px;
    }
}
