:root {
    --font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
    --font-color: #666;
    --background-color: #eee;
    --primary-color: #333;
    --border-color: #cbcbcb;
    --box-shadow-color: rgba(50, 50, 50, 0.1);
    --focus-shadow-color: rgba(81, 203, 238, 1);
    --error-color: rgba(204, 0, 0, 0.5);
    --success-color: #f5f5f5;
    --input-background-color: #f5f5f5;
    --button-background: #555;
    --button-hover: #282828;
    --header-background: #f0f0f0;
    --footer-background: #f0f0f0;
}

html, body {
    border: 0;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    color: var(--font-color);
    background: var(--background-color);
    min-width: 100%;
    min-height: 101%;
}

p, label, legend {
    font-size: 1.1em;
}

h1 {
    margin: 10px 0;
    font-size: 24px;
    color: var(--primary-color);
}

hr {
    color: inherit;
    height: 0;
    margin: 6px 0;
    border: 1px solid #d9d9d9;
    border-style: none none solid;
}

#main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px var(--box-shadow-color);
}

form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea, form select {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: var(--input-background-color);
    font-size: 1em;
    transition: all 0.25s ease-in-out;
}

form input[type="submit"] {
    width: auto;
    padding: 10px 20px;
    color: #fff;
    background: var(--button-background);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

form input[type="submit"]:hover {
    background: var(--button-hover);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

