nav#navbar {
  width: 100%;
  background-color: transparent;
  box-shadow: none;
  position: fixed;
  padding: 0.2rem 0.5rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#map {
height: 500px;
margin-bottom: 1rem;
}
.leaflet-popup-content-wrapper {
  background-color: yellow;
  padding: 0;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
}
.leaflet-popup-content {
  margin: 0;
}

.popup-link {
  text-decoration: none;
  color: black;
  display: block;
  width: 100%;
  height: 100%;
}

.popup-card {
  padding: 0.5rem;
  background-color: white;
  color: black;
  border: 1px solid #ccc;
  border-radius: 6px; 
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);  
  transition: background-color 0.2s;
}

.popup-link:hover .popup-card {
  color: #7a9dff;
}


#nonmap {
  margin: 1rem;
}
#filter-bar {
display: flex;
border: 1px solid #ccc;
border-radius: 6px;
box-shadow: 0 1px 4px rgba(0,0,0,0.1);
flex-wrap: wrap;
align-items: center;
margin-bottom: 20px;
gap: 0.5rem;
padding: 0.5rem;
/* background-color: #ccc; */
}

#searchInput {
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

#filterReset {
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  font-size: 1rem;
  padding: 0.2rem;
}

#filterReset:hover {
  background-color: #e6e6e6; /* Green */
}

#filterReset:active {
  background-color: #c2c2c2; /* Green */
}

#tagsFilter {
display: flex;
border: 1px solid #ccc;
border-radius: 6px;
box-shadow: 0 1px 4px rgba(0,0,0,0.1);
flex-wrap: wrap;
gap: 0px;
overflow-y: auto;
max-height:100px;
/* background-color: #333; */
/* margin: 0.3rem; */
}

#tagsFilter label {
display: inline-block;
background: #eee;
border: 1px solid #ccc;
border-radius: 4px;
padding: 4px 8px;
cursor: pointer;
margin: 0.2rem;
}

#tagsFilter input {
margin-right: 4px;
}

#cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1rem;
}
.card {
border: 1px solid #ccc;
border-radius: 6px;
padding: 1rem;
box-shadow: 0 1px 4px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
cursor: pointer;
text-decoration: none;
color: inherit;
}
.card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  background-color: #f0f0f0;
}
.card.highlighted {
  border: 2px solid #70a170;
  background-color: #f1fff1;
}
.card img {
max-width: 100%;
height: 150px;
object-fit: cover;
margin-bottom: 0.5rem;
border-radius: 4px;
}
.card h3 {
margin: 0 0 0.5rem;
font-size: 1.2rem;
}
.card p {
font-size: 0.9rem;
flex-grow: 1;
margin-bottom: 0.5rem;
}
.tags span {
font-size: 0.75rem;
background: #eee;
border-radius: 3px;
padding: 2px 6px;
margin-right: 4px;
}
.tags span:hover {
  border: 2px solid #4cbae6;
  background-color: #f1fff1;
}