body {
  font-family: 'Libre Baskerville', serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #e0f7fa, #c8e6c9);
}

input,
button,
select {
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
}

header {
  margin: 30px 0;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #333;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.subheading {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #555;
}

#map-placeholder {
  position: relative;
  width: 90%;
  height: 600px;
  background-color: grey;
  border: 1px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-bottom: 20px;
}

#controls-container {
  width: 90%;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#search-bar {
  display: flex;
  flex: 2 1 0;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}
#date-picker-container {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
}
#time-slider-container {
  flex: 2 1 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}

#search-bar input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#search-bar button {
  flex: 0 0 auto;
  padding: 8px 16px;
  font-size: 16px;
  background-color: #00796b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

#search-bar button:hover {
  background-color: #00695c;
}

#date-picker-container label,
#time-slider-container label {
  white-space: nowrap;
}

#date-picker-container input {
  min-width: 130px;
  width: 100%;
}
#time-slider {
  flex: 1;
  min-width: 150px;
}
#time-input {
  padding: 6px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 140px;
  height: 28px;
  box-sizing: border-box;
}

.vertical-divider {
  width: 1px;
  height: 40px;
  background-color: #ccc;
  margin: 0 10px;
}

@media (max-width: 700px) {
  #search-bar,
  #date-picker-container,
  #time-slider-container {
    flex-direction: column;
    align-items: flex-start;
  }

  #controls-container {
    justify-content: center;
  }

  #search-bar input,
  #date-picker-container input,
  #time-slider,
  #time-input {
    max-width: 100%;
  }
  .vertical-divider {
    display: none;
  }
}

.text-box {
  margin-top: 20px;
  width: 90%;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #333;
  line-height: 1.6;
}

textarea {
  width: 100%;
  height: 100px;
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.text-box h2 {
  color: #00796b;
  margin-bottom: 10px;
}

.text-box p {
  margin-bottom: 15px;
}
