/* main.css */

body {
    font-family: "Lato", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    overflow-y: auto;
    line-height: 1.2;
    /* Added for better readability */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Oswald", sans-serif;
    line-height: 1.2;
    /* Added for tighter header spacing */
}

footer {
    text-align: center;
    flex-shrink: 0;
    padding: 1rem;
    margin-top: auto;
    /* Added padding for breathing room */
}

.error {
    color: red;
    margin-bottom: 1rem;
    /* Added margin for spacing */
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.1rem;
    /* Changed from 20px to 1rem */
    padding: 0.1rem;
    /* Changed from 20px to 1rem */
}

.centered-form {
    display: flex;
    flex-direction: column;
    width: 20rem;
    /* Changed from 300px to 20rem */
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
    /* Changed from 10px to 0.5rem */
}