*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}
.language-selector {
    text-align: right;
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .language-selector a {
    text-decoration: none;
    color: #333;
    margin: 0 5px;
  }
  
  .language-selector a:hover {
    text-decoration: underline;
  }
  /************************Boton de whats app************************/
  .whatsapp-fijo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 28px;
  padding: 15px;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-fijo:hover {
  transform: scale(1.1);
  background-color: #1ebd5a;
}

/************** NAV BAR**********/
.abrirMenu, .cerrar{
   text-decoration: none;
    border: none;
}
button img{
    border: none;
    background-color: #145a32;
    display: block; /* Elimina el espacio extra */
    width: 40px; /* Ajusta el tamaño si es necesario */
    height: 40px;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background-color: rgba(2, 53, 21, 0.5); /* Verde transparente */
    position: fixed; /* Hace que el navbar esté fijo arriba */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Asegura que el menú esté sobre otros elementos */
    backdrop-filter: blur(5px); /* Efecto de desenfoque en el fondo */
}
.nav-list{
    display: flex;
    list-style-type: none;
    gap: 1rem;
}
.nav-list li a {
    text-decoration: none;
    color: white;
}

h1{
    color: white;
    font-family: 'Times New Roman', Times, serif;
}
.h1{
    font-weight: bold;
    text-align: center;
    font-size: 32px;
    color: white;
    font-family: 'Times New Roman', Times, serif;
}
.abrirMenu, .cerrar{
    display: none;
}
/*************************Footer************/
footer{
    width: 100%;
    background-color: #145a32;
    position: relative;
}
footer .grupo1{
    width: 100%;
max-width: 1200px;
margin: auto;
display: grid;
grid-template-columns: repeat(3,1fr);
grid-gap: 50px;
padding: 45px 0px;
}
footer .grupo1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .grupo1 .box figure img{
border-radius: 50%;
height: 106px;
width: 150px;    
}
footer .grupo1 .box h2{
    color: white;
    margin-bottom: 25px;
    font-size: 20px;
}
footer .grupo1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}
footer .grupo1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: azure;
    text-align: center;
    margin-right: 10px;
    background-color: #012f15;
    transition: all 300ms ease;
}
footer .grupo1 .red-social a:hover{
    color:#34c48f;
}
footer .grupo-2{
    background-color: #012f15;
    padding: 15px 10px;
    text-align: center;
    color: white;
}
footer .grupo-2 small{
    font-size: 15px;
}
.box a {
    display: block;
    text-decoration: none;
    font-size: 20px;
    color:white;
}
.box a:hover{
    color: #012f15;
}
small a{
  text-decoration: none;
  color: white;
  font-size: 20px;
}
small a:hover{
  color: rgb(45, 222, 45);
}
.sigue{
    color: white;
    padding: 20px;
    font-size: 20px;
}
  /********************************botones Español ingles ***************************************************/
             .idiomas {
                margin: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap; /* permite que los botones bajen si no caben */
}

.idiomas a {
  padding: 5px 10px;
  text-decoration: none;
  color: black;
  background-color: white;
  border-radius: 5px;
  display: inline-block;
  white-space: nowrap; /* evita que el texto se parta en varias líneas */
  min-width: 80px; /* ancho mínimo para que tengan tamaño coherente */
  text-align: center;
  flex: 1 1 auto; /* para que se adapten al espacio */
  max-width: 150px; /* opcional: para no crecer demasiado */
}

.idiomas a.active {
  background-color: #b6fcb6;
  color: black;
}
            .idiomas a.active {
               background-color: #b6fcb6; /* verde clarito */
               color: black;
            }
             .leaflet-routing-container {
              display: none !important;
              }
              /******** formulario enviado */
            #mensajeResultado{
              margin-top:20px; 
              color: green;
            }
@media screen and (max-width:550px) {
     body {
        font-size: 0.95rem; /* reducir tamaño general de texto */
        line-height: 1;
    }
    header{
        padding: 20px;
    }
    /*************************Boton WhatsApp***********************/
     .whatsapp-fijo {
    font-size: 22px;
    padding: 12px;
    bottom: 15px;
    right: 15px;
  }
    .abrirMenu, .cerrar{
        cursor: pointer;
        display: block;
    }

    .nav{
        opacity: 0;
        visibility: hidden;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh; /* Agregado para ocupar toda la altura de la ventana */
        background-color: rgba(20, 90, 50, 0.6);
        padding: 2rem;
        align-items: end;
        gap: 1rem;
    }
    .nav-list{
        flex-direction: column;
        align-items: end;
    }
    .nav.visible{
        opacity: 1;
        visibility: visible;
    }
    .general{
        font-size: 20px;
    }
    /* Footer en columna */
    footer .grupo1 {
        display: grid;
        grid-template-columns: 1fr; /* Poner todo en una columna */
        padding: 30px 10px;
        gap: 20px;
    }

    footer .grupo1 .box {
        text-align: center; /* Centrar el texto de las cajas */
    }

    footer .grupo1 .box h2 {
        font-size: 1.5rem; /* Reducir tamaño de fuente */
    }

    footer .grupo-2 small {
        font-size: 12px; /* Reducir el tamaño del texto en el footer */
    }
    /*******************BOTONES IDIOMAS************/
     .idiomas {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .idiomas a {
    max-width: none;
    width: 100%; /* que ocupe todo el ancho disponible */
    min-width: auto;
  }
  .h1{
    font-size: 25px;
    margin: 5px;
 }
 .general{
    font-size: 15px;
 }}