
.banner {
  position: relative;
  z-index: 1;
  background: linear-gradient(to right, #F56D5D, #C92D3A);
  color: white;
  max-height: 30px;
  padding: 10px;
  margin: 10px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Open Sans', sans-serif;
}

.banner h1 {
  margin: 0;
  font-size: 24px;
  font-weight: normal;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  flex: 1;
}

.banner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    flex: 1;
    display: block;
    margin: 0 auto;
    height: auto;
    cursor: pointer;
}

.banner button {
  padding: 8px;
  border-radius: 5px;
  border: none;
  background-color: white;
  color: red;
  font-weight: bold;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.popup {
    position: relative;
    z-index: 1;
    display: block;
    position: absolute;
    top: 60px;
    right: 0;
    width: 400px;
    padding: 10px;
    margin: 10px;
    background-color: lightgray;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    height: 100%;
}


.travel-time {
  z-index: 1;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 30%;
  margin: 0 auto;
  bottom: 10px;
  left: 20px;
}

.gradient-bar {
  z-index: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to right, #FFDE00 0%, #009E64 33%, #74009E 100%);
  border-radius: 10px;
}

.travel-time span {
  position: absolute;
  top: -25px;
  font-size: 14px;
  font-weight: bold;
}

.travel-time span:first-child {
  left: 0;
}

.travel-time span:nth-child(2) {
  left: 33%;
}

.travel-time span:nth-child(3) {
  left: 90%;
}


#map {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}


@media only screen and (max-width: 767px) {
  /* On mobile devices, center the popup horizontally */
  .popup {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
}
