body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: 'Arial', sans-serif;
}

main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.div-row {
    text-align: center;
    max-width: 1200px; /* Increased max-width */
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    }

figure {
  margin: 2rem 0;
}

figcaption {
  font-size: 0.9rem;
  color: #666;
}

figure img {
  border: 2px solid #ccc; /* 2px wide, solid, light gray border */
}
p.mb-4 {
    text-align: left;
}
main > .div-row:first-child {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.back-to-top {
  margin-top: 1rem;
}

h1 {
  font-size: 1em; /* Example using em */
}

.autocomplete-items {
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  border-top: none;
  z-index: 10;
  max-height: 250px;
  overflow-y: auto;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.autocomplete-items div {
  padding: 8px 12px;
  cursor: pointer;
}

.autocomplete-items div:hover,
.autocomplete-items .active {
  background-color: #f1f1f1;
}


.custom-hover-effect {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-hover-effect:hover {
  background-color: #e3dfd9; /* light gray, Bootstrap-compatible */
  box-shadow: 0 0 0.25rem #e6a10cb6; /* subtle glow */
  cursor: pointer;
}
