body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Styling umum untuk header */
header {
    display: flex;
    text-align: center;
    font-size: 1.5em;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-weight: bold;
    text-shadow: #4b79a1;
    text-decoration: solid;
    text-decoration: underline, yellow;
    text-align: center;
    color: #87CEEB;
}

/* Styling untuk logo di bagian kiri */
.header-left img,
.header-right img {
    width: 100px
}

.timeline-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    background-color: #4b79a1;
    text-shadow: brown;
    /* Emas (Kilau Tahun Baru) */
    color: brown;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);

}

.timeline-card {
    border-radius: 8px;
    margin: 10px;
    padding: 10px;
    width: 400px;
    text-align: center;
    justify-content: center;
    gap: 20px;
    row-gap: 10px;
    column-gap: 10px;
    background: #f5f7fa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding-inline-start: 10px;
    color: brown;

}

/*gaya css pada header*/
.timeline-header1 {
    background-color: brown;
    color: brown;
    text-shadow: #4b79a1;
    text-decoration: solid;
    text-decoration: underline, yellow;
    /* Evergreen (Pohon Natal) */
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.timeline-header2 {
    background-color: brown;
    color: brown;
    text-shadow: #4b79a1;
    /* Merah Natal (Ornamen dan Pita Hadiah) */
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.timeline-header3 {
    background-color: brown;
    color: brown;
    text-shadow: #4b79a1;
    /* Emas (Kilau Tahun Baru) */
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.timeline-header4 {
    background-color: brown;
    color: brown;
    text-shadow: #4b79a1;
    /* Emas (Kilau Tahun Baru) */
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.timeline-header5 {
    background-color: brown;
    color: brown;
    text-shadow: #4b79a1;
    /* Emas (Kilau Tahun Baru) */
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.timeline-header6 {
    background-color: brown;
    color: brown;
    text-shadow: #4b79a1;
    /* Burgundy (Kemewahan Natal) */
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.timeline-header7 {
    background-color: brown;
    color: brown;
    text-shadow: #4b79a1;
    /* Oranye Meriah (Lampu Perayaan) */
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.timeline-header8 {
    background-color: brown;
    color: brown;
    text-shadow: #4b79a1;
    /* Emas (Kilau Tahun Baru) */
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}

.timeline-header9 {
    background-color: brown;
    color: brown;
    text-shadow: #4b79a1;
    /* Emas (Kilau Tahun Baru) */
    color: white;
    padding: 10px;
    border-radius: 5px 5px 0 0;
}


/*akhir gaya css pada header*/

.timeline-body {
    padding: 15px;
}

.rsvp-btn {
    background-color: #28a745;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.rsvp-btn:hover {
    background-color: #218838;
}

.form-container {
    margin-top: 15px;
    display: none;
    /* Form disembunyikan secara default */
    flex-direction: column;
}

.form-container.hidden {
    display: none;
}

.form-container input {
    margin-bottom: 10px;
    padding: 8px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-btn {
    background-color: #007BFF;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0056b3;
}


/*batas tree css