.layout__menu-toggle{
    display: none;
}

.centro__izquierda{
    flex-basis: 30%;
}

@media (max-height: 865px) {
    .centro__izquierda{
        flex-basis: 28.5%;
    }

    .centro__derecha{
        flex-basis: 72%;
    }
    /* .centro__izquierda{
        flex-basis: 26%;
    }

    .centro__derecha{
        flex-basis: 72%;
    } */
}

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

    .bordeInverso__centro{
        flex-basis: 75%;
    }

    .bordeInverso__izquierda{
        flex-basis: 12.5%;
    }

    .bordeInverso__derecha{
        flex-basis: 12.5%;
    }
}


@media (max-width: 1700px) and (max-height: 740px) {
    .bordeInverso__izquierda{
        flex-basis: 12.5%;
    }
  }


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

    .bordeInverso__centro{
        flex-basis: 85%;
    }

    .bordeInverso__izquierda{
        flex-basis: 7.5%;
    }

    .bordeInverso__derecha{
        flex-basis: 7.5%;
    }
}

@media (max-width: 1490px) and (max-height: 740px) {
    .bordeInverso__derecha{
        flex-basis: 13.5%;
    }
    .bordeInverso__izquierda{
        flex-basis: 10.3%;
    }  
}

@media (max-width:1320px){

    .layout{
        width: 89%;
        /* margin-left: 3rem; */
    }

    .bordeInverso__centro{
        flex-basis: 89%;
    }

    .bordeInverso__izquierda{
        flex-basis: 5.5%;
    }

    .bordeInverso__derecha{
        flex-basis: 5.5%;
    }

    .menu__list{
        width: 50%;
        margin-left: 1.3rem;
    }
}

@media (max-width: 1320px) and (max-height: 740px) {
    .bordeInverso__derecha{
        flex-basis: 7.5%;
    }

    .bordeInverso__izquierda{
        flex-basis: 6.3%;
    }
}

@media (max-width: 1250px){
    .menu__list{
        margin-left: 1.1rem;
    }
}


@media (max-width: 1200px){

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

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

    .services__container{
        flex-direction: column;
    }

    .services__service{
        margin-right: 0;
        margin-bottom: 3rem;
        flex-basis: 100%;
    }

    .resume__container{
        flex-direction: column;
    }

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

    .contact__container{
        flex-direction: column;
    }

    .personal-info__description{
        /* justify-content: center; */
        margin-bottom: 3rem;
    }

    .personal-info__bio{
        width: 100%;
        margin-right: 0;
        padding-right: 0;
    }

    .resume__skills{
        display: block;
        margin: 0 auto;
        width: 70%;
    } 
    
    .resume__subheader{
        margin-top: 3rem;
    }

    .contact__info{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 3rem;
    }

    .contact__data{
        width: 50%;
    }
}


@media (max-width:1160px){

    .layout{
        width: 85%;
        /* margin-left: 4rem; */
    }

    .certificates__container{
        justify-content: center;
    }

    .certificates__certificate{
        flex-basis: 50%;
    }

    .bordeInverso__centro{
        flex-basis: 85%;
    }

    .bordeInverso__izquierda{
        flex-basis: 7.5%;
    }

    .bordeInverso__derecha{
        flex-basis: 7.5%;
    }

    .menu__list{
        margin-left: 2.1rem;
    }

}

@media (max-width: 1160px) and (max-height: 740px) {
    .bordeInverso__derecha{
        flex-basis: 11.5%;
    }
    
    .bordeInverso__izquierda{
        flex-basis: 8.5%;
    }
}

@media (max-width: 1080px) and (max-height: 740px) {
    .bordeInverso__izquierda{
        flex-basis: 8.5%;
    }
}

@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: 3;
        display: block;
        position: absolute;
        width: 4.8rem;
        height: 4.8rem;
        line-height: 4.8rem;
        text-align: center;
        background-color: var(--color-secondary);
        right: 1rem;
        top: 1rem;
        font-size: 2.5rem;
        border-radius: 3rem;
        color: var(--color-principal);
        cursor: pointer;
        transition: all 500ms 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{
        margin-left: 6%;
        opacity: 0;
        
    }

    .layout__aside{
        display: block;
        position: absolute;
        max-width: 330px;
        top: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        overflow: auto;
        border-radius: 0;
        transition: all 300ms ease-in-out;
        z-index: 2; /*Esto es para que siempre este por arriba de cualquier elemento de la pagina ya que habia interferencias*/

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

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

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

    .layout__content{
        border-radius: 0;
        background-color: transparent;
    }

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

    .layout__menu{
        position: static;
        margin: 3rem 0rem;
    }

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

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

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

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

    .link__social{
        margin-top:0 ;
    }

    .menu__icon{
        display: none;
    }

    .user-info__footer{
        /* position: static; */
        /* margin-bottom: 30rem; */
        margin-top: 10rem;
    }

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

    .menu__link--active .menu__overlay{ /*Cuando se usan dos clases asi, estas seleccionando aquellos elementos que contienen las dos clases,
        es decir seleciona el elemento que tiene la primera clase y dentro de este elemento, aquel elemento que tiene la segunda clase*/
        opacity: 1;
    }

    .certificates__container{
        justify-content: space-between;
        /* gap: 3rem; */
    }

    .certificates__certificate{
        flex-basis: 45%;
    }

    .resume__skills{
        width: 50%;
    } 

    .contact__map{
        display: block;
        margin: 0 auto;
        width: 50%;
        margin-bottom: 3rem;
    }
}


@media (max-width: 850px){
    .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;
    }

    .galery__item{
        flex-basis: 50%;
    }

}

@media (max-width: 705px){

    .content__home{
        padding: 5rem;
    }

    .resume__skills{
        width: 65%;
    } 

    .contact__map{
        width: 65%;
    }

    .contact__data{
        width: 65%;
    }
}

@media (max-width: 680px){

    .parrafo__maquina{
        font-size: 1.5rem;
        margin-bottom: 5rem;
    }

    .parrafo__email{
        font-size: 1.2rem;
    }
}

@media (max-width: 620px){
    .clients__container{
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 585px){

    .extra__container{
        flex-direction: column;
        align-items: center;
    }

    .extra__info{
        width:50%;
    }

    .certificates__container{
        flex-direction: column;
        align-items: center;
    }

    .certificates__certificate{
        width: 60%;
    }

    .resume__skills{
        width: 85%;
    } 
}

@media (max-width: 480px){

    .page__name{
        font-size: 4.8rem;
        line-height: 5.6rem;
        text-align: center;
    }

    .certificate__logo{
        width: 100%;
    }

    .galery__item{
        flex-basis: 100%;
    }

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

    .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%;
    }

    .form__button{
        display: block;
        margin: 0 auto;
        width: 70%;
        padding: 1rem 1rem;
        text-align: center;
    }

    .certificates__certificate{
        width: 80%;
    }

    .resume__skills{
        width: 85%;
    } 

    .contact__map{
        width: 80%;
    }

    .contact__data{
        width: 80%;
    }
}