/* kamusi logo */
.kamusi-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.kamusi-logo img {
  margin: 10px;
}

/* SEARCH FORM */

.search-form {
  display: flex;
  flex: 100%;
  justify-content: center;
  align-items: center;
}

.search-label {
  flex: 1;
  text-align: center;
}

.autocomplete {
  position: relative;
  flex: 2;
  min-width: 0;
  padding: 16px;
  border: none;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
}

.autocomplete :focus {
  background-color: #ffffff;
  border: 1px solid #5692c4;
}

.autocomplete :hover {
  background-color: #ffffff;
  border: 1px solid #d4d4d4;
}

.autocomplete input {
  background-color: #f0f8ff;
  width: 100%;
  border: 1px solid #d4d4d4;
  outline: none;
  font-size: 16px;
  padding: 12px;
}

.autocomplete-items {
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 12px;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 12px;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  border: none;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #f0f8ff;
  border: none;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: #f0f8ff !important; 
}

.search-button {
  flex: 1;
  padding: 12px;
  text-align: center;
}

/* Change color on hover */
.search-button :hover {
  background-color: #78b4e6;
  color: #ffffff; 
  cursor: pointer;
}

.search-button button {
  background-color: #5692c4;
  font-size: 18px;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 12px;
}


/* JOIN US SECTION */
.joinus {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 60px;
}

.responsive {
  max-width: 100%;
  height: auto;
}

img {
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 5px;
  margin: 0;
}

img:hover {
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

.browse-container {
  display: flex;
}

/* pagination styling */
.azindex a { 
  background-color: white;
  color: black;
  border: 1px solid #5692c4;
  border-radius: 8px;
  padding: 4px 4px;
  margin: 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.azindex :hover {
  background-color: #78b4e6;
  color: white;
}
