.map-container {
  height: 93%;
  display: grid;
  grid-template-columns: 25% 1fr;
  padding: 1%;
  gap: 1%;
}

@media (max-width: 1500px) {
  .map-container {
    grid-template-columns: 275px 1fr;
  }
}

.form-container .form-elements {
  height: 100%;
  z-index: 0;
}

.form-container > div {
  padding: 3%;
  border-radius: 5px;
  background-color: #f7f7f0;
}

#map {
  z-index: 1;
}

.route-details-elements {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  display: grid;
  grid-template-areas:
    "handle handle"
    "numbers graph";
  grid-template-columns: 23% 77%;
  background-color: rgba(255, 255, 255, 0.7);
  color: black; /* Text color */
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.route-details {
  display: grid;
  grid-template-areas:
    "distance elevation"
    "direction direction";
  grid-template-columns: 1fr 1fr;
}

#route-distance {
  grid-area: distance;
}

#route-elevation-gain {
  grid-area: elevation;
}


#route-direction {
  grid-area: direction;
}

.route-details-value {
  font-size: 1.75rem;
  margin: 0;
}

.route-details-label {
  font-size: 0.7rem;
  margin: 0;
}

#chart-container {
  width: 100%;
}

#chart-inner-container {
  width: 100%;
  height: 100%;
}

#chart-canvas {
  background-color: rgba(255, 255, 255, 0.5) !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.resize-handle {
  position: absolute;
  top: 0;
  width: 100%;
  height: 15px;
  color: rgba(255, 255, 255, 0);
  cursor: ns-resize;
  z-index: 11;
}

.collapse-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 3px;
  width: 30px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 12;
}

.home-button {
  padding: 10%;
  max-height: 2.5rem;
}

.form-button-icon {
  width: 100%;
  height: 100%;
  color: black;
}

.btn-primary {
  background-color: #e1eff7;
  color: black;
}

.btn-secondary {
  background-color: #e1e2e3;
  color: black;
}

.btn-warning {
  background-color: #fbfcc0;
  color: black;
}

.btn {
  font-size: 12px;
}

#map {
  height: 100%;
  width: 100%;
  margin: auto;
  border-radius: 5px;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: white;
}

.controls {
  background-color: #fff;
  border-radius: 2px;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  font-family: Roboto;
  font-size: 15px;
  font-weight: 300;
  height: 29px;
  margin-left: 17px;
  margin-top: 10px;
  outline: none;
  padding: 0 11px 0 13px;
  text-overflow: ellipsis;
  width: 20rem;
}

.controls:focus {
  border-color: #4d90fe;
}

.title {
  font-weight: bold;
}

#infowindow-content {
  display: none;
}

#map #infowindow-content {
  display: inline;
}

.mapboxgl-ctrl-geocoder {
  min-width: fit-content!important;
  width: 100%!important;
  max-width: 100%!important;
}

.marker {
  background-image: url(./images/mappin.png);
  background-size: cover;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
}

#chart-container {
  height: 30%;
  width: 100%;
  position: relative;
  background-color:#f7f7f0;
  text-align: center;
}

#chart-inner-container {
  position: relative;
  margin: auto;
  height: 100%;
  width: 100%;
}

#satellite-button {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1; /* Ensure the button is above the map */
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer; /* Default cursor */
}

#street-button {
  position: absolute;
  display: none;
  top: 10px;
  left: 10px;
  z-index: 1; /* Ensure the button is above the map */
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer; /* Default cursor */
}