/* ---------------------------- */
/* General Body Settings        */
/* ---------------------------- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    line-height: 1.5;
}

/* ---------------------------- */
/* Navbar                        */
/* ---------------------------- */
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #333;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    text-align: center;
}

nav a:hover {
    background-color: #555;
}

/* ---------------------------- */
/* Logo Section                  */
/* ---------------------------- */
.logo-container {
    text-align: center;
    margin: 20px 0;
}

.logo-container img {
    max-width: 200px; /* scales properly */
    width: 50%;
    height: auto;
}

/* ---------------------------- */
/* Form Container / Content Box  */
/* ---------------------------- */
.form-container {
    width: 90%;
    max-width: 500px;  /* ensures readable width */
    margin: 20px auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ---------------------------- */
/* Form Fields                   */
/* ---------------------------- */
input, select, textarea, button {
    width: 100%;       /* full width for mobile */
    margin-bottom: 10px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #0056b3;
}

/* ---------------------------- */
/* Text Styling                  */
/* ---------------------------- */
h1, h2, h3 {
    text-align: center;
    margin-bottom: 15px;
}

p {
    text-align: center;
}

/* ---------------------------- */
/* Responsive Images             */
/* ---------------------------- */
img {
    max-width: 100%;
    height: auto;
}

/* ---------------------------- */
/* Responsive Layout for Phones  */
/* ---------------------------- */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
    }

    .logo-container img {
        width: 70%; /* bigger logo on smaller screens */
    }

    .form-container {
        padding: 10px;
    }

    h1, h2, h3 {
        font-size: 1.3em;
    }

    input, select, textarea, button {
        font-size: 14px;
        padding: 8px;
    }
}