body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}



/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #005f3c;
    color: white;
    margin: 5px;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo h1 {
    margin-left: 10px;
    font-size: 24px;
    color: white;
    
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}
header nav ul li a.active {
    text-decoration: underline;
}
a:hover {
    color: #2980b9;
    text-decoration: underline;
}


.alert-section {
    text-align: center;
    padding: 1em;
    background-color: #f7f7f7;
}

.alert-section h1 {
    color:darkred;
    font-size: 50px;

}
#alert{
    background-color:lightgray;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
#alert:hover{
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.alert-content {
    margin-top: 1em;
}

#map {
    height: 300px;
    margin: 1em auto;
    width: 100%;
    border:3px solid #3c763d;
}

.chart-container {
    width: 100%;
    margin: 2em auto;
    height: 300px;
}
.container{
    display: flex;
    gap: 50px;
}
  /* Styling for the search container and dropdown */
  .search-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    width: 100%;
    z-index: 1000; /* Very high z-index for the search container */
}

#search-bar {
    width: 100%;
    padding: 8px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    color:black;
}
#search-bar:hover{
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1050; /* Ensure it’s above the map */
    border-radius: 4px;
    margin-top: 4px;
}

.dropdown-item {
    color: #333;
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #ddd;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);

}
footer {
    background-color: #4d724d; /* Dark green background */
    color: #ffffff; /* White text color */
    padding: 20px 0;
    text-align: center;
    position: relative;
    width: 100%;
    bottom: 0;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0;
    font-size: 1em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #76b983; /* Lighter green for hover effect */
}

