/* VARIABLES */

:root {
    --dark-red: #BC171B;
    --red: #E82127;
    --black: #000;
    --black2: #0B090A;
    --light-gray: #F9F9F9;
    --dark-gray: #222222;
    --white: #FFF;
    --white2: #F9F9F9;
}

/* FONTS */

@font-face {
    font-family: "SF-Pro-Display-Black";
    font-weight: 900;
    src: url("/website_hino/static/src/tambor/fonts/SF-Pro-Display-Black.otf") format("opentype");
}

@font-face {
    font-family: "SF-Pro-Display-Bold";
    font-weight: 800;
    src: url("/website_hino/static/src/tambor/fonts/SF-Pro-Display-Bold.otf") format("opentype");
}

@font-face {
    font-family: "SF-Pro-Display-Semibold";
    font-weight: 700;
    src: url("/website_hino/static/src/tambor/fonts/SF-Pro-Display-Semibold.otf") format("opentype");
}

@font-face {
    font-family: "SF-Pro-Display-Medium";
    font-weight: 600;
    src: url("/website_hino/static/src/tambor/fonts/SF-Pro-Display-Medium.otf") format("opentype");
}

@font-face {
    font-family: "SF-Pro-Display-Light";
    font-weight: 500;
    src: url("/website_hino/static/src/tambor/fonts/SF-Pro-Display-Light.otf") format("opentype");
}

@font-face {
    font-family: "SF-Pro-Display-Thin";
    font-weight: 400;
    src: url("/website_hino/static/src/tambor/fonts/SF-Pro-Display-Thin.otf") format("opentype");
}

@font-face {
    font-family: "SF-Pro-Display-Ultralight";
    font-weight: 300;
    src: url("/website_hino/static/src/tambor/fonts/SF-Pro-Display-Ultralight.otf") format("opentype");
}

/* ADJUSTMENTS GENERAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, input {
    font-family: "SF-Pro-Display-Medium";
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none !important;
}

figure, ul, p {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

.rectangle {
    position: absolute;
    top: -15px;
    right: 0;
}

@media only screen and (max-width: 600px) {
    .rectangle {
        display: none;
    }
}

/* CONTAINER */

.container {
    max-width: 1500px;
    width: 1500px;
    margin: 0 auto;
    padding: 0;
}

@media only screen and (max-width: 1600px) {
    .container {
        max-width: 1300px;
        width: 1300px;
    }
}

@media only screen and (max-width: 1400px) {
    .container {
        max-width: 1200px;
        width: 1200px;
    }
}

@media only screen and (max-width: 1300px) {
    .container {
        max-width: 1100px;
        width: 1100px;
    }
}

@media only screen and (max-width: 1200px) {
    .container {
        max-width: 1000px;
        width: 1000px;
    }
}

@media only screen and (max-width: 1100px) {
    .container {
        max-width: 900px;
        width: 900px;
    }
}

@media only screen and (max-width: 1000px) {
    .container {
        max-width: 800px;
        width: 800px;
    }
}

@media only screen and (max-width: 900px) {
    .container {
        max-width: 750px;
        width: 750px;
    }
}

@media only screen and (max-width: 800px) {
    .container {
        max-width: 650px;
        width: 650px;
    }
}

@media only screen and (max-width: 700px) {
    .container {
        max-width: 90%;
        width: 90%;
    }
}

/* PAGE PATH */

.page-path {
    position: absolute;
    z-index: 15;
    margin-top: 30px;
    width: 100%;
}

.page-path .container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 30px;
}

.page-path .container a {
    font-size: 16px;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
}

.page-path .container a.actual-page {
    color: var(--white);
}

.page-path .container span {
    font-family: "SF-Pro-Display-SemiBold";
    font-size: 16px;
    color: rgba(255, 255, 255, .5);
}

@media only screen and (max-width: 800px) {

    .page-path {
        margin-top: 20px;
    }

    .page-path .container {
        padding: 0;
    }
}

/* BANNER PRINCIPAL */

.main-banner .main-banner-title {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-banner .main-banner-title h1 {
    font-size: 55px;
    line-height: 60px;
}

.main-banner .main-banner-title h2 {
    font-size: 24px;
    line-height: 28px;
}

.main-banner .main-banner-title p {
    font-size: 18px;
    line-height: 28px;
    width: 500px;
}

.main-lubricantes-banner .main-banner-title>a {
    width: 300px;
    display: flex;
    gap: 10px;
    margin-top: 3%;
}

.main-lubricantes-banner .main-banner-title>a .contact-btn {
    width: 145px;
    height: 45px;
    border-color: var(--white);
    color: var(--white);
    transition: background-color .20s ease-in-out,
        border-color .20s ease-in-out;
}

.main-banner .main-banner-title>a:hover .contact-btn {
    background-color: var(--red);
    border-color: var(--red);
}

.main-banner .main-banner-title>a .red-arrow-btn {
    width: 45px;
    height: 45px;
    transition: background-color .20s ease-in-out;
}

.main-banner .main-banner-title>a .red-arrow-btn svg {
    width: 25px;
    height: 25px;
}

.main-banner .main-banner-title>a:hover .red-arrow-btn {
    background-color: var(--white);
}

.main-banner .main-banner-title>a:hover .red-arrow-btn svg path {
    fill: var(--red);
}

.main-lubricantes-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}


.video-background.video-background-responsive {
    display: none;
}

.main-lubricantes-banner .container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

@media only screen and (max-width: 1400px) {

    .main-banner {
        height: 550px;
    }

    .main-banner .main-banner-title {
        width: 660px;
    }

    .main-banner .main-banner-title h1 {
        font-size: 50px;
        line-height: 55px;
    }

    .main-banner .main-banner-title p {
        font-size: 22px;
        line-height: 25px;
    }
}

@media only screen and (max-width: 1300px) {

    .main-banner .main-banner-title {
        gap: 20px;
    }

    .main-banner .main-banner-title h1 {
        font-size: 45px;
        line-height: 48px;
    }

    .main-banner .main-banner-title p {
        width: 90%;
        font-size: 20px;
    }
}

@media only screen and (max-width: 1200px) {

    .main-banner .main-banner-title {
        width: 620px;
    }

    .main-banner .main-banner-title h1 {
        font-size: 40px;
        line-height: 40px;
    }
}

@media only screen and (max-width: 1100px) {

    .main-banner {
        height: 500px;
    }

    .main-banner .main-banner-title>a .contact-btn {
        height: 40px;
    }

    .main-banner .main-banner-title>a .red-arrow-btn {
        height: 40px;
        width: 40px;
    }

    .main-banner .main-banner-title>a .red-arrow-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media only screen and (max-width: 1000px) {

    .main-banner {
        height: 450px;
    }

    .main-banner .main-banner-title {
        width: 550px;
    }

    .main-banner .main-banner-title h1 {
        font-size: 35px;
        line-height: 38px;
    }

    .main-banner .main-banner-title p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 800px) {
    .main-banner .main-banner-title h1 {
        font-size: 30px;
        line-height: 35px;
        text-align: center;
        width: 70%;
    }

    .main-banner .main-banner-title p {
        width: 55%;
        text-align: center;
    }

    .main-banner .main-banner-title {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-banner .main-banner-title>a {
        margin-top: 1%;
    }

    .video-background.video-background-responsive {
        display: flex;
    }

    .video-background-desktop {
        display: none;
    }
}

@media only screen and (max-width: 767.98px) {
    .main-lubricantes-banner {
        height: 450px !important;
    }
}

@media only screen and (max-width: 700px) {
    .main-banner .main-banner-title h1 {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .main-banner .main-banner-title p {
        font-family: "SF-Pro-Display-Light";
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .main-banner .main-banner-title h1 {
        font-size: 25px;
        width: 100%;
        line-height: 30px;
    }

}

@media only screen and (max-width: 450px) {
    .main-banner {
        height: 400px !important;
    }
}

/* HINO CHARACTERISTICS */

.hino-characteristics-container {
    background-color: var(--white2);
}

.hino-characteristics {
    width: 1000px;
    margin: 0 auto;
    background-color: var(--dark-gray);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    top: -40px;
}

.hino-characteristics-articles {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.hino-characteristics-articles article {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--white);
}

.hino-characteristics-articles article h4 {
    font-size: 16px;
}

.hino-characteristics-articles article figure {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--dark-red);
    border-radius: 100%;
    background-color: rgba(255, 255, 255, 0.06);
}

@media only screen and (max-width: 1100px) {
    .hino-characteristics {
        width: 900px;
    }
}

@media only screen and (max-width: 1000px) {
    .hino-characteristics {
        width: 800px;
    }

    .hino-characteristics-articles {
        gap: 25px;
    }
}

@media only screen and (max-width: 900px) {
    .hino-characteristics {
        width: 100%;
        border-radius: 0;
        position: initial;
        padding: 40px 40px 40px 50px;
    }

    .hino-characteristics-articles article {
        align-items: center;
    }

    .hino-characteristics-articles article h4 {
        text-align: center;
    }

}

@media only screen and (max-width: 800px) {
    .hino-characteristics-articles {
        flex-direction: column;
        width: 650px;
        margin: 0 auto;
        gap: 30px;
    }

    .hino-characteristics-articles article {
        flex-direction: row;
    }

    .hino-characteristics-articles article h4 {
        font-size: 18px;
        text-align: left;
    }

    .hino-characteristics-articles article h4 br {
        display: none;
    }
}

@media only screen and (max-width: 700px) {

    .hino-characteristics {
        padding: 30px 0;
    }

    .hino-characteristics-articles {
        width: 90%;
    }

    .hino-characteristics-articles article h4 {
        text-align: left;
    }
}

@media only screen and (max-width: 600px) {
    .hino-characteristics-articles article h4 {
        font-family: "SF-Pro-Display-Light";
        font-weight: 500;
    }
}

/* MOTUL */

.motul {
    background-color: var(--white2);
    padding: 60px 0 100px 0;
}

.motul .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.motul .container>figure {
    flex: 1;
}

.motul .container>figure img {
    border-radius: 20px;
    overflow: hidden;
}

.motul .container>.motul-info {
    flex: 1;
    display: flex;

    flex-direction: column;
    gap: 24px;
}

.motul .container>.motul-info h3 {
    font-size: 45px;
}

.motul .container>.motul-info h3 span {
    font-family: "SF-Pro-Display-SemiBold";
    color: var(--dark-red);
}

.motul .container>.motul-info p {
    font-size: 20px;
    font-family: "SF-Pro-Display-Light";
    width: 90%;
}

@media only screen and (max-width: 1400px) {
    .motul .container>.motul-info h3 {
        font-size: 40px;
    }
}

@media only screen and (max-width: 1200px) {
    .motul .container>.motul-info h3 {
        font-size: 30px;
        line-height: 35px;
    }
}

@media only screen and (max-width: 1100px) {

    .motul .container video {
        height: auto;
    }

    .motul .container>.motul-info p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 1000px) {

    .motul .container {
        gap: 0;
    }

    .motul .container>.motul-info h3 {
        font-size: 25px;
        line-height: 30px;
    }
}

@media only screen and (max-width: 800px) {

    .motul {
        padding: 60px 0;
    }

    .motul .container {
        flex-direction: column;
        gap: 30px;
    }

    .motul .container>.motul-info {
        flex: auto;
        width: 100%;
    }

    .motul .container>.motul-info p {
        width: 100%;
    }

    .motul .container>figure {
        width: 100% !important;
    }
}

@media only screen and (max-width: 500px) {
    .motul {
        padding: 40px 0;
    }
}

/* LINES */

.lines {
    background-color: var(--black2);
    padding: 100px 0;
    position: relative;
}

.lines .container {
    position: relative;
}

.lines .lines-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lines .lines-title h3 {
    color: var(--white);
    font-size: 45px;
    line-height: 50px;
}

.lines .lines-title>a {
    display: flex;
    gap: 10px;
}

.lines .lines-title>a button {
    width: 200px;
    border-color: var(--white);
    color: var(--white);
    height: 48px;
}

.lines .lines-title>a div {
    height: 48px;
    width: 48px;
}

.lines .lines-title>a div svg {
    width: 30px;
    height: 30px;
}

.lines .articles-container {
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
}

.lines .articles-container .lines-articles {
    display: flex;
    gap: 35px;
    will-change: transform;
}

.lines .articles-container .lines-article {
    width: 420px;
    min-width: 420px;
    flex-shrink: 0;
    background-color: #3C3C3C;
    border: 1px solid var(--light-gray);
    color: var(--white);
    display: flex;
    padding: 20px;
    border-radius: 20px;
    gap: 10px;
}

.lines .articles-container article>figure {
    width: 120px;
    height: 100%;
    display: flex;
    align-items: center;
}

.lines .articles-container article>figure img {
    width: 100%;
}

.lines .articles-container article h4 {
    font-family: "SF-Pro-Display-SemiBold";
    font-size: 20px;
    text-transform: capitalize;
}

.lines .articles-container article .lines-article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.lines .articles-container article .lines-article-info ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lines .articles-container article .lines-article-info ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lines .articles-container article .lines-article-info ul li figure {
    display: flex;
    justify-content: center;
    background-color: var(--white);
    border-radius: 100%;
}

.lines .articles-container article .lines-article-info ul li p {
    font-family: "SF-Pro-Display-Light";
    font-size: 16px;
}

@media only screen and (max-width: 1400px) {
    .lines .lines-title h3 {
        font-size: 40px;
        line-height: 45px;
    }
}

@media only screen and (max-width: 1200px) {
    .lines .lines-title h3 {
        font-size: 30px;
        line-height: 35px;
    }
}

@media only screen and (max-width: 1000px) {
    .lines .lines-title h3 {
        font-size: 25px;
        line-height: 30px;
    }

    .lines .articles-container .lines-article {
        padding: 15px;
    }

    .lines .articles-container article>figure {
        width: 100px;
        height: auto;
    }

    .lines .articles-container .lines-articles {
        gap: 30px;
    }

    .lines .articles-container .lines-article {
        width: 390px;
        min-width: 390px;
    }

    .lines .articles-container article h4 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 900px) {
    .lines .lines-title>a button {
        height: 40px;
        width: 190px;
    }

    .lines .lines-title>a div {
        height: 40px;
        width: 40px;
    }

    .lines .lines-title>a div svg {
        width: 20px;
        height: 20px;
    }
}

@media only screen and (max-width: 800px) {
    .lines {
        padding: 60px 0 150px 0;
        position: relative;
    }

    .lines .lines-title h3 {
        width: 100%;
        text-align: center;
    }

    .lines .lines-title h3 br {
        display: none;
    }

    .lines .lines-title>a {
        position: absolute;
        bottom: -90px;
        left: 0;
        right: 0;
        justify-content: center;
    }
}

@media only screen and (max-width: 500px) {
    .lines {
        padding: 40px 0 130px 0;
    }

    .lines .articles-container .lines-article {
        width: 320px;
        min-width: 320px;
    }

    .lines .articles-container article .lines-article-info ul {
        gap: 10px;
    }

    .lines .articles-container article .lines-article-info ul li p {
        font-size: 14px;
        line-height: 18px;
    }

    .lines .articles-container article>figure {
        width: 90px;
    }
}


/* WEBSITE */

.website {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.website .container {
    display: flex;
    align-items: center;
    justify-content: right;
    height: 100%;
}

.website .container>figure {
    position: absolute;
    left: 0;
    bottom: 0;
}

.website .container .website-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}

.website .container .website-info h3 {
    font-size: 45px;
}

.website .container .website-info p {
    font-size: 20px;
    line-height: 25px;
}

.website .container .website-info p a {
    font-family: "SF-Pro-Display-Bold";
    color: var(--dark-gray);
    text-decoration: underline;
    margin-left: 5px;
}

.website .container .website-info>a {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.website .container .website-info>a .contact-btn {
    width: 185px;
    height: 48px;
}

.website .container .website-info>a .red-arrow-btn {
    height: 48px;
    width: 48px;
    transition: background-color .20s ease-in-out;
}

.website .container .website-info>a .red-arrow-btn svg {
    width: 30px;
    height: 30px;
}

.website .container .website-info>a:hover .red-arrow-btn {
    background-color: var(--black2);
}

.website>figure {
    display: none;
}

@media only screen and (max-width: 1600px) {
    .website .container .website-info {
        width: 45%;
    }
}

@media only screen and (max-width: 1400px) {

    .website {
        height: 500px;
    }

    .website .container .website-info h3 {
        font-size: 40px;
    }

    .website .container>figure {
        width: 50%;
    }

    .website .container>figure img {
        width: 100%;
    }
}

@media only screen and (max-width: 1300px) {

    .website {
        height: 460px;
    }

    .website .container>figure {
        width: 48%;
    }

    .website .container .website-info {
        width: 48%;
    }

}

@media only screen and (max-width: 1200px) {

    .website {
        height: 420px;
    }

    .website .container>figure {
        width: 45%;
    }

    .website .container .website-info {
        width: 52%;
    }

    .website .container .website-info h3 {
        font-size: 30px;
    }

}

@media only screen and (max-width: 1100px) {

    .website {
        height: 350px;
    }

    .website .container>figure {
        width: 40%;
    }

    .website .container .website-info {
        width: 58%;
    }

}

@media only screen and (max-width: 1000px) {

    .website {
        height: 300px;
    }

    .website .container>figure {
        width: 35%;
    }

    .website .container .website-info {
        width: 65%;
    }

    .website .container .website-info h3 {
        font-size: 25px;
    }

    .website .container .website-info p {
        font-size: 18px;
        line-height: 22px;
    }

    .website .container .website-info>a .contact-btn {
        height: 40px;
    }

    .website .container .website-info>a .red-arrow-btn {
        width: 40px;
        height: 40px;
    }

    .website .container .website-info>a .red-arrow-btn svg {
        width: 20px;
        height: 20px;
    }

}

@media only screen and (max-width: 800px) {

    .website {
        height: 400px;
        padding: 50px 0 0 0;
    }

    .website .container {
        align-items: normal;
    }

    .website .container>figure {
        width: 48%;
    }

    .website .container .website-info {
        width: 100%;
    }

    .website .container .website-info h3,
    .website .container .website-info p {
        text-align: center;
    }

    .website .container .website-info>a {
        margin: 20px auto 0 auto;
    }

}

@media only screen and (max-width: 767.98px) {
    .website {
        height: 400px !important;
    }
}

@media only screen and (max-width: 600px) {
    .website .container .website-info p {
        font-family: "SF-Pro-Display-Light";
    }
}

@media only screen and (max-width: 500px) {

    .website {
        height: 640px !important;
    }

    .website .container>figure {
        display: none;
    }

    .website>figure {
        display: flex;
        justify-content: center;
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .website>figure img {
        width: 100%;
    }
}

@media only screen and (max-width: 400px) {

    .website {
        height: 550px !important;
    }


    .website .container .website-info>a {
        margin: 10px auto 0 auto;
    }
}