body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #006400; /* Dark green background color */
    background-image: url('/static/forest.jpg'); /* Correct path to your forest image */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff; /* Text color to ensure readability */
}

header {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background for header */
    color: #fff;
    padding: 1rem 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    border-bottom: #fff;
}

nav ul li {
    display: inline;
    margin-right: 1rem;
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: larger;
}

main a, footer a {
    color: #fff;
}

main {
    padding: 2rem;
    background-color: rgba(0, 100, 0, 0.7); /* Semi-transparent dark green background for main content */
    border-radius: 10px;
    margin: 2rem;
    position: relative; /* Required for positioning child elements absolutely */
}

footer {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background for footer */
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #fff; /* White border for footer */
}

.search-form {
    position: absolute; /* Position form absolutely within the main container */
    bottom: -10.5rem;
    left: 2rem;
    right: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.search-input {
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.filters {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.filters label {
    margin-right: 1rem;
    color: #fff;
}

.search-button {
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    background-color: #228B22;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.search-button:hover {
    background-color: #32CD32;
}

.results {
position: absolute; /* Position form absolutely within the main container */
    bottom: -15rem;
    left: 2rem;
    right: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
