@font-face {
    font-family: 'Helvetica';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../webfonts/helvetica/helvetica-regular.eot");
    src: url("../webfonts/helvetica/helvetica-regular.eot?#iefix") format("embedded-opentype"), url("../webfonts/helvetica/helvetica-regular.woff2") format("woff2"), url("../webfonts/helvetica/helvetica-regular.woff") format("woff"), url("../webfonts/helvetica/helvetica-regular.ttf") format("truetype"), url("../webfonts/helvetica/helvetica-regular.svg") format("svg");
}
@font-face {
    font-family: 'Helvetica';
    font-style: normal;
    font-weight: bold;
    font-display: swap;
    src: url('../webfonts/helvetica/Helvetica-Bold.eot');
    src: url('../webfonts/helvetica/Helvetica-Bold.eot?#iefix') format('embedded-opentype'), url('../webfonts/helvetica/Helvetica-Bold.woff2') format('woff2'), url('../webfonts/helvetica/Helvetica-Bold.woff') format('woff'), url('../webfonts/helvetica/Helvetica-Bold.ttf') format('truetype'), url('../webfonts/helvetica/Helvetica-Bold.svg#Helvetica-Bold') format('svg');
}

:root {
    --fuentePrincipal: 'Helvetica';
    --fuenteSecundaria: 'Font Awesome 5 Brands';
    --colorPrimario: #CD3731;
    --colorSecundario: #0D3C60;
    --colorTerciario: #103868;
    --colorGris: #353538;
    --colorGrisMedio: #4C4B4B;
    --colorGrisClaro: #CBCCCD;
    --colorObscuro: black;
    --colorClaro: white;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    /* Now 10px = 1rem! */
}
body {
    font-family: var(--fuentePrincipal);
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 2;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}
/* Headings */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--fuentePrincipal);
    font-weight: bold;
    margin: 1rem 0;
    line-height: 1.2;
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 4rem;
}

h3 {
    font-size: 3rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.3rem;
}


/* Globales */

a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    background-color: var(--colorClaro);
}


/* back to top button */

#backToTopBtn {
    background-color: var(--colorGris);
    border: none;
    border-right: none;
    border-radius: 10px 0px 0px 10px;
    bottom: 20px;
    right: 0px;
    color: #FFF;
    cursor: pointer;
    display: none;
    font-size: 26px;
    height: 50px;
    width: 50px;
    outline: none;
    position: fixed;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
    transition-property: background-color, color;
    z-index: 100;
}

#backToTopBtn:hover,
#backToTopBtn:focus {
    background-color: var(--colorPrimario);
}


/* Header, Navbar */

.header {
    background-color: var(--colorObscuro);
}

.header .logotipo img {
    width: 277px;
    height: 112px;
}

.header .navegacion {
    background-color: var(--colorPrimario);
}

.header .navegacion .navbar-nav .nav-item {
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}

.header .navegacion .redes-sociales-top ul li {
    display: inline-block;
}

.header .navegacion .redes-sociales-top li a::before {
    content: '\f059';
    display: block;
    font-family: var(--fuenteSecundaria);
    text-align: center;
}

.header .navegacion .redes-sociales-top li a[href*="facebook.com"]::before,
.header .navegacion .redes-sociales-top li a.facebook::before {
    content: '\f082';
}

.header .navegacion .redes-sociales-top li a[href*="whatsapp.com"]::before {
    content: '\f232' !important;
}

.header .navegacion .navbar-nav .nav-item a,
.header .navegacion .redes-sociales-top a {
    color: var(--colorClaro) !important;
}

.header .navegacion .navbar-nav .nav-item.active a {
    color: var(--colorObscuro) !important;
    font-weight: bold;
}

.header .navegacion .navbar-toggler {
    background-color: var(--colorSecundario);
    border-color: var(--colorSecundario);
}

.header .navegacion .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.header .idioma {
    height: 3rem;
    overflow: hidden;
    width: 15rem;
}

.header .idioma select {
    background-color: var(--colorObscuro);
    border: none;
    color: var(--colorClaro);
    height: 3rem;
    width: 18rem;
}

.header .idioma select:focus {
    outline: none;
}

.header .idioma::after {
    color: var(--colorClaro);
    content: "| \025be";
    text-align: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--colorObscuro);
    position: absolute;
    top: 0;
    right: 0px;
    pointer-events: none;
}


/* Imagen Company */

.imagen-principal .company {
    background-color: var(--colorGris);
    border-bottom: 1rem solid var(--colorPrimario);
    color: var(--colorClaro);
    text-transform: uppercase;
    text-align: center;
}

.imagen-principal .company h3 {
    color: var(--colorPrimario);
}

.imagen-principal .company ul li {
    display: inline-block;
    line-height: 1.5rem;
    padding-right: 1rem;
}

.imagen-principal .company ul li:last-of-type {
    padding-right: 0;
}

.imagen-principal .company a {
    color: var(--colorClaro);
    text-decoration: none;
}

.imagen-principal .botella-logos {
    display: block;
}

.imagen-principal .botella-logos .bottle img {
    margin: 2rem 0;
    width: 55%;
    height: 100%;
}

.imagen-principal .botella-logos .logotipo img {
    margin-bottom: 2rem;
    width: 65%;
}

.imagen-principal .botella-logos .usa-logo img {
    margin-top: 2rem;
    width: 20%;
    height: 100%;
}


/* History, About Us, What We Do, Laboratory */

.history,
.about_us,
.what-we-do,
.laboratory,
.equipment {
    background-color: var(--colorClaro);
    color: var(--colorGrisMedio);
    text-align: justify;
}
.history h2,
.history h4,
.about_us h2,
.what-we-do h2,
.laboratory h2,
.equipment h2 {
    text-align: center;
    padding: 2rem 0;
}
.history ul,
.about_us ul,
.laboratory ul {
    list-style: disc;
    padding-inline-start: 40px;
}

/* Imagen Central */

.image-central {
    background-image: url(../img/manufacturing2.png);
    background-position: center center;
    background-size: cover;
    padding: 12rem 0;
    width: 100%;
}

.image-central.product {
    background-image: url(../img/primus-velocimetro.jpg);
}

/* Image company */

.images-company img {
    margin: 1rem 0;
    width: 65%;
}

/* Sección de Productos */
.imagen-productos {
    background-color: var(--colorObscuro);
}

.imagen-productos img {
    height: 100%;
    width: 100%;
}

.gallery-products {
    text-align: center;
}

.gallery-products .list-products {
    padding: 1rem;
    margin: 1rem;
}

.gallery-products .list-products .product {
    margin: 2rem;
    position: relative;
}

.gallery-products .list-products .card,
.gallery-products .nav-tabs,
.gallery-products .nav-tabs .nav-link,
.gallery-products .nav-tabs .nav-link.active {
    border: none;
    border-radius: 0;
}

.gallery-products .nav-tabs .nav-link,
.gallery-products .nav-tabs .nav-link.active {
    padding: 0;
}

.gallery-products .list-products .product img {
    display: block;
}

.gallery-products .list-products .type {
    background-color: var(--colorObscuro);
    bottom: 0;
    color: var(--colorClaro);
    left: 0;
    line-height: 1rem;
    padding: 1.4rem 1.25rem;
    position: absolute;
    width: 100%;
}
.gallery-products .list-products .type p,
.gallery-products .list-products .type h4 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}
.gallery-products .list-products .type h4 {
    margin-bottom: 1rem;
}

.primus-api {
    background-color: var(--colorGrisClaro);
    padding: 15rem 0;
    position: relative;
}

.primus-api::before {
    background-image: url(../img/viscosity-md-circulo.svg);
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 9.6rem;
    left: 50%;
    position: absolute;
    transform: translate(-50%, 0);
    top: 0;
    width: 19.2rem;
}

.primus-api .content-primus {
    margin: 0 1.5rem;
    text-align: justify;
}

.primus-api .list-primus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
}
@media screen and (min-width: 768px) {
    .primus-api .list-primus {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (min-width: 1024px) {
    .primus-api .list-primus {
        grid-template-columns: repeat(5, 1fr);
    }
}
.primus-api .list-primus li {
    background-color: var(--colorTerciario);
    padding: 2rem 0;
    text-align: center;
}

.primus-api .list-primus li a {
    color: var(--colorClaro);
    font-size: 1.2rem;
    text-decoration: none;
}

.primus-api .list-primus li h5 {
    margin: 0 0 .4rem 0;
}

.primus-api .list-primus li p {
    margin: 0;
}

.back-to a {
    color: var(--colorGrisMedio);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.img-bottom {
    background-image: url('../img/products-img-bottom.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 20rem;
    width: 100%;
}


/* Sección Producto */

.primus-elite {
    background-color: var(--colorClaro);
    color: var(--colorGrisMedio);
    text-align: justify;
}

.primus-elite h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 4rem;
}

.primus-elite span {
    font-weight: normal;
}

.primus-elite h3,
.primus-elite h4 {
    text-transform: uppercase;
}

.primus-elite .downloads,
.primus-elite .downloads a,
.primus-elite .downloads span {
    color: var(--colorGrisMedio);
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.primus-elite .downloads .safety,
.primus-elite .downloads .safety a {
    color: var(--colorPrimario);
    text-decoration: none;
}

.primus-elite .presentation {
    text-align: center;
}

.primus-elite .presentation ul li {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0 2rem;
    text-align: center;
    vertical-align: text-top;
}

.primus-elite .presentation ul li:nth-last-child(6) {
    padding-left: 0;
}

.primus-elite .features {
    text-align: center;
}

.primus-elite .features img {
    padding-bottom: 2rem;
}


/* Technology */
.technology .company h3 {
    color: var(--colorPrimario);
}

.technology .company h3 span {
    color: var(--colorClaro);
}

.installation {
    text-align: center;
}

.installation img {
    margin-bottom: 2rem
}

.img-technology-end {
    background-image: url('../img/bkg-newsletter.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 35rem;
    width: 100%;
}

.img-technology-end .newsletter {
    background-color: rgba(255, 255, 255, .23);
    color: var(--colorClaro);
    height: auto;
    padding: 1.5rem 0;
    text-align: center;
    width: 100%;
}

.img-technology-end .newsletter input {
    font-size: 1.6rem;
    height: 4rem;
    margin: 0 auto;
    width: 25rem;
}

.img-technology-end .newsletter .send-newsletter {
    background-color: transparent;
    border: none;
    color: var(--colorClaro);
    font-family: var(--fuentePrincipal);
    font-weight: bold;
    cursor: pointer;
    margin: .7rem auto !important;
}

.img-technology-end .newsletter .send-newsletter:focus {
    outline: none;
}


/* Contact */
.contact form {
    padding: 0 3rem;
    width: 100%;
}

.contact form input {
    font-size: 1.6rem;
    height: 4rem;
}

.contact form textarea {
    font-size: 1.6rem;
    height: 20rem;
    resize: none;
}

.contact form button {
    background-color: var(--colorPrimario);
    border: none;
    font-size: 1.6rem;
    margin-top: 2.5rem;
    padding: .8rem;
    text-align: center;
    width: 20rem;
}

.contact form button:hover {
    background-color: var(--colorSecundario)
}

.contact .location {
    padding-top: 6rem;
    text-align: center;
}


/* Footer */

.footer {
    background-color: var(--colorObscuro);
    padding: 3rem 0;
}

.footer .logotipo img {
    width: 40%;
}

@media screen and (min-width: 1024px) {
    .footer .logotipo img {
        width: 80%;
    }
}

.footer .menu-footer {
    margin: 3rem 0;
    text-align: center;
}

.footer .menu-footer ul {
    text-transform: uppercase;
}

.footer .menu-footer li a {
    text-decoration: none;
    color: var(--colorClaro);
}

.footer .redes-social ul li {
    position: relative;
    display: inline-block;
}

.footer .redes-social ul li a {
    text-decoration: none;
}

.footer .redes-social ul li a::before {
    color: var(--colorClaro);
    content: '\f08e';
    display: block;
    font-family: var(--fuenteSecundaria);
    font-size: 3rem;
    padding: 1.3rem;
    text-align: center;
}

.footer .redes-social ul li a[href*="facebook.com"]::before,
.footer .redes-social ul li a.facebook::before {
    content: '\f082';
}

.footer .redes-social ul li a[href*="whatsapp.com"]::before {
    content: '\f232';
}

.footer .copyright {
    color: var(--colorClaro);
    text-align: center;
}

.hiddenBtn {
    display: none;
}


/* 404 */

#pag404 {
    position: relative;
    height: 100vh;
}

#pag404 .pag404 {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.pag404 {
    max-width: 560px;
    width: 100%;
    padding-left: 160px;
    line-height: 1.1;
}

.pag404 .pag404-error {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    width: 140px;
    height: 140px;
    background-image: url('../img/logotipoViscosity.svg');
    background-size: cover;
}


/* .pag404 .pag404-error:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform: scale(2.4);
    -ms-transform: scale(2.4);
    transform: scale(2.4);
    border-radius: 50% 0 50% 0;
    background-color: #f2f5f8;
    z-index: -1;
} */

.pag404 h1 {
    font-family: var(--fuentePrincipal);
    font-size: 65px;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 10px;
    color: #151723;
    text-transform: uppercase;
}

.pag404 h2 {
    font-family: var(--fuentePrincipal);
    font-size: 21px;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
    color: #151723;
}

.pag404 p {
    font-family: var(--fuentePrincipal);
    color: var(--colorGrisClaro);
    font-weight: 400;
}

.pag404 a {
    font-family: var(--fuentePrincipal);
    display: inline-block;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    color: var(--colorPrimario);
}

@media (min-width: 768px) {
    .primus-elite .presentation {
        text-align: justify;
    }
    .primus-elite .presentation ul li {
        font-size: 1.5rem;
    }
    .img-bottom {
        height: 40rem;
    }
}

@media (min-width: 992px) {
    .header .navegacion {
        height: 5.6rem;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 15% 100%);
    }
    .header .sel-idioma {
        position: absolute;
        right: 0;
        top: 5.6rem;
        z-index: 10;
    }
    .imagen-principal .company {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 15% 100%);
        padding-right: 1.7rem;
        position: absolute;
        right: 0;
        text-align: right;
        z-index: 100;
    }
    .imagen-principal .company .titulo {
        padding-left: 10rem;
    }
    .imagen-principal .company .titulo h3 {
        font-size: 2rem;
    }
    .imagen-principal .triangulo {
        background-color: var(--colorPrimario);
        clip-path: polygon(100% 0, 100% 100%, 0% 50%);
        height: 10rem;
        position: absolute;
        right: 0;
        top: 20rem;
        width: 8rem;
    }
    .imagen-principal .botella-logos {
        display: none;
    }
    .images-company img {
        width: 75%;
        height: 75%;
    }
    .primus-elite,
    .primus-elite h2,
    .primus-elite .downloads {
        text-align: justify;
    }
    .primus-elite h2 {
        font-size: 4.8rem;
    }
    .gallery-products .list-products li {
        overflow: hidden;
        width: 25%;
    }
    .gallery-products .list-products .product img {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transition: .5s ease-in-out;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
    }
    .gallery-products .list-products .product img:hover {
        transform: scale(1.3);
        -webkit-transform: scale(1.3);
        -moz-transform: scale(1.3);
        -o-transform: scale(1.3);
    }
    .img-bottom {
        height: 50rem;
    }
    .primus-api .content-primus img {
        width: 60%;
    }
    .primus-api .list-primus li {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transition: all .5s ease-in-out;
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
        cursor: pointer;
    }
    .primus-api .list-primus li:hover {
        transform: translate(-.5rem, -.5rem);
        -webkit-transform: translate(-.5rem, -.5rem);
        -moz-transform: translate(-.5rem, -.5rem);
        -o-transform: translate(-.5rem, -.5rem);
        -webkit-box-shadow: 10px 10px 5px 0px rgba(76, 75, 75, .5);
        -moz-box-shadow: 10px 10px 5px 0px rgba(76, 75, 75, .5);
        box-shadow: 10px 10px 5px 0px rgba(76, 75, 75, .5);
    }
    .technology .company h2 {
        font-size: 4rem;
        padding-right: 1.7rem;
        position: absolute;
        right: 0;
        text-align: right;
        width: 35rem;
    }
    .footer .menu-footer {
        text-align: left;
    }
}

@media (min-width: 1200px) {
    .header .navegacion {
        height: 5.6rem;
        clip-path: polygon(23% 0%, 100% 0%, 100% 100%, 35% 100%);
    }
    .imagen-principal .company-img,
    .imagen-principal .products,
    .imagen-principal .technology-img,
    .imagen-principal .contact-img {
        height: 70rem;
        object-fit: cover;
        width: 100%;
    }
    .imagen-principal .company .titulo {
        padding-left: 15rem;
        width: 100%;
    }
    .imagen-principal .company .titulo h3 {
        font-size: 3rem;
    }
    .imagen-principal .company .subtitulo {
        width: 60%;
    }
    .imagen-principal .company {
        clip-path: polygon(20% -1%, 100% -1%, 100% 100%, 30% 100%);
    }
    .image-central {
        padding: 27rem 0;
    }
    .image-central.product {
        padding: 50rem 0;
    }
    .installation img {
        width: 80%;
    }
    .img-technology-end {
        height: 60rem;
    }
    .img-technology-end .newsletter input {
        width: 55rem;
    }
    .imagen-productos img {
        width: 60%;
    }
    .primus-api .list-primus {
        margin: 5rem 0;
        padding: 5rem 0;
    }
    .primus-elite .features img {
        width: 75%;
    }
    .img-bottom {
        height: 80rem;
    }
}