/*
Weather App
Katelyn Dempsey
2/15/2024
CPSC 5200

main,css
Style page for the following pages: Homepage, Login, Sign Up, and Thank You Sign Up.
*/

/* Homepage */
body {
    background-image: url("globe.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fixed with respect to the viewport */
    padding-top: 80px; /* Adjust based on your fixed header's height */
    color: white; /* Makes the default text color white */
    background-color: #333; /* Example background color for contrast */
    font-family: Arial, sans-serif; /* Example font */
}

.header {
    position: sticky;
    top: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background for visibility */
}

h1, h2, h3, h4, h5, h6, p {
    color: white; /* Makes all text elements white */
}

a, a:visited, a:hover, a:active {
    color: white; /* Makes all link states white */
    text-decoration: underline; /* Adds underline to make it clear they are links */
}

.signup, .login {
    color: white;
    font-weight: bold;
    font-size: smaller;
    display: inline-block;
    margin: 5px 10px;
}

footer {
    position: fixed;
    right: 0;
    bottom: 0;
    color: white;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
}

/* New styles for the login and signup forms */
form {
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    /* Center the form vertically and horizontally */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="text"], input[type="password"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    background: #fff;
    color: #333;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #003d82;
}

