/* Prevent scrolling and fill viewport */
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* No scrollbars */
}

/* Default body styles */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

/* Background for page 1 */
body.login {
    background: #f2f2f2 url('../images/blue_sky_background.webp') repeat;
    background-position: top left;
    background-attachment: fixed;
}

/* Background for page 2 */
body.average {
    background: #f2f2f2 url('../images/blue_water_background.webp') repeat;
    background-position: top left;
    background-attachment: fixed;
}

/* Login box styling */
.login-container {
    background-color: #c3e9ff; /* slightly transparent for image to peek through */
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 5px 15px #000000;
    min-width: 120px;
    max-width: 475px;
    margin: 20px;
    
}

/* Input boxes */
input[type="email"], input[type="password"] {
    width: 100%;
    max-width: 475px;
    min-width: 100px;
    padding: 10px;
    margin: 8px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    color: #000;
    box-sizing: border-box;
}

/* Button */
button {
    width: 100%;
    max-width: 475px;
    min-width: 100px;
    padding: 10px;
    margin: 8px 0 15px 0;
    border-radius: 5px;
    font-size: 16px;
    background-color: #67c7ff;
    color: white;
    border: 1px solid #67c7ff;
    cursor: pointer;
    box-sizing: border-box;
}


button:hover {
    background-color: #3cb7ff;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: lighter;
    font-size: larger;
}

/* Footer with recent users */
#recentUsers {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 13px;
    color: #333;
    text-align: center;
    background: rgba(255, 255, 255, 0.75);
    padding: 8px 0;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Optional: subtle hover effect */
#recentUsers:hover {
    background: rgba(255, 255, 255, 0.9);
}