@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

form {
    max-width: 450px;
    margin: 50px auto;
    background: #fffdf6;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Open Sans', sans-serif;
    transition: 0.3s;
}

form:hover {
transform:translateY(-10px);
}

label {
    display: block;
    margin-top: 15px;
    font-weight: 500;
    color: #7d8f69;
    font-size: 20px;
    font-weight: 700;

}

input,
textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #fffdf6;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
}

button {
    display: block;
    width: 100%;
    background: #7d8f69;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s ease;
}

button:hover,
button:focus {
    background: #6f8951;
}

#success {
    color: green;
    font-weight: bold;
    margin-top: 10px;
    display: none;
}

#error {
    color: red;
    font-weight: bold;
    margin-top: -6px;
    display: none;
}