body {
    font-family: 'Arial', sans-serif;
    background-image: url('happy birthday background.jpg');
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#container {
    background-image: url('bg image.jpg');
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    max-width: 600px;
    width: 90%;
}

#cake {
    height: 160px;
    width: auto;
    border-radius: 10px;
}

#message {
    font-size: 2.5em;
    color: #d81b60;
    margin: 15px 0;
    font-family: 'Patrick Hand', cursive;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Added text shadow */
}

p {
    font-size: 1em;
    color: #555;
    margin: 10px 0;
}

input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    margin-bottom: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus {
    border-color: #d81b60;
    outline: none;
    box-shadow: 0 0 5px rgba(216, 27, 96, 0.5);
}

button {
    padding: 10px 15px;
    background-color: #ff4081;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #f50057;
    transform: scale(1.05);
}

#greetingMessage {
    display: none;
    margin-top: 20px;
    font-size: 1em;
    color: #ff4081;
    animation: fadeIn 1s;
    padding: 15px;
    border: 1px solid #ff4081;
    border-radius: 5px;
    font-family: 'Patrick Hand', cursive;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    #message {
        font-size: 2em;
    }

    input[type="text"], button {
        font-size: 0.9em;
    }
}

