@font-face {
    font-family: 'Futura';
    src: url(../Fonts/FuturaLT-Light.woff) format('woff');
}

body {
    font-family: 'Futura', Arial, sans-serif !important;
    margin: 0px;
}

.visually-hidden{
  position: absolute;
  left:-9999px;
}

/*Contenedor foto y texto*/
.container-inicio {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 7rem;
    margin-bottom: 2rem;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
    box-sizing: border-box;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
    max-width: 1140px;
    box-sizing: border-box;
}

.new-container {
   margin-top: 2rem;
   margin-bottom: auto;
   display: flex;
   flex-direction: column;
   align-items: center;
}

.new-container-about {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-container-img {
    margin-right: 3rem;
    margin-left: 1rem;
}

.right-container {
    text-align: left;
    align-self: end;
    padding-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.right-container-solo {
    text-align: left;
    align-self: end;
    padding-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.left-container {
    text-align: left;
    align-self: end;
    padding-bottom: 3rem;
}


._h2 {
    font-size: 18px;
    color: #7e9e3e;
    font-weight: 600;
    font-family: Futura;
}

._h3-body {
    font-size: 16px;
    color: #59595b;
    margin-top: 25px;
    margin-bottom: 5px;
    font-weight: 600;
}

._p {
    font-size: 15px;
    margin-bottom: 1px;
    text-align: justify;
    margin-top: 10px;
    font-family: 'Futura';
}

.right-container-img-cel {
    display: none;
    width: 19rem;
    height: auto;
}


/*Estilos de fotos*/
img {
    border-radius: 8px;
}

.left-container-img img {
    width: 33rem;
    height: auto;
}



.right-container-img img {
    width: 33rem;
    height: auto;
}

.left-container-img {
    margin-right: 3rem;
    margin-left: 1rem;
}

.right-container-img {
    margin-right: 1rem;
    margin-left: 3rem;
}

/*Subservicios*/

.box {
    background-color: #2A2A2B;
    padding: 1rem;
    margin: 0 1.5rem;
    text-align: center;
    height: 29rem;
    width: 29rem;
    border-radius: 10px;
}

    .box img {
        width: 24rem;
        height: auto;
        margin: 1.5rem;
    }


    .box p {
        color: white;
        font-size: 15px;
        font-family: 'Futura';
        padding: 0 1rem;
        text-align: justify;
    }

    .box h2 {
        color: #7e9e3e;
        font-size: 18px;
        font-family: 'Futura';
        padding: 0 3rem;
        text-align: justify;
    }

.container-subservicio {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2A2A2B;
    max-width: 900px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    padding: 2rem 2rem;
}

.container-subservicio p{
    color: white;
}

.container-subservicio img{
    width: 20rem;
    height: auto;
}


/* -------------------------Estilos responsivos---------------------------- */
@media screen and (max-width: 3000px) and (min-width: 1500px){
    .container-inicio {
        max-width: 1570px;
    }

    .left-container-img img {
        width: 44rem;
        height: auto;
    }

    ._container {
        max-width: 1570px !important;
    }

    .right-container-img img {
        width: 44rem;
        height: auto;
    }

    ._p {
        font-size: 19px;
    }

    ._h2 {
        font-size: 20px;
    }

    .box p {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {

    .container-subservicio{
        max-width: 85%;
    }

}

@media screen and (max-width: 767px) and (min-width: 401px){
    body{
        box-sizing: border-box;
    }

    .nav-links{
        display: none;
    }

    .portada {
        width: 100%;
        height: 10rem;
        position: relative;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .portada h1 {
        font-size: 15px;
        text-align: center;
        padding: 5px;
        left: auto;
        bottom: 4rem;
        position: absolute;
    }

    .portada p{
        top: 3.5rem;
        left: 3rem;
        right: 3rem;
        font-size: 15px;
        text-align: center;
    }

    .new-container{
        margin-top: 2rem;
        box-sizing: border-box;
    }

    .new-container-about {
        margin-top: 4.5rem;
        
    }

    .container-inicio{
        align-items: flex-start;
        margin-top: 0;
        box-sizing: border-box;
        flex-direction: column;
    }

    .left-container-img {
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        display: flex;
        justify-content: center;
    }

    .container{
        justify-content: center;
    }

    .left-container-img img{
        max-width: 100%;
        width: 100%;
    }

    .right-container-img{
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .right-container-img img{
        width: 100%;
    }

    .container {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        box-sizing: border-box;
        padding-right: 15px;
        padding-left: 15px;
    }

    .bloque_Arriba {
        order: 1;
    }

    .bloque_Abajo {
        order: 2;
    }

    .box{
        margin: 1rem auto;
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 10rem;
        height: auto;
    }

    .box img{
        width: 90%;
    }

    .container-subservicio{
        margin: 1rem auto;
        padding: 1rem;
        max-width: 85%;
    }

    .left-container-solo-img{
        max-width: 50%;
    }

    .left-container-solo-img img{
        width: 100%;
        
    }

    .right-container-solo{
        max-width: 50%;
        padding-right: 0;
    }

}


/* Para teléfonos en modo vertical y pantallas más pequeñas */
@media screen and (max-width: 420px) {

    .right-container-img {
        display: none;
    }

    .left-container-img {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        
    }

    .container-inicio {
        display: block;
        max-width: 900px;
    }

    .left-container-img img {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .right-container-img img {
        width: 19rem;
    }

    .container {
        display: block;
        max-width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        box-sizing: border-box;
        padding-right: 15px;
        padding-left: 15px;
    }

    .right-container-img-cel {
        display: flex;
        flex-direction: row;
        justify-content: center;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
        
    }

    .right-container-img-cel img {
            max-width: 100%;
            margin-bottom: 15px;
            
    }

    .container-inicio {
        margin-bottom: 1rem;
        margin-top: 1px;
        width: 100%;
        box-sizing: border-box;
    }

    ._h2 {
        font-size: 12px;
        text-indent: 1em;
        margin-top: 0;
        padding-top: 0;
    }

    ._p {
        font-size: 11px;
    }

    .right-container {
        padding-bottom: 0.5rem;
    }

    .box {
        height: 21rem;
        width: 20rem;
        margin: 1rem auto;
        border-radius: 8px;
        max-width: 100%;
        box-sizing: border-box;
    }

        .box img {
            width: 90%;
            margin: 0.5rem;
            max-width: 100%;
        }

        .box h2 {
            font-size: 12px;
            font-weight: 700;
            padding: 0 2rem;
            margin-top: 5px;
        }

        .box p {
            font-size: 11px;
            padding: 0 1rem;
        }

    .portada h1 {
        font-size: 13px;
        text-align: center;
        padding: 5px;
        left: auto;
        bottom: 4rem;
    }

    .portada2 h1 {
        font-size: 13px;
        text-align: center;
        padding: 5px;
        left: auto;
        bottom: 4rem;
    }

    .portada p {
        bottom: 1px;
        left: 1px;
        font-size: 12px;
        text-align: center;
        width: 99%;
        box-sizing: border-box;
    }

    .portada2 p {
        bottom: 1px;
        left: 1px;
        font-size: 12px;
        text-align: center;
        width: 99%;
    }

    .portada {
        width: 100%;
        height: 10rem;
        position: relative;
        margin-top: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .portada2 {
        width: 100%;
        height: 10rem;
        position: relative;
        margin-top: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .portada img {
            object-position: center;
            object-fit: cover;
        }

    .portada2 img {
        object-position: center;
        object-fit: cover;
    }






    .container-subservicio {
        max-width: 90%;
        min-height: 11rem;
        padding: 10px;
        overflow-y: hidden;
    }

        .container-subservicio .left-container img {
            width: 11rem;
        }

    .right-container-solo {
        padding-left: 1rem;
        padding-bottom: 1rem;
        padding-right: 0rem;
        min-height: 50px;
        display:flex;
        flex-direction: column;
        
    }

    .right-container-solo ._h2 {
            text-indent: 0em;
    }

    .left-container-solo-img img {
        width: 100%;
        height: auto;
        
    }

    .new-container-about {
        margin-top: 4.5rem;
        margin-bottom: auto;
    }
}
