/* Lavender Theme - Engagement Invitation */
body {
    margin: 0;
    font-family: 'Dancing Script', cursive;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #e6e6fa, #d8bfd8, #dda0dd);
    animation: gradientBG 6s infinite alternate;
    position: relative;
}

.download-btn {
            display: inline-block;
            background: linear-gradient(45deg, #b57edc, #dda0dd);
            color: white;
            text-decoration: none;
            padding: 15px 25px;
            font-size: 1.2em;
            border-radius: 30px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }
.download-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        }
/* Background Animation */
@keyframes gradientBG {
    0% { background: linear-gradient(135deg, #e6e6fa, #d8bfd8, #dda0dd); }
    50% { background: linear-gradient(135deg, #d8bfd8, #dda0dd, #c3a2c5); }
    100% { background: linear-gradient(135deg, #dda0dd, #c3a2c5, #e6e6fa); }
}
/* Typing Animation for Footer */
.footer.typing-animation {
    font-size: 1.2em;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #555; /* Cursor effect */
    display: inline-block;
    animation: typing 4s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}
/* Footer Styling */
footer {
    text-align: center;
    padding: 10px;
    font-size: 1em;
    color: #444;
    margin-top: 20px;
}

/* Ganpati Image Styling */
.ganpati-image {
    width: 100px; /* Set a smaller width */
    max-width: 80%; /* Ensure it is responsive */
    height: auto;
    display: block;
    margin: 0 auto 15px;
}
/* Falling Symbols */
.falling-symbols {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.falling-symbols .symbol {
    position: absolute;
    font-size: 24px;
    animation: fall 5s linear infinite;
    opacity: 0.8;
}

.falling-symbols .star { color: #ffd700; }
.falling-symbols .love { color: #ff69b4; }
.falling-symbols .rose { color: #ff0000; }
.falling-symbols .smiley { color: #ffa500; }

@keyframes fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}
/* Countdown */
.countdown {
            font-size: 1.5em;
            font-weight: bold;
            color: #800080;
            margin-top: 10px;
            text-align: center;
        }

/* Amazing <br> Styling */

/* Generate multiple falling symbols dynamically */
.falling-symbols .symbol:nth-child(1) { left: 10%; animation-duration: 4s; }
.falling-symbols .symbol:nth-child(2) { left: 30%; animation-duration: 5s; }
.falling-symbols .symbol:nth-child(3) { left: 50%; animation-duration: 6s; }
.falling-symbols .symbol:nth-child(4) { left: 70%; animation-duration: 4.5s; }
.falling-symbols .symbol:nth-child(5) { left: 90%; animation-duration: 5.5s; }

/* Glowing Floral Borders */
.invitation-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    border: 5px solid #b57edc;
    background-image: url('roses-border.png');
    background-size: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    animation: fadeIn 2s ease-out, glowBorder 2s infinite alternate;
}

@keyframes glowBorder {
    0% { box-shadow: 0 0 10px #b57edc; }
    100% { box-shadow: 0 0 20px #dda0dd; }
}

/* Elegant Text Effects */
h1 {
    color: #800080;
    font-size: 3em;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

h2 {
    color: #b57edc;
    font-size: 2.5em;
    margin: 10px 0;
    text-shadow: 0 0 10px #b57edc;
    animation: shimmer 2s infinite alternate;
}

/* Styling for h3 */
h3 {
    font-size: 2.0em;
    font-weight: bold;
    color: #b57edc;
    text-align: center;
    margin-top: 10px;
    text-shadow: 1px 1px 5px rgba(128, 0, 128, 0.3);
    letter-spacing: 1px;
}

@keyframes shimmer {
    0% { text-shadow: 0 0 5px #b57edc, 0 0 10px #dda0dd; }
    100% { text-shadow: 0 0 10px #b57edc, 0 0 20px #dda0dd; }
}

.and {
    color: #ff69b4;
    font-size: 1.5em;
}

/* Interactive Map Button */
.map-link {
    display: inline-block;
    margin: 20px 0;
    padding: 12px 24px;
    background: linear-gradient(45deg, #b57edc, #dda0dd);
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 0 10px #b57edc; }
    100% { box-shadow: 0 0 20px #dda0dd; }
}

.map-link:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
