:root {
    --body-font: "Georgia", serif;
    --heading-font: "Montserrat", sans-serif;
}

#form-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 80%;
    max-width: 500px;
}

input,
textarea {
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    font-family: var(--body-font);
    font-size: 1.1rem;
    color: #fff;
    background: #242424;
    border: 2px solid #555;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.3s ease-in-out;
}

input {
    height: 55px;
}

textarea {
    min-height: 180px;
    resize: none;
    overflow-y: auto;
}

input::placeholder,
textarea::placeholder {
    color: #b5b5b5;
    opacity: 1;
    font-family: var(--body-font);
    font-size: 1.1rem;
}

input:hover,
textarea:hover,
button:hover {
    transform: scale(1.015);
}

input:focus,
textarea:focus {
    border-color: #ae3434;
    box-shadow: 0 0 0 3px rgba(105, 164, 129, 0.2);
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #242424 inset;
    -webkit-text-fill-color: #fff;
}

button {
    width: 60%;
    min-width: 250px;
    height: 100px;
    border-radius: 15px;
    background-color: rgb(196, 1, 1);
    border-style: none;
    color: aliceblue;
    font-family: var(--heading-font);
    font-size: 1.15rem;
    font-weight: 500;
    box-shadow: 0px 0px 20px 9px rgba(143, 0, 0, 0.44);
    transition: transform 0.3s ease-in-out;
}