/* Apply a stylish gradient background */
body {
    text-align: center;
    background: linear-gradient(90deg, #ff758c, #ff7eb3);
    font-family: Arial, sans-serif;
    color: white;
    animation: fadeIn 1s ease-in-out;
}

/* Heading styles */
.heading {
    text-align: center;
    margin-top: 30px;
}

.heading a {
    font-weight: bolder;
    font-size: 40px;
    line-height: 45px;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.heading a:hover {
    transform: scale(1.1);
}

/* Input field styles */
input[type="text"] {
    background-color: rgba(255, 255, 255, 0.8);
    width: 70%;
    font-size: 25px;
    color: black;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    height: 50px;
    padding: 5px;
    border-radius: 25px;
    text-align: center;
    border: none;
    transition: box-shadow 0.3s ease-in-out;
}

input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Button styles */
input[type="button"] {
    width: 25%;
    font-size: 22px;
    cursor: pointer;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    color: white;
    font-weight: bold;
    height: 50px;
    border-radius: 30px;
    text-align: center;
    border: none;
    transition: all 0.3s ease-in-out;
}

input[type="button"]:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Style for result output box */
#coutput {
    margin-top: 20px;
    font-size: 22px;
    font-weight: bold;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: black;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease-in-out;
}

/* Animated text effect for results */
.animated-text {
    animation: pulse 1.5s infinite alternate;
}

/* Fade-in effect */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Pulse animation for result */
@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}
