ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #fff;
}

li {
  float: left;
}

li a, .dropbtn {
  display: inline-block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
  background-color: #eee;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  z-index: 1;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {
  display: block;
}

#map { z-index: 0;}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.project-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    flex: 1;
}

.project-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
}

.project-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    margin-top: 0;
}

.learn-more-btn {
    display: inline-block;
    background-color: #3b82f6;
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.learn-more-btn:hover {
    background-color: #2563eb;
}

@media (min-width: 768px) {
    .project-row {
        flex-direction: row;
    }
}


.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 150pt;

}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%; 
}

.carousel-slide.active {
    display: block;
}

.carousel-image {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
    display: block;
}

.carousel-nav-hover {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.left-hover {
    left: 0;
}

.right-hover {
    right: 0;
}

.left-hover:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.right-hover:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
    padding-left: 2pt;
}