* {
  box-sizing: border-box;
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
}
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

p {
  line-height: 1.6;
  margin-bottom: 15px;
}

a {
  color: #ffcc00;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: white;
}

/*******idiomas**********/

.langPages {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.langPages a {
  font-size: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.langPages img {
  width: 25px;
  margin-right: 5px;
}





/**********video******/
.video-container {
  position: fixed; /* Cambiado de absolute a fixed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Asegura que cubra toda la altura de la ventana */
  overflow: hidden;
  z-index: -1; /* Mantenerlo detrás del contenido principal */
}

.video-container video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/**************logo**************************/
/********************************************/


.rounded-logo {

  border-radius: 15px;
  border: 2px solid #1c5a7d;
  padding: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  height: auto;
}

.logo-content {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

.logo-text {
  color: white;
  font-weight: bolder;
}

@media (max-width: 768px) {
  .rounded-logo, .logo-pescador {
    max-width: 300px;
  }

  .logo-content {
    margin-bottom: 15px;
  }

  .logo-text {
    font-size: 18px;
  }
}

/******presentacion******/
.presentacion {
  margin-top: 25vh;
  background: black;
  border-radius: 15px; /* Ajusta el radio del borde */
  padding: 20px; /* Ajusta el padding según tus necesidades */
}

#present {
  position: relative;
  z-index: 1;
}

.background-image {
  position: relative;
  overflow: hidden;
}

.background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/logo/hogar-pescador-2.png"); /* Make sure the image path and format are correct */
  background-size: 0%;
  background-position: center;
  background-repeat: no-repeat;
  animation: expand-and-hide 5s ease-in-out infinite; /* Removed animation-delay */
  z-index: 1; /* Set z-index to a positive value */
}

@keyframes expand-and-hide {
  0% {
    opacity: 0;
    background-size: 20%; /* Reduced background size to 20% */
  }
  50% {
    opacity: 1;
    background-size: 50%; /* Reduced background size to 50% */
  }
  100% {
    opacity: 0;
    background-size: 20%; /* Reduced background size to 20% */
  }
}
/****pantallas pequeñas***/
@media (max-width: 768px) {
  .presentacion {
    margin-top: 55vh;
  }
}


/**************swipper************/



.container.slider1 {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  height: 500px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;/****cover*/
  object-position: center;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .container.slider1 {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .container.slider1 {
    height: 250px;
  }
}


/************mapa*****/

.map-container {
    width: 100%; /* Asegura que el contenedor ocupe el 100% del ancho disponible */
    max-width: 100%; /* Evita que se limite el ancho en pantallas grandes */
    margin: 0 auto; /* Centra el contenedor en la página */
}







/*********************************/
/*********************************/
/*********************************/
/***************popup**********/
/*********************************/

.popup {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: green;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transform: translateY(-100%);
  left: 70%;
  transform: translateX(-50%) translateY(-100%);
}

.popup img {
  max-width: 50vw;
  height: auto;
  max-height: 80vh;
}

.popup {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: green;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transform: translateY(-100%);
  left: 70%;
  transform: translateX(-50%) translateY(-100%);
}

/* Estilos generales para el popup en pantallas pequeñas */
@media (max-width: 768px) {
  .popup {
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: 100vw;
    padding: 10px;
    position: relative;
    overflow: hidden;
    -webkit-transform: translateX(-50%) translateY(-100%);
    -moz-transform: translateX(-50%) translateY(-100%);
    -ms-transform: translateX(-50%) translateY(-100%);
    -o-transform: translateX(-50%) translateY(-100%);
  }

  .popup img {
    max-width: 100%;
    max-height: 100vh;
    transition: transform 0.5s ease;
  }

  .popup img:hover {
    transform: scale(1.8); /* Ajusta el valor de la escala a 1.8 */
  }

  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1100;
  }
}

/*********popup hospitalet***/

.popup.hospitaletPopup {
  position: absolute;
  left: -50%;
}

/* Estilos específicos para el popup de Hospitalet en dispositivos móviles */
@media (max-width: 768px) {
  .popup.hospitaletPopup {
    left: 50% !important; /* Asegura que este estilo se aplique */
    transform: translateX(-50%) translateY(-100%) !important;
    width: 90vw;
    padding: 10px;
  }

  .popup.hospitaletPopup img {
    max-width: 100%;
    max-height: 100vh;
  }
}

/********************************/
/********************************/
/*****footer****/
/* Footer Section */
/* Footer Section */
/********************************/
/********************************/

.img-eventos {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto;
}

.custom-margin {
  padding-left: 200px;
}

@media (max-width: 767.98px) {
}

.footer {
  background-color: black;
  color: white;
}

.footer h4 {
  color: #3b7c9b ;
  margin-top: 0;
  font-size: 20px;
  font-weight: bolder;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 10px;
  color: white;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Media Queries */
@media (max-width: 767.98px) {
 
  .footer .col-md-4 {
    margin-bottom: 20px;
  }


  .text-md-right {
    text-align: center !important;
  }

  .custom-margin {
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .footer .col-md-4 {
    text-align: center;
  }

  .footer .text-left,
  .footer .text-right {
    text-align: center;
  }
}

/* Font Awesome Icons */
.fab {
  margin-right: 8px;
}



/******************************************/
/************iconos redes sociales*************/


.list-unstyled {
  display: flex;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.list-unstyled li {
  margin-right: 20px;
}

.social-link {
  color: inherit;
  text-decoration: none;
}

.social-link i {
  font-size: 45px;
  margin-right: 8px;
}

.social-link .fa-facebook-f {
  color: #3b5998 !important;
}

.social-link .fa-instagram {
  color: #e4405f !important;
}

.social-link .fa-twitter {
  color: #1da1f2 !important;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
  .list-unstyled {
    display: flex;
    justify-content: center; /* Centra horizontalmente los ítems de la lista */
    padding-left: 0;
    margin: 0;
    list-style: none;
  }

  .list-unstyled li {
    margin-right: 10px; /* Ajusta el margen entre los ítems si es necesario */
  }

  .social-link i {
    font-size: 45px; /* Ajusta el tamaño de los íconos si es necesario */
    margin-right: 8px;
  }
}


/********************************/
/********************************/
/*******boton arriba*/
/********************************/
/********************************/
.btn-primary.back-to-top {
  position: fixed;
  bottom: 120px;
  right: 20px;
  background-color: #3b7c9b ;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary.back-to-top:hover {
  background-color: #007bff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary.back-to-top i {
  color: black;
  font-size: 20px;
}


.legal a {
    color: #3b7c9b; /* Color azul por defecto para los enlaces */
    font-size: 0.9rem; /* Tamaño de fuente más pequeño */
    text-decoration: none; /* Sin subrayado en los enlaces */
    padding: 0 5px; /* Espacio alrededor de los enlaces */
    transition: color 0.3s ease; /* Suaviza el cambio de color en hover */
}

.legal a:hover {
    color: white; /* Color más oscuro al pasar el mouse */
    text-decoration: underline; /* Subrayado al pasar el mouse */
}






/*boton-carta*/

.btn-carta {
  background-color: #1c5a7d !important; /* Fondo del botón */
  color: white !important;              /* Color del texto */
  border: 2px solid #1c5a7d;            /* Borde del botón */
  border-radius: 5px;                   /* Bordes redondeados */
  
  text-align: center;                   /* Centrar el texto */
  text-transform: uppercase;            /* Texto en mayúsculas */

  transition: background-color 0.3s, border-color 0.3s; /* Efecto suave */
}

/* Estilo en hover */
.btn-carta:hover {
  background-color: white !important;   /* Fondo blanco en hover */
  color: #1c5a7d !important;           /* Texto en el color principal */
  border-color: #1c5a7d;               /* Mantener el borde del color principal */
}

.copyright{
  color: white;
}




.evengroup li {
  margin-bottom: 10px; /* Espaciado entre las líneas */
  display: flex; /* Alinea ícono y texto en una sola línea */
  align-items: center; /* Alinea verticalmente */
}

.evengroup i {
  color: #395998; /* Color azul para los íconos */
  margin-right: 10px; /* Separación entre ícono y texto */
}

.evengroup li a {
  color: white; /* Color blanco para los enlaces */
  text-decoration: none; /* Sin subrayado */
}

.evengroup li a:hover {
  color: #395998; /* Color azul en hover */
}

.evengroup ul li {
  margin-bottom: 5px; /* Espaciado entre horarios */
}
