#header {
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  position: absolute;
  top: 0;
}

.bg-image {
  background: url("assets/pexels-pixabay-270404.jpg") no-repeat center/cover;
  /* background-image: url("/assets/pexels-pixabay-270404.jpg"); */
  height: 40vh;
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

#header-container {
  overflow: hidden; /* hiding unintended box shadow from blurring */
  position: sticky;
  top: 0;
}

#footer {
  height: 5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
}

/* matching background color from header for seamless transition */
#gallery {
  background-color: rgba(0, 0, 0, 0.8);
}

.image-hover-container {
  position: relative;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-hover-container:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  text-align: center;
}

.overlay-content .author {
  margin-bottom: 10px;
}

.search-container {
  width: 100%;
  z-index: 10;
  padding: 32px 0;
}

#search-filter-container-absolute {
  position: absolute;
  top: 35vh;
  /* background: linear-gradient(to bottom, rgb(0, 0, 0), rgba(0, 0, 0, 0)); */
}

#search-filter-container-sticky {
  position: sticky;
  top: 1vh;
  /* background: linear-gradient(to bottom, rgb(0, 0, 0), rgba(0, 0, 0, 0)); */
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}
