body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #530249;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: #000000;
}
.container {
background-color: #f9f9f9;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
text-align: center;
}
#wishesContent {
background: linear-gradient(to bottom, #ff9933, #fff, #138808); /* Indian tricolor background */
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
margin-bottom: 20px;
opacity: 0;
transform: translateY(-20px);
animation: popperAnimation 0.8s ease-out forwards;
}
@keyframes popperAnimation {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
h1 {
font-size: 2em;
margin-bottom: 20px;
color: #000000;
}
form {
display: grid;
gap: 10px;
}
label {
font-weight: bold;
color: #000000;
}
input {
padding: 10px;
border: none;
border-radius: 4px;
font-size: 1em;
}
button {
background-color: #138808;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #117c06;
}
#wishesOutput {
margin-top: 20px;
}
#wishesContent p {
font-size: 1.4em;
line-height: 1.2;
color: #000000;
}
img {
max-width: 100%;
border-radius: 8px;
margin-top: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}