:root {
  --dark: rgb(18, 18, 18);
  --rose: #a90d89;

  
}

body{
    background-color: var(--dark);

}


.hd {
  padding-left: 2rem;
  display: flex;
}

h1 {
    font-family: "Chakra Petch", 'Arial', sans-serif; 
    font-size: 2rem;
    color: rgb(255, 255, 255);
    padding-inline: 0.5rem;

  }

    h2{
    font-family: "Chakra Petch", 'Arial', sans-serif; 
    color: white;  
  }

  .admin-panel {
    color: white;
    font-family: 'Courier New', Courier, monospace;
    padding-left: 3rem;
    padding-right: 3rem;
    text-decoration: none;
  }

  .admin-panel form{
    background-color: #e9e6e6;
    color: var(--dark);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    width: 30%;
  }

  .admin-panel form input, .admin-panel form textarea{
    background-color: white;
    border: solid, 0.01rem, rgb(0, 0, 0);
    padding: 0.3rem;

  }

  .form-buttons{
    display: flex;
    gap: 1rem;
  }

  .items-admin{
    display: flex;
    gap: 2rem;
  }

  .admin-buttons{
    display: flex;
    height: 100%;
    gap: 0.5rem;
    align-items: center;
 
  }

  .subt {
    font-family: 'Arial', sans-serif; 
    font-size: 15px;
    font-weight: bold;
  }

  #map { 
    height: 85vh; 
    
 
  }
  
  #corner-image {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 10px;
    width: 100px;
    height: auto;
    z-index: 1000;
  }

  #sidebar {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 10px;
    position: fixed;
    top: 0;
    right: 0;
    width: 28rem;
    height: 100%;
    background: rgb(0, 0, 0);
    /* box-shadow: -2px 0 5px rgba(0,0,0,0.5); */
    overflow-y: auto;
    transition: right 0.3s;
    z-index: 2000;
    display: none;
    gap: 1rem;
    color: white;
    border: solid white 0.05rem;
  }

  /* #sidebar.open { 
    right: 0; 
  }

  #sidebar.close { 
    font-family: 'Arial', sans-serif;
    position: fixed;
    top: 0;
    right: -260px;
    width: 310px;
    height: 100%;
    background: rgb(0, 0, 0);
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    overflow-y: auto;
    transition: right 0.3s;
    z-index: 2000;
    display: flex;
    gap: 1rem;
    color: white;
    border: solid white 0.05rem;
  } */

  #toggleBtn {
    position:fixed;
    right: 2rem;
    top: 2rem;
    z-index: 2003;
    font-size: 1.6rem;
    cursor: pointer;
    background-color: black;
    color: rgb(255, 255, 255);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 500;
    border: solid white 0.05rem;  

  }

  #toggleBtn:hover{
    border: solid var(--rose) 0.05rem;
    color: var(--rose);
}


#infoBtn{

    position:fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 2003;
    font-size: 1.3rem;
    cursor: pointer;
    background: none;
    color: rgb(255, 255, 255);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 500;
    border: none;  

}

#infoBtn:hover{
    color: var(--rose);
}


#contactBtn{

    position:fixed;
    right: 4.5rem;
    bottom: 2rem;
    z-index: 2003;
    font-size: 1.3rem;
    cursor: pointer;
    background: none;
    color: rgb(255, 255, 255);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 500;
    border: none;  

}

#contactBtn:hover{
    color: var(--rose);
}




  .lista{
    padding-left: 3.2rem;
  }

  .filter-select {
    width: 70%;
    margin-bottom: 10px;
    color: white;
    background-color: black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.9rem;
    font-weight: 100;
    padding: 0.1rem;

  }

  .marker-item {
    
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
    padding-block: 5px;
    padding-left: 20px;
    font-size: 0.9rem;
  }

  .marker-item:hover {
    color: #a90d89;
  }

  a{
    color: var(--rose);
  }


#showMarkerBtn{
  border: none;
  font-size: 0.9rem;
  background: none;
}


  .audioP {
    position: fixed;
    bottom:0;
    left: 0;
    z-index: 1000;
    background-color: rgb(16, 15, 15);
    width: 100%;
    padding-top: 0.5rem;
    /* height: 12%; */
  
  }



  #audioTitle{
    font-size: 0.8rem;
    font-style: italic;
    /* padding-top: 0.3rem; */
    color: white;
    font-family: "Chakra Petch", 'Arial', sans-serif; 
    font-weight: 100;
        padding-left: 0.5rem;


  }


#timeDisplay{
    font-size: 0.8rem;
    padding-top: 0.1rem;
    color: white;
    font-family: "Chakra Petch", 'Arial', sans-serif; 
    font-weight: 100;


}


  .audio-player{
    display:flex;
    align-items:flex-start;
    gap: 0.2rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
    padding-left: 1rem;
  }
  .audio-player button {
    margin: 5px;
    color: white;
    background-color: black;
    border: solid white 0.05rem ;
    padding: 0.5rem;
    cursor: pointer;
 }

 .audio-player button:hover {
  border: solid var(--rose) 0.05rem;
  color:var(--rose)

}


#audioPlayer{
  background-color: rgb(241, 241, 241);
  

}
.fa-solid fa-shuffle {
  color:rgb(255, 255, 255);
}

.marker-table {
  border-collapse: collapse;
  margin-top: 1rem;
  font-family: 'Courier New', Courier, monospace;
}



.footerinfo{
 font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: white;
  font-size: 0.7rem;
  text-align: center;

 


}

.footerinfo a {
  color: var(--rose);
}


.marker-table th,
.marker-table td {
  padding: 0.5rem;
  text-align: left;
  font-size: 0.9rem;
}

 .marker-table th {
  background-color: var(--rose);
  color: #000000;
} 

.marker-table tr:nth-child(even) {
  background-color: #e9e6e6;
}

.marker-table{
  background-color: #d0cfcf;
  color: #000000;
}

.marker-table button {
  /* margin: 0 4px;
  padding: 4px 8px;
  font-size: 0.9rem; */
  cursor: pointer;
}


.leaflet-marker-icon.highlight {
  animation: pulse 1s ease-in-out;
  filter: drop-shadow(0 0 8px yellow);
}


#progressContainer {
  width: 10rem;
  height: 8px;
  background: #ccc;
  border-radius: 4px;
  margin: 10px 0;
  cursor: pointer;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: var(--rose);
  border-radius: 4px;
}

#infoDiv{
  position: absolute;
  bottom: 10%;
  right:2rem;
  background-color: var(--dark);
  color: white;
  width: 40rem;
  z-index: 2005;
  padding: 1rem;
  padding-inline: 3rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 0.9rem;
  line-height: 1.3rem;
  border: solid white 0.03rem;
  
}


  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* oscurecido */
    z-index: 2004; /* debajo del infoDiv */}

    #overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* oscurecido */
    z-index: 3007; /* debajo del infoDiv */}

#closeInfo{
  position: auto;
  margin-left: 99%;
  font-size: 1.2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;

}


#closeInfo:hover{
  color: var(--rose);
}



.formulario-contacto{
display: flex;
flex-direction: column;
width: 24rem;
font-size: 0.8rem;
gap: 0.5rem;
}  

.boton-form{
    width: fit-content;
    padding-inline: 1rem;
    background-color:rgb(21, 21, 21);
    border: 0.5px solid white;
    color: white;
    font-size: 0.8rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.boton-form:hover{
   background-color: rgb(238, 78, 225);
   color: black;
   
}

input, textarea{
    background-color: rgb(21, 21, 21);
    color: white;
    border: 0.05rem solid white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 0.5rem;

}

#modalContacto{

  position: fixed;
  z-index: 3009;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Verdana, Geneva, Tahoma, sans-serif;

}

.modal-contenido{
  background-color: var(--dark);
  color: white;
  padding: 2rem;
}

.cerrar{
  cursor: pointer;
  margin-left: 100%;
}

.cerrar:hover{
  color: var(--rose);
}

.cerrar2{
  cursor: pointer;
  color: white;
    margin-left: 100%;

}

.cerrar2:hover{
  color: var(--rose);
}


.modal-enviado {
  position: fixed;
  z-index: 3100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-contenido-enviado {
  background-color: rgb(0, 0, 0);
  color: white;
  /* padding: 20px;
  width: 90%;
  text-align: center; */
    max-width: 300px;
    padding: 20px;

  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  border: solid white 0.03rem;
  
}

#mensaje-texto{
  font-family:Verdana, Geneva, Tahoma, sans-serif ;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}


@media only screen and (max-width: 600px) {

  .footerinfo{
  color: white;
  font-size: 0.7rem;
  text-align: left;
  padding-inline: 1rem;
  width:40%

}
 

#sidebar{
  width: 50%;
  padding-top: 4.5rem;

}

 .marker-item {
    padding-block: 1rem;
    padding-left: 1px;
    font-size: 1.1rem;
  }

   .lista{
    padding-left: 1rem;
  }

   #map { 
    height: 50vh; 
    
 
  }

#infoDiv{

   position: absolute;
  bottom: auto;
  right:auto;
  top: 2%;
  width: 90%;
  padding: 0.3rem;
  padding-inline: 0.5rem;
  font-size: 0.7rem;
  line-height: 1rem;

}

#closeInfo{

  margin-left: 93%;

  
}
}

@media only screen and (max-width: 400px) {

  .footerinfo{
  color: white;
  font-size: 0.7rem;
  text-align: left;
  padding-inline: 2rem;

}

  .filter-select {
    width: 70%;
    margin-bottom: 10px;
    color: white;
    background-color: black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 0.7rem;
    font-weight: 100;
    padding: 0.6rem;
    margin-block: 1rem;

  }

    #sidebar{

      padding-top: 4.5rem;
    }


 
}

@media only screen and (max-height: 400px) {

  .audio-player{
    gap:0;
  }

h1 {
    font-size: 1rem;
      padding-inline: 0;


  }

    #map { 
    height: 90vh; 
    
 
  }



  }