/* estilos.css */
body {
  position: relative;
  width: 100%; 
  height: 100%; 
  font-family: 'Montserrat';
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  /*background-color: #ffffff;*/
  background-image: url('img/fondopri3.png');
  background-repeat: repeat; /* agrega esta propiedad */
  background-size: 100%; /* puedes ajustar el tamaño de la imagen si es necesario */
  opacity: 0.10;
  z-index: -1;
}

.header {
    background-color: #024555;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    align-items: center;
    align-content: center;
    position: fixed;
    border: 1px solid #48bece;
    border-radius: 50px;
    top: 10px;
    width: 95%;
    height: 70px;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%);
    padding: auto;
  }
  
  .header-logo {
    float: left;
    margin-top: 10px;
    margin-left: 20px;
    width: 100px;
    height: auto;
    padding: 10px;
    margin: 0;
  }

  .header-logo img {
    margin-left: 20px;
    width: 100%;
    height: auto;
  }
  
  .header-titulo {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    padding-left: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

  }

  .header-boton {
    
    display: flex;
    float: right;
    position: relative;
    text-decoration: none;
    margin: 0;
    padding: 0;
  }
  
  .header-boton nav ul li {
    background-color: #db4b13;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin: 2px 10px 0 0;
    border-radius: 5px;
  }

  /* Media query para pantallas de dispositivos móviles */
@media (max-width: 768px) {
  .header-boton {
    display: flex;
    float: right;
    position: relative;
    text-decoration: none;
    margin: 0;
    padding: 0;
  }
  .header-boton nav ul li {
    background-color: #db4b13;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0;
    width: 40px;
    height: 40px;
    margin: 2px 10px 0 0;
    border-radius: 5px;
    
  }
  

}

  .header-boton a {
    color: #ffffff;
    text-decoration: none;
  } 

  

  /* Estilos para dispositivos móviles */
@media only screen and (max-width: 768px) {
    .header-titulo {
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 15px;
    }
  }

  nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    cursor: pointer;

}

nav ul li {
    --c: #ffffff;
    color: var(--c);
    background-color: #db4b13;
    font-size: 14px;
    border: 0.1em solid var(--c);
    border-radius: 0.5em;
    width: 10em;
    /* text-transform: uppercase; */
    font-weight: bold;
    /*letter-spacing: 0.1em;*/
    text-align: center;
    line-height: 3em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.5s;
    margin: 1em;
}

nav ul li span {
    position: absolute;
    width: 25%;
    height: 100%;
    background-color: var(--c);
    transform: translateY(150%);
    border-radius: 50%;
    left: calc((var(--n) - 1) * 25%);
    transition: 0.5s;
    transition-delay: calc((var(--n) - 1) * 0.1s);
    z-index: -1;

}

nav ul li::before {
  content: "\f0c9"; /* código del icono de flecha derecha */
  font-family: "FontAwesome"; /* fuente del icono */
  font-size: 16px;
  font-weight: lighter;
  margin-right: 5px; /* espacio entre el icono y el texto */
}



nav ul li:hover {
    color: #db4b13;
}

nav ul li:hover span {
    transform: translateY(0) scale(2);
}

nav ul li span:nth-child(1) {
    --n: 1;
}

nav ul li span:nth-child(2) {
    --n: 2;
}

nav ul li span:nth-child(3) {
    --n: 3;
}

nav ul li span:nth-child(4) {
    --n: 4;
}
  
  .contenido-principal {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
  }


  .contenido-principal {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    padding: 2em;
  }
  
  .contenido-principal-titulo {
    margin-top: 70px;
    color: #db4b13;
    font-size: 50px; /*4vw;*/
    /*font-weight: bold;*/
    padding: 0;
    text-shadow: #9c9b9b 2px 2px 2px;
    text-align: center;
    margin-bottom: 0;
   
  }
  
  .contenido-principal-descripcion {
    color: #db4b13;
    font-size: 60px; /*6vw;*/
    /*font-weight: bold;*/
    padding: 0;
    text-shadow: #9c9b9b 2px 2px 2px;
    text-align: center;
    
  }

  p {
  font-family: 'Marcellus', sans-serif;
  line-height: 1;
  }

  /* Estilos para dispositivos móviles */
  @media only screen and (max-width: 768px) {
    .contenido-principal-titulo {
      margin-top: 70px;
      color: #db4b13;
      font-size: 25px; /*4vw;*/
      /*font-weight: bold;*/
      padding: 0;
      text-shadow: #9c9b9b 2px 2px 2px;
      text-align: center;
      margin-bottom: 0;                      
    }
    .contenido-principal-descripcion {
      color: #db4b13;
      font-size: 35px; /*6vw;*/
      /*font-weight: bold;*/
      padding: 0;
      text-shadow: #9c9b9b 2px 2px 2px;
      text-align: center;
      
    }
  }

  .slide {
    position: relative;
    width: 95%;
    height: 40vh;
    padding: 0;
  }
  
  .slide-container {
    position: absolute;
    top: 65px; /* Ajusta este valor según la altura del header */
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 5px 5px 5px #9d9d9ec4;
    border: #e8bc1c solid 1px;
    border-radius: 10px;

  }
  
  .slide-imagen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide-imagen.show {
    transform: translateX(0);
  }

  .slide-imagen.hide {
    transform: translateX(-100%);
  }
  
  .slide-prev {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.527);
    background-color: #ffffff00;
    border: none;
    padding: 10px 20px;
    font-size: 30px;
    cursor: pointer;
  }

  .slide-prev:focus,
.slide-next:focus {
  background-color: transparent;
  border: none;
  outline: none;
}
  

  
  .slide-next {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.527);
    background-color: #ffffff00;
    border: none;
    padding: 10px 20px;
    font-size: 30px;
    cursor: pointer;
  }

  .separador {
    height: 20px; /* ajusta el valor según sea necesario */
    background-color: #ccc; /* ajusta el color según sea necesario */
    
  }

  .linea-naranja {
    border: none; /* elimina el borde por defecto */
    height: 2px; /* ajusta el valor según sea necesario */
    background-color: #FFA07A; /* ajusta el color según sea necesario */
   
  }

  .card-container {
    margin-top: 60px; /* ajusta el valor según sea necesario */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    clear: both;
    position: relative;
    
  }
  
  .card {
    margin: 20px;
    width: 280px;
    min-width: 230px;
    /*min-height: 50px;*/
    background-color: #fff;
    border: 1px solid #809ed1;
    border-radius: 10px;
    box-shadow: 5px 5px 5px #5989b3c4;
    position: relative; /* Agregamos position: relative */
    transition: transform 0.5s ease-in-out; /* Transición para el efecto de escala */
    height: 500px;
  }

  
  .card:hover {
    transform: scale(1.1); /* Aumentamos el tamaño del card al colocar el puntero del mouse sobre él */
    animation: aumentar-tamaño 0.5s ease-in-out forwards;
  }
  
  
  .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 10px 10px
    /*opacity: 0.20;*/
  }
  
  .card-content {
  position: relative; /* Agregamos position: absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }
  
  .card-title {
    display: flex;
    font-size: 16px;
    color: #23527c;
    font-weight: bold;
    margin-bottom: 10px;
    z-index: 1000;
  }

  .card-title-2 {
    font-size: 50px;
    color: #23527c;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .card-subtitle {
    font-size: 22px;
    color: #666;
    margin-bottom: 10px;
 
  }

  .card-enlace{
    display: block;
    background-color: #024555; /* fondo verde */
    color: #fff;
    padding: 10px;
    text-align: center;
    width: 100%; /* ancho del enlace igual al ancho del card */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute; /* agregamos posición absoluta */
    bottom: 0; /* lo colocamos en la parte inferior */
  }
  
  .card-link {
    text-decoration: none;
    color: #ffffff;
    padding-top: 50px;
   
  }

  .card-link::before {
    content: "\f1c1"; /* código del icono de flecha derecha */
    font-family: "FontAwesome"; /* fuente del icono */
    font-size: 16px;
    font-weight: lighter;
    margin-right: 5px; /* espacio entre el icono y el texto */
  }
  
  .card-link:hover {
    color: #ebc11e;
    /*font-weight: bold;*/
  }


  .btn {
    display: inline-block;
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
    background-color: #f29e07;
    color: #fff;
    cursor: pointer;
    box-shadow: #666 0px 5px 15px;
    margin-top: 80px; /* agrega un margen superior de 10px */
    font-size: 14px;
  }
  
  .btn::before {
    content: "\f091"; /* código del icono de flecha derecha */
    font-family: "FontAwesome"; /* fuente del icono */
    margin-right: 5px; /* espacio entre el icono y el texto */
  }

  .btn:hover {
    background-color: #f29e07;
  }
  
  .btn-primary {
    background-color: #024555;
  }
  
  

/* Animación para que los cards aparezcan */

@keyframes aparecer {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}

  .imagenes-container {
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50vh; /* Agrega esta propiedad para establecer la altura del contenedor en la altura de la viewport */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* Agrega esta propiedad para centrar las imágenes verticalmente */

}

  
  .imagen-item {
    width: calc(20vw - 20px); /* establece el ancho de la imagen al 25% del ancho de la pantalla, menos 20px */
    min-width: 200px; /* establece un mínimo de ancho de 200px */
    /* resto de estilos */
    margin: auto;
    justify-content: center;
    display: inline-block;
   
  }

  /* Estilos para dispositivos móviles */
  @media only screen and (max-width: 768px) {
    .imagen-item {
      top: 100px;
      width: calc(25vw - 20px); /* establece el ancho de la imagen al 25% del ancho de la pantalla, menos 20px */
      
      /* resto de estilos */
      margin: auto;
      justify-content: center;
      display: inline-block;                        
    }
  }
  
  .imagen-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
  
  }
  
  .imagen-item img:hover {
    transform: scale(1.1);
  }
  
  .imagen-item img:active {
    transform: scale(0.9);
  }
  
  .imagen-item img {
    animation: aparecer 1s ease-in-out;
  }

    
  .imagen-item img {
    cursor: pointer;
  }
  
  .imagen-item img:active {
    cursor: grabbing;
  }


  .footer {
    background-color: #005670;
    color: #fff;
    padding: 1em;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /*z-index: 1000;*/
  }
  
  .footer-texto {
    font-size: 16px;
    margin: 0;
    padding: 0;
    
  }

   /* Estilos para dispositivos móviles */
@media only screen and (max-width: 768px) {
    .footer-texto {
      font-size: 12px;
      margin: 0;
      padding: 0;
      
    }
  }
  .footer-texto a {
    color: #fff;
    text-decoration: none;
  } 

