* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f4f4;
  padding: 40px;
}

.container {
  width: 400px;
  margin: auto;
}

input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
}

#suggestions {
  list-style: none;
  padding: 0;
  margin: 0;
  background: white;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
}

#suggestions li {
  padding: 8px;
  cursor: pointer;
}

#suggestions li:hover {
  background: #eee;
}

#results {
  margin-top: 20px;
  background: white;
  padding: 10px;
  min-height: 40px;
} 


.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  padding: 10px 15px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
  width: 150px;

  display: none;
}

.dropdown-menu li {
  padding: 10px;
  cursor: pointer;
}

.dropdown-menu li:hover {
  background: #eee;
}

/* show class */
.dropdown-menu.show {
  display: block;
}
