div.map {
}

.map .inner {
  display: flex;

}

#map {
  height: 500px;
  width: 75%;
  float: left;
}
#sidebar {
  float: right;
  width: 40%;
  overflow-y: auto;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-height: 500px;
}

.map hr {
  border: none;
  border-top: solid 1px black;
}

#sidebar .content {
  max-width: 450px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}
.location-box {
  margin-bottom: 10px;
  cursor: pointer;
  padding: 5px;
  background-color: var(--orange);
  border: solid 1px var(--orange);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.location-box:hover {
  border: solid 1px black;
}
.location-box button {
  background-color: var(--yellow);
  color: black;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.location-box h1{
  font-size: 16px;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 6px;
}
.location-box p{
  font-size: 12px;
  margin: 0;
}
.location:hover {
  background-color: #f0f0f0;
}
#locate {
  padding: 10px;
  background-color: var(--green);
  margin-bottom: 24px;
  color: black;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 600;
}
#locate:hover {
  background-color: var(--green);
  }
#search-input {
  margin-bottom: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
}

@media screen and (max-width: 1100px) {
  .map .inner {
    flex-direction: column-reverse;
  }
  #map {
    width: 100%;
  }
  .map #sidebar {
    width: 100%;
    max-height: none;
  }
  #sidebar .content {
    max-width: 100%;
    padding: 0;
  }
}