:root {
    --slide-transformNS: 0;
    --transitionNS: transform 1s;
}

main {
    background-image: url("../png/fondoServicios.png");
    background-size: auto;
    background-position: center;
    background-repeat: repeat;
    padding: 100px 12px 0 12px;
    height: 1030px;
}
.boton-VolverProyectos a {
    font-size: 24px;
    color: #000;
}
.boton-VolverProyectos img {
    width: 21px !important;
    transform: rotate(0deg);
}
button {
    font-family: 'Circular Std Bold';
    border: none;
    background-color: transparent;
    color: #0d6efd;
}
button:hover {
    text-decoration: underline;
}
.container-nuestroServicios {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
}
.slider-nuestroServicios {
    display: flex;
    transform: translateX(var(--slide-transformNS));
    transition: var(--transitionNS);
}
.nuestroServicios-element {
    min-width: 100%;
    padding: 0 48px;
}
.txt-5 {
    line-height: 0.9
}
.txt-6 {
    margin-top: -8px;
    line-height: 0.9
}
.txt-7 {
    margin: 32px 0;
    font-size: 28px;
    line-height: 0.9;
}
.ns-content {
    display: flex;
    justify-content: space-around;
}
.ns-content > div:first-child {
    position: relative;
    width: 27%;
}
.ns-content > div:last-child img {
    width: 100%;
    max-width: 700px;
}
.ns-content .logoNS {
    max-width: 275px;
}
.ns-content a {
    display: inline-block;
    font-family: 'circular-std-medium-500';
    color: #000;
    font-size: 16px;
    text-decoration: none;
    margin: 20px 0 0 40px;
}

@media (min-width: 996px) {
    .ns-content > div:first-child button {
        display: block;
        text-decoration: none;
        position: absolute;
        bottom: 100px;
        right: 0;
    }
    .ns-content > div:first-child button img {
        width: 35px;
        margin-left: 12px;
    }
}

@media (max-width: 767px) {
    main {
        height: auto;
        padding: 0 12px 80px;
    }
    .txt-5, .txt-6 {
        font-size: 20px;
        line-height: 1;
    }
    .txt-7 {
        font-size: 16px;
    }
    .ns-content {
        width: 100%;
        flex-direction: column;
    }
    .ns-content > div:first-child {
        width: 100%;
    }
    .ns-content p, .ns-content button {
       margin-bottom: 2rem;
    }
    .ns-content img {
        width: 100%;
    }
    .ns-content button {
        width: 100%;
    }
    .ns-content button img {
        width: 35px;
    }
    .nuestroServicios-element {
        box-sizing: border-box;
        padding: 0 24px;
    }
}

@media (min-width: 768px) and (max-width: 995px) {
    main {
        height: 1224px;
    }
    .ns-content {
        width: 100%;
        flex-direction: column;
    }
    .ns-content > div:first-child {
        width: 100%;
    }
    .nuestroServicios-element {
        box-sizing: border-box;
        padding: 0 48px;
    }
    .ns-content button {
        width: 100%;
        margin: 3rem 0;
    }
    .ns-content button img {
        width: 35px;
    }
    .ns-content .logoNS {
        display: block;
        margin: 2rem 0;
    }
    .ns-content a {
        margin-top: 0;
    }
    .ns-content div:last-child {
        text-align: center;
    }
}

@media (min-width: 996px) and (max-width: 1199px) {
    .ns-content > div:first-child {
        width: 30%;
    }
    .ns-content > div:last-child {
        width: 70%;
    }
    .ns-content > div:last-child img {
        padding-left: 24px;
    }
    .ns-content > div:first-child button {
        bottom: 12px;
    }
}