/* Globals and Resets */
html {
  font-family: 'Public Sans', sans-serif;
  background: #ffffff;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Navbar Styles */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
  padding: 1rem 1.5rem;
}

.nav-items {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
}

.logo img {
  height: 50px;
}

/* Headline Styles */
.headline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10rem 0 0 0;
}

.bigger-filter-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin: auto;
}

.filter-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1000px;
  border-radius: 0.5rem;
  width: fit-content;
  margin: 2rem auto;
  border: 1px solid #E7EDEF;
  box-shadow: 4px 4px 16px 0px rgba(150, 150, 150, 0.25);
}

.dropdown-wrapper {
  padding-left: 1rem;
}

.dropdown-groups {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem;
}

.dropdown {
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 1rem;
}

.dropdown-text {
  padding-right: 0.5rem;
}

.dropdown-button {
  height: 1rem;
  width: 1rem;
  padding-left: 0.5rem;
}

.checkbox-holder{
  margin: 0.5rem;
  inline-size: max-content;
}

.search-button {
  background-color: #000;
  color: white;
  padding: 1.1rem 1.25rem;
  margin-right: 0.25rem;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02rem;
  cursor: pointer;
}

/* Dropdown Content Styles */
.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;
  padding: 10px;
  border-radius: 5px;
}

.dropdown-content label {
  display: block;
  margin: 5px 0;
}

/* Hikes Section Styles */
.browse {
  margin: 4rem 1.5rem;
}

.hike-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-y: auto;
}

.hike-individual {
  display: flex;
  width: 20rem;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  border-radius: 20px;
  border: 1px solid var(--ui-border, #E5E5E5);
  background: #FFF;
}

.hike-thumbnail {
  height: 12rem;
  align-self: stretch;
  overflow: hidden;
}

.hike-description {
  display: flex;
  padding: 1rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

/* Footer Styles */
.footer {
  width: auto;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  padding: 1rem 1.5rem;
  background: var(--brand-green, #3E5D15);
}

.footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  color: white;
}

.footer-logo {
  width: 4rem;
}

.hikeDisplayImg {
  width: 100%;
  height: 100%;
  border-radius: 20px 20px 0px 0px;
  object-fit: cover;
  top: 0;
}

.overlay {
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 255, 0, 0.7);
  color: white;
  padding: 0.9375rem;
  z-index: 999;
  display: none;
}

.overlay.show {
  display: block;
}

@media only screen and (max-width: 480px) {
    .nav {
        flex-direction: column;
        text-align: center;
    }

    .nav-items {
        margin-top: 1rem;
        flex-direction: column; 
    }

    .nav-items a {
        display: block;
        margin-bottom: 0.5rem;
    }
}
