@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/business-people-making-deal-free-photo.jpg");
    background-size: cover;
    background-position: top center;
    height: 70vh;
}

#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);
    }
  }


  /* *********************/
/* seccion S E R V I C I O S */
/* *********************/

#servicios {
    background: linear-gradient( #7474d2, #2c2c5ad5), url("/assets/img/fondonosotros.webp");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 100px 15px;
    text-align: center;
    background-color: #f3f3f3;
}

#servicios .titulo-seccion {
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    color: #000000;
    text-decoration: underline;
    text-decoration-color: #6c6c6c00;
    text-decoration-thickness: 5px;
}

#servicios .fila {
    display: flex;
    justify-content: space-between;
    max-width: 1150px;
    margin: 30px auto;
}

#servicios .fila .servicio {
    max-width: 350px;
    background-color: #fff;
    padding: 30px;
    margin: 0 5px;
    border-radius: 5px;
    transition: .5s;
}

#servicios .fila .servicio:hover {
    box-shadow: 5px 5px 10px #292961, -5px -5px 10px #0e0e3c;
}

#servicios .fila .servicio .icono {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d3d3d3;
    padding: 20px;
    margin-bottom: 25px;
}

#servicios .fila .servicio h4 {
    font-size: 22px;
    margin-bottom: 25px;
}

#servicios .fila .servicio hr {
    width: 30%;
    margin: auto;
    color: #000;
    margin-bottom: 25px;
}

#servicios .fila .servicio ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

#servicios .fila .servicio p {
    font-size: 14px;
    line-height: 22px;
}

/* Questions */

.questions{
    text-align: center;
    max-width: 1100px;
    margin: auto;
    padding: 100px;
}
.questions .subtitle{
    margin-bottom: 15px;
}
.questions__container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
}

.questions__padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid #5454D4;
    border-radius: 6px;
}

.questions__padding--add{
    padding-bottom: 30px;
}

.questions__answer{
    padding: 0 30px 0;
    overflow: hidden;
}

.questions__title{
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
    
}

.questions__arrow{
    border-radius: 50%;
    background-color: var(--color-title);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition:  transform .3s;
}

.questions__arrow--rotate{
    transform: rotate(180deg);
}

.questions__show{
    text-align: left;
    height: 0;
    transition: height .3s;
}

.questions__img{
    display: block;
}

.questions__copy{
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}


#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 (max-width:800px){
    .questions{
        padding-top: 50px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 50px;
    }
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show{
        --show: block;
        opacity:1 ;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .hero__title{
        font-size: 2.5rem;
    }


    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }


    .knowledge__container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .knowledge__picture{
        grid-row: 1/2;
        justify-self: center;
    }

    .testimony__container{
        grid-template-columns: 30px 1fr 30px;
    }

    .testimony__body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items:center ;
    }


    .testimony__img{
        width: 200px;
        height: 200px;
        
    }

    .questions__copy{
        width: 100%;
    }

    .footer__container{
        flex-wrap: wrap;
    }

    .nav--footer{
        width: 100%;
        justify-items: center;
    }

    .nav__link--footer{
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .footer__form{
        width: 100%;
        justify-content: space-evenly;
    }

    .footer__input{
        flex: 1;
    }

}

@media (max-width:600px){
    .hero__title{
        font-size: 2rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }

    .price__element{
        width: 90%;
    }

    .price__element--best{
        width: 90%;
        /* padding: 40px; */
    }

    .price__price{
        font-size: 2rem;
    }

    .testimony{
        --padding-container: 60px 0;
    }

    .testimony__container{
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .testimony__arrow{
        width: 100%;
    }

    .testimony__course{
        margin-top: 15px;
    }

    .questions__title{
        font-size: 1rem;
    }

    .footer__title{
        justify-self: start;
        margin-bottom: 15px;
    }

    .nav--footer{
        padding-bottom: 60px;
    }

    .nav__link--footer{
        justify-content: space-between;
    }

    .footer__inputs{
        flex-wrap: wrap;
    }

    .footer__input{
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }

    .footer__submit{
        margin-right: auto;
        margin-left: 0;
        

        /* 
        margin:0;
        width: 100%;
        */
    }
}



@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;
    }
}