

body {
    font-family: 'Nunito', sans-serif; /* Changed font to Nunito for overall consistency */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #ffe4e1; /* Soft pink background suitable for Mother's Day */
    background-image: url('https://msfpfmwdawonueqaevru.supabase.co/storage/v1/object/public/img/mom.png'); /* Update path to where you upload the image */
    background-size: cover;
}

.container {
    text-align: center;
    padding: 20px;
    width: 40%; /* Adjusted for better desktop viewing */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    background: white;
    border-radius: 15px;
    border: 1px solid #ffcccc; /* Light pink border */
}

input[type="text"], button {
    font-family: 'Nunito', sans-serif; /* Changed font to Nunito for overall consistency */
    padding: 10px;
    border-radius: 5px;
}

input[type="text"] {
    margin-top: 20px;
    width: 80%;
    border: 2px solid #ccc;
}
/*
button {
    margin-top: 10px;
    background-color: #ff69b4; 
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #ff1493; 
}
*/

button {
    background-color: #ff85b2; /* A lighter shade of pink */
    color: white;
    border: none;
    cursor: pointer;
    display: block;
    margin: 20px auto; /* Center the button horizontally */
    padding: 10px 20px;
    border-radius: 5px;
    transition: transform 0.1s ease, background-color 0.2s;
    outline: none;
}

button:hover {
    background-color: #ff69b4; /* Slightly darker pink on hover */
}

button:active {
    transform: scale(0.95); /* Compresses button size to 95% when active */
    position: relative; /* Ensures the position does not affect layout */
}






#poemCard {
    margin-top: 20px;
    padding: 20px;
    background-color: #ffe4e1; /* Soft pink background */
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adding a slight shadow for depth */
}

@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(0.8);
    }
    75% {
        transform: scale(1.2);
    }
}

.heart {
    width: 50px;
    height: 50px;
    background-image: url('https://msfpfmwdawonueqaevru.supabase.co/storage/v1/object/public/img/mom-bubble.png'); /* Ensure you have a heart image */
    background-size: cover;
    margin: 20px auto;
    display: block;
    animation: beat 3s infinite;
}


.footer {
    text-align: center;
    margin-top: 20px;
}

.footer p {
    font-family: 'Nunito', sans-serif; /* Changed font to Nunito for overall consistency */
    color: #333;
}

.footer img {
    width: 100px; /* or any other size that fits your design */
    margin-top: 10px;
}

.hidden {
    display: none;
}


/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    body, html {
        height: auto;
        margin: 10px 0; /* Adds margin on top and bottom for better spacing */
    }

    .container {
        width: 95%; /* Increase width slightly for small screens */
    }

    h1, #poemCard h2, p, button, input[type="text"] {
        font-size: 1em; /* Adjust font size for better readability on small screens */
    }

    .footer p {
        font-size: 0.8em; /* Smaller text for footer on mobile */
    }
}