@font-face {
    font-family: "HankookLight";
    src: url('/css/fonts/HankookTTFLight.ttf');
}

@font-face {
    font-family: "HankookRegular";
    src: url('/css/fonts/HankookTTFRegular.ttf');
}

@font-face {
    font-family: "HankookSemiBold";
    src: url('/css/fonts/HankookTTFSemibold.ttf');
}

@font-face {
    font-family: "HankookBold";
    src: url('/css/fonts/HankookTTFBold.ttf');
}


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

html,
body {
    font-family: 'HankookRegular', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    line-height: 1.7;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

b {
    font-family: 'HankookBold', sans-serif;
}

h4 {
    font-family: "HankookBold", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 48px;
}

/* Var */
:root {
    --orange: #E2652B;
    --white: #ffffff;
    --black: #131313;
    --grey: #8C8C8B;
}

/* Var ends */

/* Background */
.bg-orange {
    background-color: #292A5D;

    .hero-txt-1 {
        font-family: "HankookRegular", sans-serif;
        color: #fff;
        display: block;
        font-size: 30.4px;
        font-weight: 600;
    }


    .hero-txt-2 {
        font-family: "HankookRegular", sans-serif;
        color: #fff;
        display: block;
        font-size: 30px;
        font-weight: 600;
    }

    .hero-txt-4 {
        font-family: "HankookRegular", sans-serif;
        color: #fff;
        display: block;
        font-size: 26px;
        font-weight: 600;
    }

    .hero-txt-3 {
        font-family: "HankookBold", sans-serif;
        color: #fff;
        display: block;
        font-size: 57px;
        margin: 2px 0;
    }
}

.color-orange {
    color: #292A5D !important;
}

.bg-orange:hover {
    background-color: #292A5D;
}

/* Buttoms */
.btn-yellow {
    background: #292A5D;
    border: 1px solid #292A5D;
    border-radius: 28px;
    color: #fff !important;
    font-size: 16px;
    width: 16rem;
    text-transform: uppercase;
    padding: 0.375rem 1rem;
    font-weight: 700;
}

.btn-link:hover {
    color: var(--black);
}

.btn-yellow[type="button"] {
    font-size: 22px;
}

.btn-yellow:hover {
    background: transparent;
    border: 1px solid #292A5D;
    color: var(--black);
    font-weight: 700;
}

.button-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#contact {

    input,
    textarea {
        color: #fff;
    }
}



.button-text {
    text-align: left;
}

.button-arrow {
    margin-left: 1rem;
}

/* Track */
::-webkit-scrollbar-track {
    background: #d0d0d0;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #131313;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #131313;
}

/* hankook */


.form-control:focus {
    box-shadow: none;
    border: var(--bs-border-width) solid var(--bs-border-color);
}

/* hankook end */


/* Navbar */
.nav-link:active {
    color: #ED7029;
    text-decoration: underline;
}


.fondo-negro {
    background-image: url(/img/fondos/fondo-negro.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 520px;
    text-align: center;
}

/* Navbar ends */

/* Hero */
.hero-text {
    text-transform: uppercase;
    display: block;
    font-size: calc(1.7vw + 2vh + 1vmin);
    letter-spacing: 0;
    line-height: 1.5;
    color: var(--white);
    /* text-shadow: rgba(255, 255, 255, 0.51) 0px 0px 20px; */
    top: calc(1vw + 2vh + 1vmin);
    position: relative;
}

.hero-text-m {
    display: none;
}

.hero-text-box {
    line-height: 0.6;
    display: flex;
    letter-spacing: 2px;
}

.hero-b-value {
    font-size: 7rem;
}

.hero-s-value {
    font-size: calc(0.4vw + 2vh + 1vmin);
    margin: 0 0.3rem;
}

.hero-s-value:first-of-type {
    font-weight: 200;
    margin: 0 0.3rem;
}

.hero-s-value:last-of-type {
    font-weight: 200;
    position: relative;
    top: 50px;
}

.main-section {
    background-image: url(/img/fondos/hero-banner.png);
    background-size: cover;
    background-position: bottom;
    min-height: 84vh;
    min-width: 100%;
}

.main-box {
    /* position: absolute;
top: 50%;
left: 40%;
transform: translate(-50%, -50%); */
    color: var(--white);
}

.main-box img {
    margin: 2rem 0 0 0;
    width: calc(13vw + 2vh + 1vmin);
}

.main-box-img img {
    position: absolute;
    right: -3rem;
    top: 20%;
    width: calc(35vw + 2vh + 1vmin);
}

/* Hero end */



/* Mechanics */

#mechanics {

    hr {
        display: block;
        height: 1px;
        border: 0;
        border-top: 2.5px solid #292A5D;
        opacity: 1;
        padding: 0;
    }

    .d-gasolina {
        max-height: 118px;
    }

    .txt-gasolina {
        font-family: 'HankookRegular', sans-serif;
        font-size: 80px;
        color: #292A5D;
        font-style: italic;
    }

    .txt-cheque,
    .txt-neumaticos {
        font-family: 'HankookSemiBold', sans-serif;
        font-size: 24px;
        color: #292A5D;
        font-style: italic;
    }

    .text-participar {
        font-family: 'HankookRegular', sans-serif;
        font-size: 45px;
        color: #292A5D;
        line-height: 58px;
    }
}

.bg-morado {
    background-color: #292A5D;

    .bg-morado-2 {
        background-color: #241647;

        .text-morado {
            font-family: 'HankookRegular', sans-serif;
            color: #A295C0;
            font-size: 16px;
        }
    }
}



.fondo-participar {
    background-color: #412777;

    .como-part {
        font-family: 'HankookBold', sans-serif;
        font-style: italic;
        color: #fff;
    }

    p.txt-part-1 {
        font-family: 'HankookRegular', sans-serif;
        font-size: 140px;
        font-style: italic;
        color: #fff;
        line-height: 160px;
    }

    p.txt-part-2 {
        font-family: 'HankookRegular', sans-serif;
        font-size: 22px;
        color: #fff;
        line-height: 30px;
    }

    .txt-marca {
        font-family: 'HankookBold', sans-serif;
        font-size: 40px;
    }

    .txt-attention {
        font-family: 'HankookBold', sans-serif;
        font-size: 24px;
        color: #fff;
    }

    .txt-attention-2 {
        font-family: 'HankookRegular', sans-serif;
        font-size: 16px;
        color: #fff;
    }

    .list-attention {
        list-style: disc;
        list-style-position: inside;
        color: #fff;
    }
}

/* Mechanics end */
/* Centers */
.lista-centros {
    /* background-color: #F4F3F4; */
    background-color: #010101;

    .como-part {
        font-family: 'HankookBold', sans-serif;
        font-style: italic;
        color: #fff;
    }

    .btn-gris {
        background-color: #979797;
        color: #fff;
        border: 1px solid #979797;
        border-radius: 28px;
        font-size: 16px;
        width: 16rem;
        padding: 0.375rem 1rem;
        font-weight: 700;
    }

    .btn-gris:hover {
        background-color: #979797;
        color: #fff;
        border: 1px solid #979797;
    }
}

.btn-morado {
    background-color: #412777;
    color: #fff;
    border: 1px solid #412777;
    border-radius: 28px;
    font-size: 16px;
    width: 16rem;
    padding: 0.375rem 1rem;
    font-weight: 700;
}

.btn-gris {
    background-color: #555555;
    color: #fff;
    border: 1px solid #555555;
    border-radius: 28px;
    font-size: 16px;
    width: 16rem;
    padding: 0.375rem 1rem;
    font-weight: 700;
}

.btn-morado:hover {
    background-color: #412777;
    color: #fff;
    border: 1px solid #412777;
}


.btn-gris:hover {
    background-color: #555555;
    color: #fff;
    border: 1px solid #555555;
}

#invoice_file::file-selector-button {
    /* background-color: transparent;
    color: #000;
    border: none;
    border-radius: none;
    height: 58px;
    width: 130px; */
    display: none;
}


.box-centers {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 350px;
    font-size: 12px;
    text-align: left;


    scrollbar-color: #412777 #555555;
    scrollbar-width: thin;

    .center_name {
        font-size: 20px;
        font-family: 'HankookBold', sans-serif;
        margin-bottom: 5px;
        color: #fff;
    }

    .center_address {
        font-size: 18px;
        font-family: 'HankookRegular', sans-serif;
        margin: 0px;
        color: #bbb;
    }
}

.bg-wheel {
    background: url("/img/neumatico-negro.png") no-repeat;
    background-position: 90% 15%;
    border: 2px solid #131313;
    border-radius: 10px;
    margin-right: 0px;
}

/* Centes end */
/* Register */
/* modal */
#staticBackdrop {
    .modal-header {
        color: #412777;
        border: 0;
        border-radius: 0;
    }

    .modal-content {
        border-radius: 0;
        border: 0;
    }

    .modal-footer {
        justify-content: space-around;
        border: 0;
    }

    .modal-parrafo {
        font-family: 'HankookRegular', sans-serif;
        font-style: italic;
        font-size: 16px;
        line-height: 24px;
        color: #412777;

        span {
            font-family: 'HankookSemiBold', sans-serif;
            color: #000;
            font-style: normal;
        }
    }
}



#register {
    h2.participa {
        font-family: 'HankookSemiBold', sans-serif;
        color: #412777;
        font-style: italic;
    }

    p.txt-participa {
        font-family: 'HankookRegular', sans-serif;
        font-style: italic;
        font-size: 22px;
        color: #131313;
    }
}

#register-completed {
    top: -10%;
}

#register-completed h2,
#contact-completed h2 {
    font-family: 'HankookRegular', sans-serif;
    font-style: italic;
    font-size: 45px;
    line-height: 48px;
    color: #fff;
}

#contact-completed h2 {
    font-size: 60px;
    font-weight: 200;
}

#register-completed p,
#contact-completed p {
    font-family: 'HankookRegular', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
    color: #fff;
    margin-top: 50px;
}

/* Register ends */

.text-footer-1 {
    text-align: right !important;
}

.text-footer-2 {
    text-align: left !important;
}

.btn-accordion {
    font-family: 'HankookBold', sans-serif;
    font-style: italic;
    background-color: #412777;
    color: #fff;
}

.btn-accordion:not(.collapsed) {
    color: #fff;
    background-color: #412777;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.btn-accordion:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.btn-accordion::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Media queries */

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

    #staticBackdrop {
        .modal-footer {
            display: block;

            button,
            input {
                width: 100%;
            }
        }
    }

    .text-footer-0 {
        text-align: center !important;
    }

    .text-footer-1 {
        text-align: center !important;
    }

    .text-footer-2 {
        text-align: center !important;
    }

    .txt-marca {
        font-size: 20px !important;
    }

    .btn-morado {
        background-color: #412777;
        color: #fff;
        border: 1px solid #412777;
        border-radius: 28px;
        font-size: 16px;
        width: 5rem;
        padding: 0.375rem 1rem;
        font-weight: 700;
    }

    #mechanics {

        .text-participar {
            font-family: 'HankookRegular', sans-serif;
            font-size: 35px;
            color: #292A5D;
            line-height: 50px;
        }

        .forty-euros {
            margin-top: 5rem;
        }

    }

    .box-centers {
        .box-center {
            margin: auto;

            img {
                width: 30px;
            }
        }

        .center_name {
            font-size: 18px;
            font-family: 'HankookBold', sans-serif;
            margin-bottom: 5px;
        }

        .center_address {
            font-size: 16px;
            font-family: 'HankookRegular', sans-serif;
            margin: 0px;
        }
    }

    .lista-requeridos li {
        font-size: 14px;
    }

    /* Hero 767px */
    .fs-7 {
        font-size: 13px;
    }

    .hero-m-log {
        position: relative;
        background: #1d1d1b;
        bottom: 0;
    }

    .hero-m-log img {
        width: calc(51vw + 2vh + 1vmin) !important;
        margin: 0 !important;
        position: unset !important;
        padding: 1rem;
    }

    .main-section {
        background-image: linear-gradient(to right bottom,
                #ffffffbf,
                #ffffff61),
            url(/img/fondos/fondo-mobile.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-position-y: -5rem;
        min-height: 86vh;
    }

    .main-box {
        position: relative;
        top: 0;
        left: 0;
        transform: translate(0%, 0%);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 85vh;
    }

    .main-box img {
        margin: 2rem 0 0 0;
        /* width: calc(42vw + 2vh + 1vmin); */
        width: 100%;
        position: relative;
        bottom: -5px;
        align-self: center;
    }

    .hero-text {
        display: none;
    }

    .hero-m img {
        position: absolute;
        top: 65px;
        right: -15%;
        z-index: 0;
        width: 52%;
        bottom: auto;
        rotate: 30deg;
    }

    .hero-text-m {
        text-transform: uppercase;
        display: block;
        font-size: calc(1.7vw + 2vh + 1vmin);
        letter-spacing: 0;
        line-height: 1.5;
        color: #131313;
        text-shadow: rgba(255, 255, 255, 0.51) 0px 0px 20px;
        top: calc(1vw + 2vh + 1vmin);
        position: relative;
        /* font-size: 2rem; */
        letter-spacing: 0;
    }

    /* grids */

    .grid_2 {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;
        grid-column-gap: 0px;
        grid-row-gap: 20px;
    }

    .grid_2_1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .grid_2_2 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .grid_3 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 20px;
    }

    .grid_3 div {
        padding: 1rem;
        justify-content: center;
    }

    .grid_3 span {
        font-size: calc(5vw + 1.5vh + 1vmin);
        margin-bottom: 0.5srem;
    }

    .grid_3 span:first-of-type {
        right: 17%;
        color: #292A5D;
        font-weight: 700;
        font-size: calc(30vw + 2vh + 1vmin);
        top: 26%;
    }

    .grid_3_1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .grid_3_2 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .grid_3_3 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .grid_9 {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 10px;
        text-align: center;
        width: 100%;
        align-items: center;
        padding: 0;
    }

    .grid_9 span {
        font-size: calc(-0.8vw + 2vh + 1vmin);
        line-height: 2;
        padding: 1rem;
    }

    .grid_9_2::after {
        background-image: url(/img/2-llantas.svg);
        background-size: 32px;
    }

    .grid_9_3::after {
        background-image: url(/img/4-llantas.svg);
        background-size: 52px;
    }

    /* contact */
    #contact-completed h2 {
        font-size: 30px;
        line-height: 1.5;
        text-align: center !important;

    }
}

.center_list {
    display: none;
    padding: 10px;
    background-color: var(--white);
}

.center_list ul {
    padding: 0;
    list-style: none;
    outline: 0;
    margin: 0;
}

.center_list li {
    padding: 5px 10px;
    padding-bottom: 2px;
    cursor: pointer;
    margin: 0;
    border: 1px solid var(--white);
}

.center_list li:hover {
    border: 1px solid #003eff;
    background: #007fff;
    color: var(--white);
}

#register_form {

    input[type="text"],
    input[type="email"],
    input[type="email_confirmation"],
    input[type="date"],
    select {
        /* border-radius: 209px; */
        /* background-color: rgba(244, 244, 244, 1); */
        color: var(--black);
        height: 55px;
        border: 1px solid #412777;
    }

    input[type="text"]::placeholder,
    input[type="email"]::placeholder,
    input[type="email_confirmation"]::placeholder,
    input[type="date"]::placeholder {
        color: var(--black);
    }

    hr {
        margin: 1rem 0;
        color: inherit;
        border: 0;
        border-top: 5px solid #000;
        opacity: 1;
    }
}

.hero-section {
    background-image: url('/img/fondos/hero-banner.png');
    background-size: cover;
    background-position: center;
    min-height: 86vh;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    position: relative;
    padding: 50px 0;
}

.hero-content {
    bottom: 14%;
    left: 8%;
    position: absolute;

    p.content-1 {
        font-family: "HankookBold", sans-serif;
        color: #fff;
        font-size: 4vw;
        line-height: 60px;
        font-style: italic;
    }

    p.content-2 {
        font-family: "HankookSemiBold", sans-serif;
        color: #fff;
        font-size: 3.3vw;
    }
}

.hero-text-container {
    color: white;
    flex: 1;
}

.offer-box {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(255, 255, 255, 0.5) 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    max-width: 1025px;
}

.offer-text {
    font-size: 60px;
    font-weight: bold;
    color: #FFB800;
    line-height: 65px;
    letter-spacing: 0;
}

.offer-highlight {
    font-size: 60px;
    font-weight: bold;
    color: white;
    font-weight: bold;
    line-height: 65px;
    letter-spacing: 0;
}

.disclaimer-text {
    padding-top: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

.border-neumatico {
    border-right: 5px solid;
}

.espacio-left {
    left: -8%;
}

.espacio-right {
    right: -8%;
}

@media (max-width: 768px) {

    .search-map .btn-gris {
        width: 100%;
        margin-top: 1rem;
    }

    .espacio-left {
        left: 0;
    }

    .espacio-right {
        right: 0;
    }

    .hero-section {
        /* min-height: 40vh; */
        background-image: url(/img/fondos/hero-banner-2.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        .hero-content {
            bottom: 5%;
            left: 7%;
            position: absolute;

            p.content-1 {
                font-family: "HankookBold", sans-serif;
                color: #fff;
                font-size: 8vw;
                line-height: 50px;
                font-style: italic;
            }

            p.content-2 {
                font-family: "HankookSemiBold", sans-serif;
                color: #fff;
                font-size: 6.6vw;
            }
        }
    }

    .border-neumatico {
        border-right: 0;
    }

    .fondo-naranja {
        padding-bottom: 50px;
    }

    .offer-box {
        background: transparent;
        padding: 0;
        margin: 0 auto;
        text-align: left;

        .offer-text {
            font-size: 34px;
            font-weight: bold;
            color: #FFB800;
            line-height: 38px;
            letter-spacing: 0;
        }

        .offer-highlight {
            font-size: 34px;
            font-weight: bold;
            color: white;
            font-weight: bold;
            line-height: 38px;
            letter-spacing: 0;
        }
    }
}

/*
chatbot
*/

.container-chatbot {

    z-index: 1050;

    p,
    a,
    span,
    button {
        color: var(--black);
    }

    button.bg-morado {
        background-color: #292A5D !important;
        color: #fff !important;
    }

    button.bg-morado:hover {
        background-color: #fff !important;
        color: #292A5D !important;
    }

    .loaderSpinner {
        width: 48px;
        height: 48px;
        border: 2px solid var(--black);
        border-radius: 50%;
        display: inline-block;
        position: relative;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .loaderSpinner::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 50%;
        top: 0;
        background: #292A5D;
        width: 3px;
        height: 24px;
        transform: translateX(-50%);
    }

    .w-chat-1 {
        width: 500px;
        z-index: 1060;
        margin-bottom: 5%;

        @media (max-width: 768px) {
            width: 350px;
        }
    }

    .w-chat-2 {
        height: 500px;
    }

}