
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0; 
    
    /* 1. Turn the body into a Flexbox container to center its contents */
    display: flex;
    justify-content: center;   /* Centers horizontally */
    align-items: center;       /* Centers vertically */
    min-height: 100vh;         /* Forces body to take full screen height */
}

#container {
    max-width: 750px;
    width: 100%;               /* Ensures it scales down nicely on smaller screens */
    display: flex;            /* Keeps your columns side-by-side using Flexbox */
    justify-content: center;   /* Centers the inner container items */
    gap: 0px;                  /* Adds a clean gap between container-1 and container-2 */
    text-align: center;
}

.container {
    max-width: 350px;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    background-color: #fff;
    
    /* 1. Turn container into vertical flexbox */
    display: flex;
    flex-direction: column;
}

.logo {
    display: block;
    width: auto; 
    height: 80px; 
    margin-left: 0; 
    margin-right: auto; 
    margin-bottom: 15px; 
}

.alert { 
    color: green; 
    margin-bottom: 15px; 
    font-weight: bold; 
    font-size: large;
}

.error {
    color: red; 
    margin-bottom: 15px; 
    font-weight: bold; 
    font-size: large;
}
  
.footer-copyright {
    text-decoration: none;
}


label { 
    display: block; 
    width: 90%; padding: 10px; 
    margin-bottom: 5px; 
    font-size: midium; 
    text-align: left; 
}

.input-field { 
    width: 90%;
    padding: 10px; 
    margin-bottom: 15px;
    border: 1px solid #ccc; 
    border-radius: 4px;
    font-size: midium; 
}

textarea {
    border: 1px solid #ccc;
    padding: 5px;    
    font-size: midium;
    height: 60px;
    width: 90%;
    text-align: left;
    background-color: transparent;
    resize: none; 
}

.submit-btn { 
    width: 90%; 
    padding: 10px; 
    background-color: #007bff; 
    color: white; 
    border: none; 
    border-radius: 4px;
    cursor: pointer; 
    font-size: large;   
}

h2 { 
    text-align: center; 
    color: #007bff;
    margin-bottom: 20px;
}

h3 { 
    text-align: center; 
    color: #28a745;
    margin-bottom: 5px;
}

a {
    font-size: large; 
    color: blue; 
}

.footer-copyright {
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
    color: #777;
    text-decoration: none;
    
    /* 2. Pushes footer to the bottom of the flex container */
    margin-top: auto; 
}


@media (max-width: 576px) {
    #container {
        max-width: 100%;
        display: grid; 
    }
}