.layout__menu-toggle{
    display: none;
}

@media (max-width: 1490px){
    body{
        padding: 0;
    }
    .layout{
        min-width: auto;
        width: 85%;
    }

    
.user-info__job{
    /* margin: 0 auto; */
   width: 26rem;
}


}

@media (max-width: 1320px){
    .layout{
        width: 89%;
        margin-left: 3rem;
    }

      
.user-info__job{
    margin: 0 auto;
   width: 24rem;
}

 
}

@media (max-width:1160px){


    .layout{
        width: 85%;
        margin-left: 3rem;
    }

    .certificates__certificate{
        flex-basis: 100%;
    }
     
    .user-info__job{
        margin: 0 auto;
    width: 20rem;
    }
}

/* prueba en portatil */
@media (max-width: 1150px){
    .imagenes .texto{
    width: 60rem;
    margin: 0;
    padding: 0;
    }

    .img{
        height: 27rem;
    }

    .page__name{
        font-size: 4rem;
    }

    .page__job{
    font-size: 1.5rem;
}


.imagenes:hover .texto{
    transition: height 1s, transform 1s, background-color 1s;
    transform: translateY(-1rem);
    height: 24rem;
    background-color: rgba(63, 106, 138, 0.71);
}

.texto h3{
    font-size: 16px;
}
/* 
.texto p{
    font-size: 16px;
} */

}
/* fin prueba en portatil */

@media (max-width: 1060px){
    body{
        background-image: none;
        position: static;
    }
    
    .layout{
        width: 100%;
        height: 100%;
        min-height: 100%;
        margin: 0;
        border-radius: 0;

        grid-template-areas: "content";
        grid-template-columns: 100%;
    }

    .layout__menu-toggle{
        z-index: 9999;
        display: block;
        position:absolute;
        right: 1rem;
        top: 1rem;
        width: 4.8rem;
        height: 4.8rem;
        line-height: 4.8rem;
        font-size: 2.5rem;
        text-align: center;
        background-color: var(--color-secundario);
        color: var(--color-principal);
        border-radius: 3rem;
        cursor: pointer;
        transition: all 300ms ease-in-out;

    }

    .menu-toggle__icon{
        color: var(--color-principal);
        display: block;
        position: absolute;
        top: 25%;
        left: 28%;
        transition: all 300ms ease-in-out;
    }



    .fa-bars{
        opacity: 1;
    }

    .fa-xmark{
        opacity: 0;
    }

    .layout__aside{
        z-index: 999;
        display: block;
        position: absolute;
        max-width: 33rem;
        top: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        text-align: center;
        overflow: auto;
        transition: all 300ms ease-in-out;

        margin-right: -100%;
        opacity: 0;
    } 

    .layout__aside--visible{
        width: 100%;
        margin-right: 0;
        opacity: 1;
    }

    .layout__aside--hidden{
        margin-right: -100%;
        opacity: 0;
    }

    .user-info__container-image{
        width: 13rem;
        margin-top: 3rem;
        display: inline-block;


    }

    .user-info__name{
        font-size: 2rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .menu__list{
        position: static;
        width: 100%;
        background-color: var(--color-secundario);
        box-shadow: none;
        margin-left: 0;
        padding: 0;
        min-height: auto;
    }

    .menu__link{
        text-decoration: none;
        display: block;
        padding: 0.8rem 0;
    }
    
    .menu__icon{
        display: none;
    }

    .menu__overlay{
        position: static;
        opacity: 0.7;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        font-size: 1.6rem;

    }

    .menu__link--active .menu__overlay{
        opacity: 1;
    }
    
    .layout__menu{
        position: static;
        margin: 3rem 0;
    }

    .links__social{
        margin-top: 0;
    }

    .user-info__footer{
        position: static;
        padding-bottom: 2rem;
    }

    .layout__content{
        border-radius: 0;
        background-color: transparent;
        height: 100%;
        width: 100%;
    }

    .content__page{
        border-radius: 0;
        height: 100vh;
    }
     
 
}

@media (max-width: 800px){
    h1{
        margin: 0 auto;
        text-align: center;
    }

    .page__job{
        text-align: justify;
    }

    .imagenes .texto {
    width: 60rem;
    height: 11rem;
    align-items: center;
    }

    .texto h3 {
        padding-top: 1rem;

    }

    .reviews__container{
        flex-direction: column;
    }
    .reviews__review{
        margin-top: 6rem;
        flex-basis: 100%;
    }

    .clients__container{
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .prices__container{
        flex-direction: column;

    }

    .prices__box{
        flex-basis: 100%;
        margin: 0;
    }

    .prices__box:last-child{
        margin-top: 2rem;
    }

    .gallery__item{
        flex-basis: 50%;
    }

    .articles__article{
        flex-basis: 100%;
    }
}


@media (max-width: 680px){
    .imagenes .texto {
    width: 50rem;
    height: 11rem;
    align-items: center;
    }
}

@media (max-width: 585px){

    
    .imagenes .texto {
    width: 45rem;
    height: 11rem;
    align-items: center;
    }

    .about__personal-info{
        flex-direction: column;
    }


    .personal-info__data{
        flex-basis: 100%;
        padding: 0;
        margin-top: 2rem;
    }


    .services__container{
        flex-direction: column;
        flex-wrap: wrap;

    }

    .services__service{
        width: 100%;
        margin-right: 0;
    }

    .extra__container{
        flex-direction: column;
        gap: 2rem;
    }

    .resume__container{
        flex-direction: column;
    }

    .resume__right{
        flex-basis: 100%;
        padding: 0;
        margin-bottom: 3rem;
    }

    .contact__container{
        flex-direction: column;
    }
}

@media (max-width: 514px) {
    .imagenes .texto{
        width: 42rem;
    }

    
    .texto h3{
    padding-top: 5rem;
    font-weight: 300;
    font-size:12px;
    }

    .imagenes:hover .texto p{
        font-size: 12px;
        /* scroll-behavior: auto ; */
    }
}

@media (max-width: 480px){
    .page__name{
        font-size: 4.5rem;
        line-height: 5.6rem;
        text-align: center;
    }

    .page__job{
        font-size: 1.6rem;
    }

    .certificate__logo{
        width: 100%;
    }

    .gallery__item{
        flex-basis: 100%;
    }

    .form__container{
        display: flex;
        flex-direction: column;
    }

    .form__left{
        flex-basis: 100%;
        margin-right: 0;
    }

    .form__right{
        flex-basis: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .imagenes .texto{
        width: 30rem;
    }

    .texto h3{
    padding-top: 5rem;
    font-weight: 300;
    font-size:12px;
    }

    .imagenes:hover .texto p{
        font-size: 12px;
      
    }
}