body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

html {
  scroll-behavior: smooth;
}

/* ACA VA UN SPINNER PARA ANTES QUE CARGUE LA PAGINA. */

/* Estilos para el spinner */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8); /* Fondo semitransparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Asegura que esté por encima de todo */
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #007bff; /* Cambia el color aquí */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*HASTA ACA */


.main-header {
  position: relative;
  text-align: center;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 0;
  

}

.main-header h1 {
  /* margin: 0; */
  font-size: 2.0rem;
  letter-spacing: 4px;
  font-weight: 500;

}

/* Es H2 en NEWS */
.unica {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500
 }

 h2.unica {
  
  line-height: 1.5;
  font-size: 1.6rem;
}

.main-header video {
  width: 100%;
}

.section-content {
  background-color: #fff;
  padding: 20px;
  /* border-radius: 10px; */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 35%);
  margin: 20px 10px;
}

.news ,
.image-grid h2,
.info h2 {
  font-size: 1.6rem;
  /* margin-bottom: 10px; */
  text-align: center;
  font-weight: 500;

}

.info p {
  font-size: 1.1rem;
  line-height: 1.5;
  padding: 2px;
  text-align: center;
}

#h2tur {
  font-size: 1.1rem;
  letter-spacing: 1.5px;
}

.news p {
  font-size: 1.1rem;
}

.main-footer {
  text-align: center;
  padding: 20px 0;
  background-color: #333;
  color: #fff;
}

/* .image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px; */ 
 /*  /* max-width: 800px;
  margin: 0 auto;
} aca abajo modifico*/

/* #imag {
  display: block;
} */

.image-container {
  display: flex;
}

/* .contenedorimg {
  display: flex;
} */

.image {
  display: flex;
  justify-content: center;
  /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); */
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-align: center;
  /* width: 80%; */
  margin: 5px;
  /* height: 50%; */
  padding: 4px;
}

.image img {
  max-width: 100%;
  max-height: 100%;
  margin: 5px;
  transition: transform 0.3s ease-in-out;
}

.image img:hover {
  transform: scale(1.1);
}


.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  cursor: pointer;
}

.modal-content {
  width: 50%;
  max-height: 50%;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.close-button {
  position: absolute;
  top: 250px;
  right: 10px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  text-shadow: 0px 0px 10px white;
}

.image iframe {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 35%);

}

/* CAJA NUEVA DE IMAGENES SIMPLES DE 30% HORIZONTAL */
.atr {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;

}

.atrimg {
  flex-basis: calc(33.33% - 10px);
  max-width: 31%;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.atr img:hover {
  transform: scale(1.1);
}

/* fin */

/* NUEVA SECCION DE VIDEOS  */

/* Estilo para la sección de la galería */
/* .video-grid {
  padding: 20px;
  background-color: #f2f2f2;
} */

/* Estilo para el contenedor de videos */
.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* Estilo para cada video */
.video {
  width: calc(50% - 8px); /* Para mostrar 2 videos por fila con un espacio de 8px entre ellos */
  margin-bottom: 8px;
  position: relative;
}

/* Estilo para los iframes de video */
.video video {
  width: 100%;
  height: 100%; /* Ajustar la altura automáticamente para mantener la proporción de aspecto original */
  border: none;
}

/* Estilo para el primer video */
.video:first-child video {
  /* height: 100%; */
  background-color: currentColor;  /* Con esto hice que el fondo de video cubra de negro por que no llegaba */
}


/* Estilo para las imágenes de vista previa */
/* .video img {
  max-width: 100%; Ajustar el ancho máximo al 100% del contenedor
  height: auto; Mantener la proporción de aspecto original
  cursor: pointer; Cambiar el cursor al pasar sobre la imagen */
  /* transition: transform 0.3s ease-in-out; */
/* } */

/* .video img:hover {
  transform: scale(1.02);
} */

#h2video {
  font-size: 2rem;
    text-align: center;
    font-weight: 500;
}


/* Ahora va las clases del Formulario */
/* Estilos generales del formulario */
#fs-frm {
  width: 65%;
  margin: 10px auto;
  padding: 20px;
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#fs-frm-inputs {
  border: none;
}

/* Estilos para las etiquetas de los campos */
label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Estilos para los campos de entrada */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

input[type="text"],
::placeholder {
  color: rgb(189, 189, 189);
}

/* Estilos para el campo de archivo */
input[type="file"] {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Estilos para el botón de enviar */
input[type="submit"] {
  background-color: #1095c1;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}



/* ACA VAN LOS ICONOS DE REDES CON FONTAWEASOME */

.main-footer {
  text-align: center;
  padding: 5px 0 0px 0;
  background-color: #333;
  color: #fff;
}

.social-icons {
  font-size: 35px;
  margin-bottom: 15px;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
  color: #1095c1; /* Cambia el color al pasar el cursor */
}

/* FIN DE LOS ICONOS DE REDES */

footer p {
font-size: 14px;
    TEXT-ALIGN: start;
    padding: 10px 6px 6px;
    margin-bottom: 0px;
  }

/* Estilos para el botón flotante celulares */
.scroll-to-top {
  position: fixed;
  bottom: 35px;
  right: 12px;
  background-color: #1095c1;
  color: #fff;
  font-size: 20px;
  padding: 5px 14px;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.scroll-to-top:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}





.contenedormap .image {
  flex: 100%; /* Para que los mapas ocupen todo el ancho en dispositivos móviles */
  margin-right: 0; /* Eliminar el margen derecho en dispositivos móviles */
  display:grid ;
  justify-items: center;
}

/* ESTO ES PARA LOS BOTONES DE LA GALERIA DE FOTOS */
/* Estilos para las flechas */
.nav-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.nav-buttons button {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  /* border-radius: 50%; */
  font-size: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  outline: none;
}

.nav-buttons button:hover {
  background: rgba(0, 0, 0, 0.799);
}
/* HASTA ACA LOS BOTONES */


/* ACA VAMOS A EMPEZAR A ARMAR RESPONSIVE - ARRIBA CELU ABAJO PANTALLAS GRANDES*/



/* Aca carga en pantalla grande mas de 992px en adelante, debe tener min 992 para arriba */

/* Aca carga en pantalla grande mas de 992px en adelante, debe tener min 992 para arriba */

/* Aca carga en pantalla grande mas de 992px en adelante, debe tener min 992 para arriba */

@media (min-width: 992px) {

  .main-header h1 {
    /* margin: 0; */
    font-size: 2.5rem;
    text-shadow: 2px 2px 1px #00000040;
  }

  .news ,
.image-grid h2,
.info h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
}

  .unica {
    text-align: center;
    font-size: 2rem;
/* Aca va efecto de pintar letras*/
    color: #0000;
  background: 
    linear-gradient(90deg,#1095c1 50%,#000 0) 
    var(--_p,100%)/200% no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  transition: .9s;
  }

  .unica:hover {
    cursor: pointer;
    --_p: 0%;
  }

  /*Termina el efecto de pintar */ 

  h2.unica {
    letter-spacing: 3px;
    line-height: 2;
    font-size: 2rem;
  }


.info p {
  font-size: 1.6rem;
  line-height: 1.6;
  padding: 15px;
  text-align: center;
/* Aca va efecto de pintar letras*/
/* color: #0000;
background: 
  linear-gradient(90deg,#1095c1 50%,#000 0) 
  var(--_p,100%)/200% no-repeat;
-webkit-background-clip: text;
        background-clip: text;
transition: .9s;
}


.info p:hover {
  cursor: pointer;
  --_p: 0%;
} */
}


#h2tur {
  font-size: 1.6rem;
  letter-spacing: 1.5px;
}
.ppp {
  transition: all .9s;
}

.ppp:hover {
  cursor: pointer;
  font-size: 1.9rem;
}

/* Style de HR */

.hrgral {
  width: 75%;
  border: 0.5px solid #d3d3d3a3;
}

.image iframe {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 35%);
  width: 70%;
  margin: 5px;
}

.image img {
  max-width: 85%;
  max-height: 85%;
  transition: transform 0.3s ease-in-out;
}

.image img:hover {
  transform: scale(1.1);
}


/* Estilo para los mapas */
.contenedormap {
  display: flex;
  flex-wrap: wrap; /* Para que los mapas se envuelvan en dispositivos pequeños */
  justify-content: space-between; /* Espaciado entre los mapas en pantallas grandes */
}

.contenedormap .image {
display: flex; 
 margin-bottom: 20px; /* Espacio entre los mapas en dispositivos móviles */
}


/* aca cambio display:flex: por esto que sigue */
.contenedorimg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}


.image {
  display: flex;
  justify-content: center;
  /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); */
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-align: center;
  /* width: 80%; */
  margin: 5px;
  /* height: 50%; */
  padding: 4px;
}

.image img {
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.3s ease-in-out;
}

.image img:hover {
  transform: scale(1.1);
}

/* MODAL DE LAS IMAGENES */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.modal-content {
  width: 50%;
  max-height: 50%;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.close-button {
  position: absolute;
  top: 1px;
  right: 10px;
  color: #fff;
  /* font-size: 28px; */
  cursor: pointer;
}

/* ES HASTA ACA */

.lim {
  width: 45%;
  /* border-radius: 24px 4px 24px 4px; */
  box-shadow: 4px 2px 4px 0px rgb(0 0 0 / 29%);
  margin: 0 8px;

}


.ha {
width: 65%;

}

/* CAJA NUEVA DE IMAGENES SIMPLES DE 30% HORIZONTAL */
.atr {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  
}

.atr img {
  transition: transform 0.3s ease-in-out;
}

.atrimg img {
  flex-basis: calc(33.33% - 10px);
  max-width: 31%;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  transition: transform 0.3s ease-in-out;
}

.atr img:hover {
  transform: scale(1.1);
}

/* fin */







/* ACA VAN LOS ICONOS DE REDES CON FONTAWEASOME */

.main-footer {
  text-align: center;
  padding: 8px 0;
  background-color: #333;
  color: #fff;
}

.social-icons {
  font-size: 35px;
  margin-bottom: 15px;
}

.social-icons a {
  color: #fff;
  margin: 0 10px;
  transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
  color: #1095c1; /* Cambia el color al pasar el cursor */
}

/* FIN DE LOS ICONOS DE REDES */

/* Estilos para el botón flotante */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 25px;
  background-color: #1095c1;
  color: #fff;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.scroll-to-top:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* ESTO ES PARA LOS BOTONES DE LA GALERIA DE FOTOS */
/* Estilos para las flechas */
.nav-buttons {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.nav-buttons button {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  /* border-radius: 50%; */
  font-size: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  outline: none;
}

.nav-buttons button:hover {
  background: rgba(0, 0, 0, 0.799);
}
/* HASTA ACA LOS BOTONES */



}








