body, ul {
    margin: 0;
    padding: 0;
    background-color: #efefef;
    font-family: sans-serif;
}


main {
    margin-top: 0; /* Remove top margin */
    height: 100vh; /* Full viewport height */
    display: flex; /* Enables Flexbox */
    justify-content: center; /* Horizontally centers content */
    align-items: center; /* Vertically centers content */
    
    
}



.login h1 {
    margin: 0; 
    font-size: 1.5rem;
    margin-right: 30px; 
    font-family: sans-serif;
   
}

.login a {
    text-decoration: none; 
    color: inherit; 
}


.login a:hover {
    color: red; 
}

.login-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

h2 {
    color: #333333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: center; /* Center-aligns labels */
}

.form-group label {
    display: block; /* Ensures labels are on their own lines */
    margin-bottom: 5px;
    color: #555555;
    text-align: center; /* Centers the text of the labels */
}

.form-group input {
    display: block; /* Makes input fields block elements */
    margin: 0 auto; /* Centers them horizontally */
    width: 90%; /* Adjust width to match the design */
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    box-sizing: border-box; /* Ensures padding doesn't break the width */
}

.form-group input:focus {
    outline: none;
    border-color: black; /* Green border for focus */
}

button[type="submit"] {
    display: block; /* Makes the button a block element */
    margin: 10px auto; /* Centers horizontally with automatic margins */
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: black;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 80%; /* Optional: Set width to maintain consistency */
}

button[type="submit"]:hover {
    background-color: red; /* Changes color on hover */
}

p {
    margin-top: 15px;
    color: red; /* Red color for error messages */
}


header {
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between logo, nav links, and button */
    padding: 0 20px;
}

.navbar-logo img {
    height: 80px;
}

/* Nav Links */
.nav-links {
    list-style: none; /* Remove bullets */
    display: flex; /* Align horizontally */
    gap: 30px; /* Space between links */
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: #f0f0f0;
    color: red;
}

/* Log Out Button */
.logout-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: black;
}