body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url("table-food.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #2e2e2e;
  text-align: center;
  background-color: #ffb84d;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* 遮罩 */
  z-index: -1;
}

header {
  background-color: rgba(255, 102, 0, 0.8);
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 15px;
  margin-top: -15px;
  text-align: left;
  margin-right: 15px;
}

header p {
  font-family: "Quicksand", sans-serif;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

header > div:nth-of-type(2) > p:nth-of-type(2) {
  margin-top: -20px;
}

header > div:nth-of-type(2) > p:nth-of-type(1) {
  margin-top: 60px;
}

header a:link {
  color: rgba(255, 255, 255, 0.9);
}

header a:hover {
  color: black;
  text-decoration: none;
}

h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  color: white;
  margin-bottom: -20px;
}

header h2 {
  color: white;
  font-family: "Poppins", sans-serif;
}

.filters {
  margin-bottom: 30px;
  font-size: 1.2em;
  display: inline-block;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#search {
  font-size: 1.2em;
}

select {
  font-size: 1.2em;
}

button {
  background-color: #ff7f50;
  border: none;
  padding: 0.8em 1.5em;
  color: white;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 30px;
  margin-left: 15px;
  margin-right: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  background-color: #ff5722;
}

#result {
  height: 70vh;
  width: 95vw;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hidden {
  display: none;
}

img[src="house-marker.png"],
img[src="restaurant-marker.png"] {
  width: 50px;
  height: auto;
}

.info-window {
  overflow: auto;
}

#location-section {
  background-color: #ff7f50;
}

footer {
  text-align: center;
  color: white;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  margin-top: 2rem;
}

footer a:link {
  color: #ffcc00;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

footer a:visited {
  color: #ffcc00;
}

/* using a sliding bar in price range
or use price range solely 
use grid or flexbox for layout*/
