@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/fondoafiliados.jpeg");
    background-size: cover;
    background-position: center center;
    height: 100vh;
}

#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: 100vh;
    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;
}
/* *********************/
/* seccion S O B R E  M I */
/* *********************/

#sobremi {
    max-width: 1100px;
    margin: auto;
    padding: 100px 15px;
    color: #111135;
    display: flex;
}

#sobremi .contenedor-foto {
    max-width: 400px;
    margin-right: 80px;
}

#sobremi .contenedor-foto img {
    padding: 20px;
    width: 100%;
    border-radius: 20px;
    background-color: #f3f3f3;
}

#sobremi .sobremi {
    margin: 0 40px;
}

#sobremi .sobremi .titulo-seccion {
    font-size: 22px;
    text-transform: uppercase;
    color: #111135;
    text-decoration: underline;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 5px;
}

#sobremi .sobremi h2 {
    font-size: 34px;
    font-weight: bold;
    margin: 20px 0;
    letter-spacing: 2px;
}

#sobremi .sobremi h2 span {
    color: #7474d2;
}

#sobremi .sobremi h3 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

#sobremi .sobremi p {
    font-size: 14px;
    line-height: 25px;
    color: #565656;
    margin-bottom: 12px;
}

#sobremi .sobremi a {
    display: inline-block;
    text-decoration: none;
    color: #000;
    border-radius: 30px;
    border: 1px solid #000;
    padding: 10px 20px;
    margin-top: 30px;
    transition: .5s;
}

#sobremi .sobremi a:hover {
    background-color: #7474d2;
    color: #fff;
}
#sobremi .sobremi ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    list-style: none;
}
#sobremi .sobremi ul .fila{
    display: flex;
    flex-direction: column;
}
#sobremi .sobremi ul .fila li{
    width: 80%;
    font-size: 14px;
    line-height: 25px;
    color: white;
    margin-bottom: 12px;
}

@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;
    }
    /* seccion SOBRE MI */
    #sobremi {
        padding: 50px 0;
        display: block;
    }
    #sobremi .contenedor-foto {
        max-width: 200px;
        margin: auto;
    }
    #sobremi .contenedor-foto img {
        padding: 8px;
    }
    #sobremi .sobremi .titulo-seccion {
        text-align: center;
    }
    #sobremi .sobremi h2 {
        font-size: 25px;
        text-align: center;
    }
    /* seccion MIS SERVICIOS */
    #servicios {
        padding: 50px 15px;
    }
    #servicios .fila {
        display: block;
    }
    #servicios .fila .servicio {
        margin: 10px auto;
    }
    /* seccion HABLIDADES MI */
    .contenedor-skills {
        padding: 50px 20px;
    }
    /* seccion PORTFOLIO */
    #portfolio {
        padding: 50px 0;
    }
    #portfolio .fila {
        display: block;
    }
    #portfolio .fila .proyecto {
        margin: 10px auto;
    }
    /* seccion CONTACTO */
    #contacto {
        padding: 50px 15px;
    }
    #contacto .contenedor-form .mitad {
        margin-bottom: 15px;
        display: block;
    }
    #contacto .contenedor-form .mitad input {
        width: 100%;
        margin-bottom: 15px;
    }
    #sobremi .sobremi ul{
        display: flex;
        flex-direction: column;
        gap: 0px;
        list-style: circle;
    }
    #sobremi .sobremi ul .fila{
        display: flex;
        flex-direction: column;
    }
    #sobremi .sobremi ul .fila li{
        width: 100%;
        font-size: 14px;
        line-height: 25px;
        color: white;
        margin-bottom: 12px;
    }
    .logos{
        width: 100%;
        height: auto !important;
    }
}
#novedades {
    background-color: #f5f5f5;
    padding: 50px 0;
    text-align: center;
  }
  
  #novedades h3 {
    font-size: 28px;
    color: #111135;
    margin-bottom: 30px;
  }
  
  #novedades .fila {
    margin: auto;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  #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);
    }
  }

  /* 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;
    }
  }

#formulario{
    padding-top: 100px ;
    padding-bottom: 100px ;
    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));

}
#formulario h2{
  color: #333;
  text-align: center;
}

form {
  max-width: 600px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin: 10px 0 5px;
  color: #555;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: #7272d4;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

button:hover {
  background-color: #111135;
}