:root {
    --slide-transform: 0;
    --transition: transform 1s;
    --slide-transform1: 0;
    --transition1: transform 2s;
    --slide-transform2: 0;
    --transition2: transform 1s;
}

@font-face {
    font-family: 'CircularStd-Black';
    src: url('../fonts/CircularStd-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'Circular Std Bold';
    src: url('../fonts/Circular Std Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'CircularStd-Book';
    src: url('../fonts/CircularStd-Book.ttf') format('truetype');
}

@font-face {
    font-family: 'Archivo';
    src: url('../fonts/Archivo.ttf') format('truetype');
}

@font-face {
    font-family: 'Helvetica LT 93 Black Extended';
    src: url('../fonts/Helvetica LT 93 Black Extended.ttf') format('truetype');
}

@font-face {
    font-family: 'Archivo';
    src: url('../fonts/Archivo_SemiExpanded-Black.ttf') format('truetype');
}

.bg-lightgrey {
    background-color: #E6E6E6;
}

.navbar-nav {
    width: 100%;
    justify-content: space-around;
}

.nav-link {
    font-weight: bold;
}

.text-1 {
    margin-top: -3.8rem;
}

.text-2 {
    font-size: 75px;
    font-weight: bolder;
    font-family: 'Archivo';
    color: white;
    margin-bottom: -2rem;
    line-height: 1;
}

.container-fluid picture {
    padding: 0;
}

.img-1 {
    background-color: #E6E6E6;
}

.text-3 {
    background-color: #E6E6E6;
    padding: 3rem;
}

.text-4 {
    font-size: 85px;
    font-weight: bolder;
    font-family: 'Archivo';
    color: #EF001D;
    line-height: 1;
}

.p-1 {
    text-align: justify;
    width: 65%;
}

.text-6 {
    width: 50%;
}

.text-7 {
    font-size: 120px;
    font-weight: bolder;
    font-family: 'Archivo';
    color: #EF001D;
    margin-top: -35rem;
    /*margin-left: 12rem;*/
}

.p-2 {
    text-align: justify;
    width: 50%;
    margin-left: 10rem;
    color: #000;
}

.logo-2 {
    margin-top: -15rem;
}

.section-1 {
    padding-top: 3rem;
}

.equipmentLine {
    margin-bottom: -6rem;
}

.text-8 {
    font-size: 90px;
    font-weight: bolder;
    font-family: 'Archivo';
    color: #EF001D;
}

.text-9 {
    font-size: 90px;
    font-weight: bolder;
    font-family: 'Archivo';
    color: white;
    margin-top: -3.25rem;
}

.p-3 {
    width: 50%;
    margin-left: 7rem;
    margin-top: 8rem;
    color: aliceblue;
}
.font-bold {
    font-weight: bold;
}
.nuestros-clientes-img {
    width: 96%;
    margin-top: 42px;
}
.img-2 {
    margin-top: 10rem;
}

.equipmentSection {
    background-color: black;
    padding-top: 5rem;
}

.bullet {
    color: red;
    padding: 10px;
    text-decoration: none;
}

.section-2 {
    margin-top: -6rem;
    height: 800px;
}

.customersSection {
    background-image: url("../png/24fondo2nosotros.png");
    padding: 50px 50px 9rem;
}

.txt-1 {
    font-size: 90px;
    font-weight: bolder;
    font-family: "Archivo";
    color: white;
    margin-top: -8.4rem;
}

.txt-2 {
    font-size: 90px;
    font-weight: bolder;
    font-family: Archivo;
    color: black;
    /*margin-left: 12rem;*/
    margin-top: -54px;
}

.m-1 {
    display: flex;
    justify-content: space-between;
}

.m-2 {
    font-size: 23px;
    font-weight: bolder;
    font-family: 'Archivo';
    color: #EF001D;
}

.qualitySection {
    padding: 5rem 0 !important;
    background-color: white;
}

.m-3 {
    display: flex;
    justify-content: space-between;
}

.m-4 {
    color: aliceblue;
    font-weight: 300;
    margin: 0 0 0 8px !important;
}

.txt-3 {
    color: white;
    font-weight: bold;
    font-size: 32px;
}

.pa-1 {
    color: white;
    font-size: 18px;
    /* max-width: 450px; */
}

.img-4 {
    margin-left: -3.5rem;
}


.txt-4 {
    font-size: 80px;
    font-weight: bolder;
    font-family: Archivo;
    color: #EF001D;
}

.p-4 {
    width: 70%;
    font-weight: 500;
}

.p-5 {
    width: 60%;
    margin-left: 4rem;
    font-weight: bold;
}


.txt-5 {
    font-size: 80px;
    font-weight: bolder;
    font-family: Archivo;
    color: #EF001D;
}

.txt-6 {
    font-size: 80px;
    font-weight: bolder;
    font-family: Archivo;
    color: black;
    margin-top: -3.3rem;
}

.p-6 {
    width: 70%;
    margin-left: 30px;
}

.p-7 {
    font-weight: bold;
    font-size: 18px;
    color: #0a58ca;
    text-decoration: none;
}
.nosotros_botonDescarga {
    width: 50px !important;
    position: relative;
    display: inline;
    top: -27px;
}
.sociedades-bic {
    display: inline-block;
    height: 50px;
    text-decoration: none;
}
.sociedades-bic span:first-child {
    display: block;
}
.sociedades-bic span:nth-child(2) {
    position: relative;
    top: -12px;
}
/*footer styling*/

.footer {
    background-image: url("../png/17fondofooter1.png");
    background-size: cover;
    padding: 10rem 0;
}

.contact-info {
    padding: 20px;
}

.contact-info p {
    color: white;
}
.contact-info a {
    color: white;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

.contact-info h3 {
    color: white;
    font-family: Archivo;
}

/*footer styling end*/


@media (max-width: 995px) {

    a.nav-link.active {
        font-weight: bold;
        color: #EF001D !important;
        border-bottom: none;
    }

    .text-2 {
        font-size: 32px;
        margin-top: 5.8rem;
        margin-top: 4.9rem;
    }

    .text-4 {
        font-size: 40px;
    }

    .p-1 {
        font-size: 10px;
        text-align: justify;
        width: 100%;
    }

    .text-7 {
        font-size: 40px;
        margin-top: -9rem;
    }

    .p-2 {
        font-size: 10px;
        text-align: justify;
        font-weight: 600;
        width: 100%;
        margin-left: 0rem;
    }

    .logo-2 {
        margin-top: -5rem;
        width: 25px;
    }

    .text-8 {
        font-size: 45px;
    }

    .text-9 {
        font-size: 45px;
        margin-top: -1.6rem;
    }

    .section-2 {
        padding-top: 10rem;
        /*height: 800px;*/
    }

    .img-2 {
        margin-top: 2rem;
    }

    .equipmentSection {
        background-color: black;
        padding-top: 5rem;
        padding-bottom: 3rem;
        height: auto;
    }

    .p-3 {
        width: 100%;
        margin-left: 0rem;
        margin-top: 8rem;
        color: white;
    }

    .m-2 {
        font-size: 12px;
    }

    .m-4 {
        font-size: 8px;
    }

    .customersSection {
        padding: 30px;
    }

    .txt-1 {
        font-size: 40px;
    }

    .txt-2 {
        font-size: 40px;
        margin-top: -1.5rem;
    }

    .txt-3 {
        font-size: 22px;
    }

    .img-4 {
        width: 30px;
        margin-top: -15rem;
        margin-left: 15rem;
    }

    .txt-4 {
        font-size: 50px;
    }

    .p-4 {
        width: 100%;
    }

    .txt-5 {
        font-size: 50px;
    }

    .txt-6 {
        font-size: 50px;
        margin-top: -2.3rem;
    }

    .p-6 {
        width: 95%;
        margin-left: 20px;
    }

    .footer {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }
}

/* Primer slider página nosotros */
.slider-container_1, .slider-container_2 {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
.slider-container_2 {
    max-width: 452px;
}
.slider_1 {
    display: flex;
    transform: translateX(var(--slide-transform1));
    transition: var(--transition1);
}
.slider_2 {
    display: flex;
    transform: translateX(var(--slide-transform2));
    transition: var(--transition2);
}
.slider-1-element, .slider-2-element {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
}

.slider-1-element__text h3 {
    font-size: 90px;
}
@media (min-width: 1400px) {
    .slider-1-element__text h3, .text-4 {
        font-size: 72px;
    }
}
.slider-1-element img {
    height: 100%;
    width: 100%;
}
.slider-1-element__text {
    position: absolute;
    left: 5%;
    bottom: -10px;
    width: 50%;
    max-width: 650px;
}
.button-slider-1 {
    position: absolute;
    width: 40px;
    height: 40px;
    left: calc(50% - 40px);
    bottom: 190px;
    display: flex;
    justify-content: center;
    background: transparent;
    align-items: center;
    border: none;
}

/* Silder */
.slider-container {
    max-width: 800px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10rem;
    overflow: hidden;
}
.slider-container::before {
    content: '';
    position: absolute;
    top: -14px;
    left: -54px;
    border-style: solid;
    border-width: 0 80px 80px 80px;
    border-color: transparent transparent #000000 transparent;
    transform: rotate(-45deg);
    z-index: 1;
}
.slider {
    display: flex;
    transform: translateX(var(--slide-transform));
    transition: var(--transition);
}
.slider__element {
    position: relative;
    min-width: 400px;
    /* max-width: 480px; */
    height: 450px;
    font-size: 16px;
    text-align: center;
    border-right: 3px solid #000;
}
.slider__element h3 {
    position: relative;
    bottom: 35px;
    text-align: left;
}
.slider__element img {
    height: 425px;
    width: 100%;
    object-fit: cover;
    border: 1px solid black;
}
.slider__element p {
    position: relative;
    bottom: 46px;
    text-align: left;
    font-size: 16px;
}
.button, .button-right_img {
    width: 50px;
    height: 50px;
}
.button-right, .button-left {
    position: absolute;
    top: calc(50% - 20px);
    right: -16px;
    width: 40px;
    height: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    background: transparent;
    align-items: center;
    border: none;
}
.button-left {
    left: -16px;
}
.button-left img {
    transform: rotate(-180deg);
}
p {
    font-family: 'CircularStd-Book';
}
.link-page {
    display: block;
    font-family: 'CircularStd-Book';
    font-weight: 500;
    color: #FFF;
    text-decoration: none;
}
.link-page:hover {
    color: #FFF;
    text-decoration: underline;
}
@media (max-width: 995px) {
    .slider-1-element__text h3 {
        font-size: 24px;
        margin-top: -9rem;
        text-align: left !important;
    }
    .button-slider-1, .button-right_img {
        width: 36px;
        height: 36px;
        left: 50%;
        bottom: 58px;
    }
    .slider-1-element {
        padding-bottom: 3rem;
    }
    .slider-1-element__text {
        width: 46%;
        bottom: -225px;
        height: 100%;
    }
    /* Segundo slider */
    .slider-container {
        margin-top: 20px;
    }
    .slider__element h3 {
        font-size: 20px;
    }
    .slider__element p {
        bottom: 42px;
        font-size: 14px;
    }
    .button-right {
        right: 0;
    }
    .button-left {
        left: 0;
    }
    .txt-1 {
        margin-top: 0px;
    }
    .text-1 {
        margin-top: -6.55rem;
    }
}
@media (max-width: 768px) {
    .text-1 {
        margin-top: -8.5rem;
    }
    .section-1 {
        padding-top: 6rem;
    }
    .section-2 {
        padding-top: 0;
        height: auto;
    }
}

@media (min-width: 996px) and (max-width: 1199px) {
    .slider-1-element__text h3 {
        font-size: 80px;
        text-align: left !important;
    }
    .slider-1-element__text p {
        margin-left: 0;
    }
    .slider-1-element {
        padding-bottom: 8rem;
    }
    .slider-1-element__text {
        bottom: -70px;
    }
    .text-1 {
        margin-top: -3.8rem;
    }
    .text-2 {
        font-size: 72px;
    }
    .text-4 {
        font-size: 68px;
    }
}