@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat';
}

html {
    scroll-behavior: smooth;
}
/* *********************/
/* seccion I N I C I O */
/* *********************/

#inicio {
    background: linear-gradient( rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url("/assets/img/noticiasmain.png");
    background-size: cover;
    background-position: center center;
    height: 60vh;
}

#inicio .contenido header {
    background-color: rgba(0, 0, 0, .8);
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
    height: 50px;
}

#inicio .contenido header .contenido-header {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

#inicio .contenido header .contenido-header h1 {
    text-align: center;
    color: #7474d2;
}

#inicio .contenido header .contenido-header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

#inicio .contenido header .contenido-header nav ul li a {
    text-decoration: none;
    color: #fff;
    margin: 0 12px;
    font-weight: 400;
    transition: .5s;
}

#inicio .contenido header .contenido-header nav ul li a:hover {
    color: #7474d2;
}

#inicio .contenido header .contenido-header .redes a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    margin-left: 10px;
    transition: .5s;
}

#inicio .contenido header .contenido-header .redes a:hover {
    color: #7474d2;
}

#inicio .contenido header .contenido-header .seleccionado {
    color: #7474d2;
}

#inicio .contenido .presentacion {
    max-width: 1100px;
    height: 60vh;
    margin: auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#inicio .contenido .presentacion .bienvenida {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

#inicio .contenido .presentacion h2 {
    font-size: 55px;
    margin-bottom: 25px;
    text-align: center;
}

#inicio .contenido .presentacion h2 span {
    font-size: 25px;
    color: #7474d2;
}

#inicio .contenido .presentacion .descripcion {
    max-width: 750px;
    margin: 25px auto;
    font-size: 18px;
    text-align: center;
}

#inicio .contenido .presentacion a {
    text-decoration: none;
    display: inline-block;
    margin: 25px;
    padding: 20px 25px;
    border: 2px solid #fff;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    transition: .5s;
}

#inicio .contenido .presentacion a:hover {
    background-color: #7474d2;
}

#icono-nav {
    color: #fff;
    display: none;
}

@media screen and (max-width: 800px) {
    .redes {
        display: none;
    }
    nav {
        display: none;
    }
    nav.responsive {
        display: block;
        background-color: rgba(0, 0, 0, .8);
        width: 100%;
        position: absolute;
        top: 50px;
        left: 0;
        padding: 10px 0;
    }
    nav.responsive ul {
        display: block !important;
        text-align: center;
    }
    nav.responsive ul li {
        margin: 5px 0;
    }
    #icono-nav {
        display: block;
    }
    #inicio .contenido .presentacion h2 {
        font-size: 40px;
    }
}

  /* FOOTER */

  #footer {
    background-color: #000000;
    color: #fff;
    padding-top: 50px;
    padding-bottom: 0px;
  }
  
  .contenedor-footer {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }
  
  #footer h2, 
  #footer h3 {
    color: #7474d2;
  }
  
  #footer p {
    color: #ccc;
  }
  
  .info {
    max-width: 350px;
    margin-right: 50px;
  }
  
  .contacto {
    max-width: 250px;
    margin-right: 50px;
  }
  
  .redes-footer {
    max-width: 250px;
  }
  
  .redes-footer .iconos-redes-footer a {
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: #000;
    text-align: center;
    transition: .3s;
  }
  
  .redes-footer .iconos-redes-footer a:hover {
    color: #7474d2;
  }
  
  .derechos-de-autor {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #000;
    margin-top: auto;
    bottom: 0;
}
  
  @media screen and (max-width: 800px){
    .contenedor-footer {
      flex-direction: column;
      align-items: center;
    }
  
    .info {
      margin-right: 0;
      margin-bottom: 20px;
    }
  
    .contacto {
      margin-right: 0;
      margin-bottom: 20px;
    }
  
    .redes-footer {
      margin-right: 0;
    }
  }






#noticia {
    background-image: linear-gradient(135deg, transparent 34.15%, rgba(136, 136, 136, 0.125) 33.33%, rgba(133, 135, 136, 0) 66.66%, transparent 66.66%), linear-gradient(180deg, rgba(21, 27, 63, 0), rgba(15, 20, 47, 0));
    margin: auto;
    padding: 100px 15px;
    color: #111135;
    display: flex;
    align-items: center;
    justify-content: center;
}
#noticia .redes{
    font-size: 35px;
    text-align: right;
    margin: 5px;
    color: #969696;
    margin-bottom: 15px;
}
#noticia .redes i{
    margin-right: 25px;
}


/* Estilos específicos para cada red social */
#noticia .redes a i.fa-facebook-f {
    color: #1877f2; /* Color de Facebook */
    transition: 0.3s; /* Transición suave al hacer hover */

}
#noticia .redes a i.fa-facebook-f:hover  {
    color: #1354aa; /* Color de Facebook */
}

#noticia .redes a i.fa-twitter {
    color: #1da1f2; /* Color de Twitter */
    transition: 0.3s; /* Transición suave al hacer hover */
}
#noticia .redes a i.fa-twitter:hover {
    color: #187dbd; /* Color de Twitter */

}
#noticia .redes a i.fa-instagram {
    color: #f65371; /* Color de Instagram */
    transition: 0.3s; /* Transición suave al hacer hover */
}
#noticia .redes a i.fa-instagram:hover{
    color: #ce2f4c; /* Color de Instagram */

}
#noticia .redes a i.fa-whatsapp {
    color: #25d366; /* Color de WhatsApp */
    transition: 0.3s; /* Transición suave al hacer hover */
}
#noticia .redes a i.fa-whatsapp:hover{
    color: #1ea650; /* Color de WhatsApp */
}


#noticia .contenido-noticia{
    width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
}
#noticia .intro-noticia {
    max-width: 750px;
    display: flex;
    flex-direction: column;
}

#noticia .intro-noticia .fecha{
    font-size: 14px;
    text-align: right;
    margin: 5px;
    color: #969696;
    margin-bottom: 15px;
}

#noticia .intro-noticia h4 {
    font-size: 40px;
    text-transform: uppercase;
    color: black;
    margin-bottom: 30px;
}

#noticia .intro-noticia p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #5E5E5E;
}

#noticia .imagen-noticia {
    max-width: 750px;
    margin-right: 80px;
}

#noticia .imagen-noticia img {
    width: 100%;
}

#noticia .imagen-noticia .epigrafe {
    font-size: 12px;
    color: #5E5E5E;
    margin-bottom: 15px;
}

#noticia .info-noticia{
    max-width: 750px;
    display: flex;
    flex-direction: column;
}

#noticia .info-noticia p {
    font-size: 1em;
    margin-bottom: 40px;
    color: #5E5E5E;
}














#novedades {
    background-image: linear-gradient(45deg, transparent 34.15%, rgba(33, 33, 33, 0.125) 33.33%, rgba(10, 10, 10, 0) 66.66%, transparent 66.66%), linear-gradient(180deg, rgba(21, 27, 63, 0), rgba(15, 20, 47, 0));
    max-width: 1100px;
    margin: auto;
    padding: 50px 0;
    text-align: left;
  }
  
  #novedades h3 {
    margin-left: 30px;
    font-size: 28px;
    color: #111135;
    margin-bottom: 30px;
  }
  
  #novedades .fila {
    margin: auto;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: baseline;
  }
  
  #novedades .card-novedad {
    width: calc(33.33% - 40px);
    height: 250px;
    margin: 20px;
    padding: 0px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
  }
  
  #novedades .card-novedad img {
    width: 100%;
    height: 100%; /* Añadido para asegurar que la imagen ocupe toda la altura de la tarjeta */
    object-fit: cover; /* La imagen se ajustará manteniendo su relación de aspecto y cubriendo completamente el contenedor */
    border-radius: 10px;
    transition: transform 0.3s ease-out;
    transform-origin: center center;
  }
  
  #novedades .card-novedad:hover img {
    transform: scale(1.1) translate(calc((var(--mouseX) - 50%) * 0.015), calc((var(--mouseY) - 50%) * 0.015));
  }
  
  
  #novedades .card-novedad .info-noticia {
    height: 100%;
    width: 100%;
    background-color: rgba(116, 116, 210, 0.0);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: background-color 0.5s ease, opacity 0.5s ease;
    padding: 10px;
    padding-top: 30px;
  }
  
  #novedades .card-novedad:hover .info-noticia {
    background-color: rgb(17, 17, 53, 0.9);
    opacity: 1;
  }
  
  #novedades .card-novedad h4,
  #novedades .card-novedad .fecha,
  #novedades .card-novedad p,
  #novedades .card-novedad a {
    margin: 0;
    z-index: 2; /* Asegura que el texto esté sobre la imagen */
    position: relative; /* Para que el z-index funcione */
  }
  #novedades .card-novedad .info-noticia h4{
    color: #7474d2;
    font-size: 1em;
    font-weight: 400;
    text-align: right;
    width: calc(100% - 30px);
  }
  #novedades .card-novedad .info-noticia span{
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 400;
  }
  #novedades .card-novedad .info-noticia .fecha span{
    color: #7474d2;
    font-size: 1.1em;
    font-weight: 400;
  }
  #novedades .card-novedad .info-noticia .fecha{
    color: #ffffff;
    font-size: 0.7em;
    font-weight: 400;
    text-align: right;
    width: calc(100% - 30px);
  }
  #novedades .card-novedad .info-noticia .descripcion{
    top: 10px;
    color: #ffffff;
    font-size: 0.8em;
    font-weight: 400;
    text-align: right;
    width: calc(100% - 30px);
  }
  #novedades .card-novedad .info-noticia a{
    margin-top: auto;
    color: #7474d2;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 400;
    text-align: left;
    width: calc(100% - 30px);
  }
  #novedades .card-novedad .info-noticia a:hover{
    font-weight: 500;
    color: #8585d1;
  }
  #novedades .card-novedad:hover h4,
  #novedades .card-novedad:hover .fecha,
  #novedades .card-novedad:hover p,
  #novedades .card-novedad:hover a {
    opacity: 1;
  }
  
  
  @media screen and (max-width: 800px) {
    #novedades .card-novedad {
      width: calc(50% - 30px);
    }
  }
  
  @media screen and (max-width: 600px) {
    #novedades .card-novedad {
      width: calc(100% - 20px);
    }
  }
  @media screen and (max-width: 800px) {
#novedades h3{
font-size: 1.6em;
}
    #noticia .imagen-noticia{
      width: 100%;
    }
    #noticia .intro-noticia h4{
      font-size: 1.6em;
    }
  }