body {
    font-family: 'Comic Sans MS', 'Arial', sans-serif; /* Playful font */
    background-color: #f0f8ff; /* Light blue background */
    color: #333; /* Dark text for contrast */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Form Container */
form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff; /* White background for contrast */
    border: 2px solid #4682b4;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
}
/* Header Styles */
h1 {
    font-size: 2.5rem;
    color: #ff6347; /* Fun, vibrant color */
    text-align: center;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
}

h2 {
    font-size: 1.8rem;
    color: #4682b4; /* Complementary color */
    text-align: center;
    margin-top: 10px;
}

/* Input Fields */
input[type="text"] {
    width: 50%; /* Full width for responsiveness */
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #4682b4; /* Match the form border color */
    border-radius: 5px;
    font-size: 1rem;
    outline: none; /* Remove default outline */
    transition: border-color 0.3s ease; /* Smooth transition on focus */
}

input[type="text"]:focus {
    border-color: #ff6347; /* Change color on focus for interactivity */
    box-shadow: 0 0 5px rgba(255, 99, 71, 0.5); /* Glow effect */
}

/* Buttons */
button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #ff6347; /* Vibrant button color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #e5533f; /* Darker shade on hover */
    transform: scale(1.05); /* Slightly enlarge button */
}

button:active {
    background-color: #c94b38; /* Even darker shade on click */
    transform: scale(0.95); /* Slightly shrink on click */
}
/* Centering the reset button */
#resetButton {
    display: none;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #ff6347;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block;
}

p span {
    font-weight: bold;
    color: #ff6347; /* Highlight inserted words in the Mad Lib */
    font-style: italic;
}
