@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins';
}

#map {
  height: 100vh;
  width: 100vw;
  float: left;
}


.sidepanel {
  height: 100vh; 
  width: 0; 
  position: absolute; /* Change to "fixed" for consistent positioning on mobile */
  z-index: 1001;
  top: 0;
  right: 0;
  background-color: white; /* Change to white background */
  color: black;
  overflow-x: hidden; 
  padding-top: 40px; 
  transition: 0.5s;
  border-left: 2px solid #ccc;
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.2);
  border-radius:5px;
}


.sidepanel a{
  text-decoration: none;
  color: black;
}
.sidepanel .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
.sidepanel p,
.sidepanel h3{
  margin: 5px;
  padding: 10px;
}
.sidepanel p{
  border: 2px solid black;
}


#markers{
  cursor: pointer;
}

/* Info Icon */
.info-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #3498db;
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
}

/* Info Popup/Modal */
.info-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 300px;
}

#closePopup {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Responsive Image and Video */
.responsive-image {
  max-width: 100%;
  height: auto;
  margin:4px;
}


.map-popup {
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
    width: 250px;
    z-index: 1001;
}

.map-popup label {
    display: block;
    margin-bottom: 5px;
}

.map-popup input[type="text"],
.map-popup textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.map-popup input[type="submit"] {
    background-color: #3498db;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.map-popup input[type="submit"]:hover {
    background-color: #3498db;
}


