body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(241, 241, 239); /* Match button color */
    font-family: 'Georgia', serif; /* Elegant font */
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px; /* Adjust max-width as needed */
    padding-bottom: 20px; /* Add padding to ensure the whole image fits */
}

.background-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    border-radius: 0; /* Square edges */
}

.calendar-buttons, .form-container {
    background-color: rgb(241, 241, 239); /* New background color */
    padding: 20px;
    border-radius: 10px; /* Smooth edges for the box */
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px; /* Added margin to separate sections */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Slight shadow for depth */
    flex-direction: column;
    align-items: center;
}

.button {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    background-color: transparent;
    padding: 15px;
    border-radius: 15px; /* Rounded square */
    transition: background-color 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button img {
    width: 48px; /* Double the size */
    height: 48px; /* Double the size */
}

.button:hover {
    background-color: rgba(181, 101, 29, 1);
}

/* Additional wedding decorative elements */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/wedding-decor.png'); /* Soft decorative background */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1; /* Ensure it stays in the background */
    opacity: 0.5; /* Subtle appearance */
}

.countdown-container {
    text-align: center;
    margin: 2em 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#countdown h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.time {
    font-size: 3em;
    margin: 0 10px;
    padding: 10px 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #333;
}

span {
    font-size: 1em;
    margin: 0 10px;
}

/* RSVP Form Styling */
.form-container h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.form-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.form-container label {
    font-size: 1.2em;
    color: #333;
}

.form-container input[type="text"], .form-container select {
    padding: 10px;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
}

.form-container input[type="submit"] {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 10px;
    background-color: rgba(181, 101, 29, 1);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-container input[type="submit"]:hover {
    background-color: rgba(141, 71, 19, 1);
}

.radio-container {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.radio-container input[type="radio"] {
    margin-right: 5px;
}
