body {
  margin: 0;
  overflow: hidden;
}

#map-container {
  height: 100vh;
  width: 100vw;
  position: relative;
}

#controls-container {
  position: fixed;
  top: 0;
  left: -2.75pc;
  height: 100%;
  width: 250px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transform: translateX(-250px);
  transition: transform 0.3s ease-in-out;
  z-index: 1001;
}

#controls-container img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px; /* Optional: Adds space between the image and the buttons */
}

#controls-container.open {
  transform: translateX(2.75pc);
}

button {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  background-color: #17b6be;
  color: white;
  border: none;
  cursor: pointer;
  opacity: 1;
}

#goButton {
  display: block;
  width: 100%;
  height: 10vh;
  min-height: 3pc;
  padding: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  background-color: #10858b;
  color: white;
  border: none;
  cursor: pointer;
  opacity: 1;
}

#info {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Optional styling for route instructions */
.leaflet-routing-container {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  padding: 10px;
}

/* Optional styling for route instructions text */
.leaflet-routing-container .leaflet-routing-instructions {
  color: black;
}

.menu-btn, .close-btn {
  position: absolute;
  top: 10px;
  left: 20pc;
  width: 2pc;
  height: 2pc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  background-color: rgba(211, 211, 211, 0.315);
  z-index: 1001;
  border-radius: 5px;
}

.close-btn {
  display: none;
}

#controls-container.open .close-btn {
  display: flex;
  background-color: rgba(211, 211, 211, 0.637);
}

.leaflet-control-zoom {
  display: none; /* Hide the default zoom control */
}

.leaflet-control-container .leaflet-top.leaflet-right {
  position: absolute;
  top: 10px; /* Adjust top positioning as needed */
  right: 10px; /* Adjust right positioning as needed */
  z-index: 1000; /* Ensure it's above other elements */
}

.leaflet-control-attribution a {
    pointer-events: none; /* Disables clicking on the link */
    color: inherit;
    text-decoration: none;
}

/* Adjust the size and position of the custom zoom control */
.leaflet-control-zoom-custom {
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  margin-top: 8px; /* Adjust as needed */
  margin-right: 12px; /* Adjust as needed */
  width: 8vw; /* Relative width based on viewport width */
  height: 10vh; /* Relative height based on viewport height */
  z-index: 1000; /* Ensure it's above other elements */
}

/* Hover effect for the custom zoom control */
.leaflet-control-zoom-custom:hover {
  background-color: #ddd; /* Hover background color */
}

/* Styling for the zoom-in and zoom-out buttons */
.leaflet-control-zoom-custom .zoom-in,
.leaflet-control-zoom-custom .zoom-out {
  display: block; /* Ensure buttons are on separate lines */
  width: 100%; /* Occupy full width of container */
  height: 50%; /* Half of the container height */
  line-height: calc(50% - 2px); /* Center text vertically */
  font-weight: bold;
  font-size: 4vw; /* Adjust font size relative to viewport width */
}

/* Styling for the zoom-in button */
.leaflet-control-zoom-custom .zoom-in {
  border-bottom: 2px solid #000; /* Bottom border for separation */
}

/* Styling for the zoom-out button */
.leaflet-control-zoom-custom .zoom-out {
  border-top: 2px solid #000; /* Top border for separation */
}

#infoButton {
  bottom: 12vh;
  right: 20px;
  width: 86.2%;
  position: absolute;   
}

#info-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  box-sizing: border-box;
  z-index: 1002;
  overflow-y: auto;
}

#info-menu .content {
  max-width: 800px;
  margin: 0 auto;
  background: #333;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

#info-menu .info-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

#info-close-btn {
  width: 20%;
  text-align: left;
  background: #33333300;
}

/* Optional: styling for info content */
#info-content {
  line-height: 1.6; /* Improve readability */
}