/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: url('../img/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body takes up the full height of the viewport */
}

nav {
    background-color: rgba(51, 51, 51, 0.9); /* Slight transparency for better visibility */
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    display: block;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-links > li > a:hover {
    background-color: #555;
}

/* Style for the Login Menu button */
.nav-links > li > button {
    background-color: #ffffff; /* Green background */
    color: #000000; /* White text */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    outline: none; /* Removes default focus outline */
}

.nav-links > li > button:hover {
    background-color: #45a049; /* Darker green on hover */
    transform: scale(1.05); /* Slight zoom effect */
}


.nav-links > li > button a {
    text-decoration: none;
    color: inherit; /* Inherits the button's text color */
    display: inline-block;
}

/* Dropdown Menu */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    min-width: 150px;
}

.dropdown li {
    border-bottom: 1px solid #ddd;
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #333;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.dropdown li a:hover {
    background-color: #f0f0f0;
}

/* Show dropdown when active */
.dropdown.active {
    display: block;
}

/* Header */
header {
    text-align: center;
    padding: 50px 20px;
    color: #fff;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 90%;
    display: flex;
    flex-direction: column;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    margin: 0;
}

/* Footer */
footer {
    background-color: rgba(51, 51, 51, 0.9); /* Slight transparency for blending */
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    margin-top: auto; /* Pushes the footer to the bottom */
}

footer p {
    margin: 0;
    font-size: 14px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer ul li {
    display: inline;
}

footer ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: color 0.3s ease;
}
