:root {
    --blu: #273747;
    --giallo: #fcdc15;
    --gray: #4E4F59;
    --gray-shadow: #ababab85;
    --white: #fff;
    --red: #F53838;
    --red-shadow: #ec2727ad;
    --black-video: #222222;
}



@charset "UTF-8";
/* CSS Document */

@font-face {
    font-family: bodoni;
    src: url(../font/bodoni-72-smallcaps-book.ttf);
}

body,
h1,
h2,
h3,
h4,
h5,
p {
    font-family: 'Roboto', sans-serif;
}

.level-5 {
    z-index: 5;
}

.level-4 {
    z-index: 4;
}

.level-3 {
    z-index: 3;
}

.level-2 {
    z-index: 2;
}

.level-1 {
    z-index: 1;
}

.level-top {
    z-index: 99;
}

.box-sez {

    padding-left: 13rem;
    padding-right: 13rem;
}

.img-foot {
    filter: brightness(50%);
    object-fit: cover;
}

.box-img {
    top: 0;
    position: absolute;

    color: white;
}

.list-pag {
    gap: 1rem;
    display: flex;

}

.btn-call {
    color: var(--giallo);
    font-weight: 600;
    background-color: var(--blu);
    border: 2px solid var(--gray);
    border-radius: 20px;
    padding: 0.7em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-call:hover {
    color: var(--blu);
    font-weight: 600;
    background-color: var(--giallo);
    border: 2px solid var(--gray);
    border-radius: 20px;
    padding: 0.7em;
}

.img-gommista {
    aspect-ratio: 5/4;
    object-fit: cover;
    border-radius: 1rem;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.397));
}

.text-img {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
}

.title-img {
    font-size: calc(30px + (50 - 30) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}

.title-modal{
    font-weight: 800;
    font-size: 2rem;
}
.text-modal{
    font-size: 1.4rem;
}
.relative {
    position: relative;
}

.bg-blue {
    background-color: var(--blu);
}

.nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 500;
    padding-left: 1rem;
    margin-right: 1rem;

}

.link-red {
    background-color: var(--red);

    border-radius: 0.5rem;
    box-shadow: 0px 0px 10px 0px var(--red-shadow);
}

.logo-nav {
    min-width: 200px;
}

.navbar {
    background-color: var(--blu) !important;
}

.navbar-toggler {
    border: 0px solid var(--white);
}

/*-----------------------------------Video Back----------------------------------------------*/
.video-background-holder {
    position: relative;
    background-color: var(--black-video);
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

.video-background-holder video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.video-background-content {
    position: relative;
    padding: 0px;
}

.video-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--white);
    opacity: 0;
    z-index: 1;
}

.strada svg {
    z-index: 4;
    width: 100%;
    display: block;
    position: absolute;
}

.strada svg .path {
    stroke-dasharray: 10000;
    stroke-dashoffset: 10000;
    animation: dash 20s linear forwards;
}

.strada svg .path2 {
    stroke-dasharray: 10000;
    stroke-dashoffset: 10000;
    animation: dash 20s linear forwards;
    animation-delay: 2.9s;
}

.strada svg .path3 {
    stroke-dasharray: 10000;
    stroke-dashoffset: 10000;
    animation: dash 20s linear forwards;
    animation-delay: 5.8s;
}

.top3 {
    margin-top: -45.5rem;
}

@keyframes dash {

    to {
        stroke-dashoffset: 0;
    }
}

.sfumatura {
    position: absolute;
    bottom: 0px;
}

.sfumatura2 {
    position: absolute;
    top: 0px;
}

.sfumatura3 {
    position: absolute;
    bottom: 0px;
}

.sfumatura4 {
    position: absolute;
    bottom: 20rem;
}

.sfumatura-top {
    position: absolute;
    top: 0px;
}

.nopadding {
    padding: 0px;
}

.logo-head {
    position: absolute;
    bottom: 0px;

}

.title-h1-head {
    font-family: 'Lora', serif;
    font-size: calc(16px + (36 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--gray);
    font-style: italic;
    padding-right: 4rem;
    text-align: right;
}

.title {
    font-size: calc(30px + (60 - 30) * ((100vw - 300px) / (1920 - 300)));
    color: var(--gray);
    font-weight: 800;
    text-align: right;
    padding-right: 4rem;
}

.title-icn {
    font-family: 'Lora', serif;
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--gray);
    font-style: italic;
    text-align: center;
}

.sp-1txt {
    padding-top: 13rem;
}

.txt-head {
    font-family: 'Lora', serif;
    font-size: calc(16px + (26 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--gray);
    font-weight: 400;
    text-align: justify;
}

.txt-storia {
    font-family: 'Lora', serif;
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--gray);
    font-weight: 400;
    text-align: justify;
    padding-left: 2rem;
    padding-right: 2rem;
}

.back-camion {
    background-image: url(../img/strada.jpg);
    background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    height: 80vh;
}

.box-2text {
    padding-top: 36rem;
    padding-left: 6rem;
    padding-right: 6rem;
    padding-bottom: 6rem;
}

.mappa {
    width: 100%;
    position: absolute;
    top: -10rem;
}

.sp-strada {
    padding-top: 6rem;
}

.tasto-man {
    max-width: 60%;
    border-radius: 1rem;
    box-shadow: 0.2rem 0.2rem 5px 0px #313131b3;
    transition-duration: 1s;
}

.tasto-man:hover {
    max-width: 60%;
    border-radius: 1rem;
    box-shadow: 0.3rem 0.3rem 15px 0px #313131b3;
    transition-duration: 1s;
}

.card {
    margin: 4rem;
    border-radius: 0px;
    background-color: #273747;
    border: 1px solid var(--white);
    box-shadow: 1rem 1rem 5px 0px #25303C;
}

.link-servizi {
    text-decoration: none;
}

.scheda-form {
    background-color: #273747;
    border-radius: 1rem;
    margin-top: 9rem;
    box-shadow: 0px 0px 10px 0px;
}

.box-form {
    padding: 2rem;
    padding-top: 0rem;
}

.sp-form {
    padding-left: 1rem;
    padding-right: 1rem;
}

.box-txt-form {
    padding-left: 2rem;
    padding-right: 2rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--white);
    background-color: #273747;
    background-clip: padding-box;
    border: 2px solid var(--white);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.2rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-top: 1rem;

}

.txt-form {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
    font-weight: 400;
    text-align: center;
}

.txt-campi-form {
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
    font-weight: 300;
    margin-bottom: 0px;
    margin-top: 0.5rem;
}

.form-control:hover {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--white);
    background-color: var(--gray);
    background-clip: padding-box;
    border: 2px solid var(--white);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.2rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-top: 1rem;
}

.form-control:focus {
    color: var(--white);
    background-color: var(--gray);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.mg-top {
    margin-top: 5px !important;
}

.back-form {
    background-image: url(../img/ricambio.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.back-form-revisioni {
    background-image: url(../img/revisioni.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.back-automezzi {
    background-image: url(../img/automezzi.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
}

.back-tachi {
    background-image: url(../img/back-tachi.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
}

.timer {
    color: #951010;
    font-size: calc(20px + (52 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 500;
    text-align: right;
    background-color: var(--white);
    border-radius: 1rem;
    padding-right: 4rem;
}

.sp-tachi {
    padding: 3rem;
}

.dim-img {
    max-width: 60%;
}

.box-tachi {
    background-color: var(--white);
    border-radius: 2rem;
    box-shadow: 2px 2px 10px var(--gray-shadow);
}

.big-tit-tachi {
    font-size: calc(30px + (50 - 30) * ((100vw - 300px) / (1920 - 300)));
    color: #282626;
    font-weight: 900;
    text-align: center;
    padding-top: 2rem;
}

.tit-tachi {
    font-size: calc(30px + (40 - 30) * ((100vw - 300px) / (1920 - 300)));
    color: #282626;
    font-weight: 600;
    text-align: right;
    text-transform: uppercase;
    padding-right: 4rem;
}

.txt-tachi {
    font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1920 - 300)));
    color: #282626;
    font-weight: 600;
    text-align: center;
    padding-bottom: 2rem;
}


.small-anno {
    font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 900;
    color: #FB1143;
    line-height: calc(16px + (16 - 16) * ((100vw - 300px) / (1920 - 300)));
}

.anno {
    font-size: calc(30px + (85 - 30) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 900;
    color: var(--gray);
    line-height: calc(30px + (70 - 30) * ((100vw - 300px) / (1920 - 300)));
}

.txt-anno {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--gray);
    font-weight: 400;
}

.box-anno {
    padding: 3rem;
}


textarea::placeholder,
input::placeholder {
    opacity: 0.5;
    color: var(--white) !important;

}

.tit-form {
    font-size: calc(30px + (55 - 30) * ((100vw - 300px) / (1920 - 300)));
    color: var(--giallo);
    font-weight: 600;
    text-align: center;
    padding-top: 2rem;
}

.txt-pag {
    font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--gray);
    font-weight: 400;
    padding-top: 2rem;
}



.sp-card {
    padding-right: 2rem;
}

.icn-card {
    padding-right: 0px;
    padding-top: 0px;
    padding-left: 16px;
}

.serv-box {
    color: var(--white);
    font-size: calc(26px + (55 - 26) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 3px;
    padding-left: 1rem;
    transition-duration: 1s;
}

.serv-box:hover {
    color: var(--white);
    font-size: calc(26px + (55 - 26) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 3px;
    padding-left: 4rem;
    transition-duration: 2s;
}

.brd-ser {
    border-bottom: 2px solid var(--white);
}

.sp-txt-form {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.titolo-card {
    color: var(--white);
    font-size: calc(16px + (50 - 16) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
}

.txt-card {
    color: var(--white);
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 300;
}

/*--------Fine Modal---------*/
.modal {
    margin-top: 6%;
}

.img-modal {
    padding: 0px;
    border-radius: 1rem;
}

.modal-body {
    box-shadow: 0px 0px 0px 0px var(--black-video);
    padding: 0px;
}

.modal-header {
    border-bottom: 0px solid transparent;

}

.btn-close {
    background-color: var(--white);
    opacity: 1;
    border-radius: 4rem;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: transparent;
    background-clip: padding-box;
    border: 0px;
    border-radius: 0rem;
    outline: 0;
}

.modal-dialog {
    max-width: 50%;
    margin: 1.75rem auto;
}

.modal-title {
    font-size: calc(24px + (70 - 24) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(24px + (66 - 24) * ((100vw - 300px) / (1920 - 300)));
    color: #595959;
    font-weight: 600;
}

.btn-m {
    color: var(--white);
    font-size: calc(20px + (26 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 4px solid var(--white);
    border-radius: 1rem;
}

.btn-m:hover {
    background-color: var(--white);
    color: var(--red);
    font-size: calc(20px + (26 - 20) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 4px solid var(--red);
    border-radius: 1rem;
}

.btn-pag {
    color: #242424;
    font-size: calc(18px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 3px solid #242424;
    border-radius: 1rem;
}

.btn-pag:hover {
    background-color: var(--white);
    color: var(--red);
    font-size: calc(18px + (20 - 18) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 3px solid var(--red);
    border-radius: 1rem;
}

.tac-m {
    width: 60%;
}

/*--------Fine Modal---------*/

.testo-storia {
    padding-top: 30rem;
}

.box-txt-card {
    padding: 4rem;
}

.tit-foot {
    font-size: calc(20px + (22 - 20) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
    font-weight: 600;
}

.txt-foot {
    font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: var(--white);
    font-weight: 300;
}

.white {
    color: var(--white);
}

.back-foot {
    background-color: #273747;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.back-foot-index {
    background-color: #112030;
    padding-top: 8rem;
    padding-bottom: 3rem;
}

.wa {
    position: fixed;
    max-width: 60px;
    right: 1rem;
    bottom: 1rem;
    z-index: 90000000;
}

.btn-secondary {
    margin-top: 0.3rem;
}

.link-commerciale {
    color: #112030;
    font-weight: 500;
    font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1920 - 300)));
}

.linea-foot {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

a {
    text-decoration: none;
    color: var(--white);
}

a:hover {
    text-decoration: none;
    color: #EAEAEA;
}
.modal-body{
    color:var(--white);
    font-weight: 400;
    background-color: var(--blu);
    padding:2rem;
    border-radius:20px;
    border:4px solid var(--white)
}
@media only screen and (max-width: 2000px) {
    .box-sez {
        padding-left: 6rem;
        padding-right: 6rem;
    }

    .mappa {
        width: 100%;
        position: absolute;
        top: 3rem;
    }

    .testo-storia {
        padding-top: 20rem;
    }

    .top3 {
        margin-top: -35.5rem;
    }
}

@media only screen and (max-width: 1500px) {
    .box-sez {
        padding-left: 6rem;
        padding-right: 6rem;
    }

    .top3 {
        margin-top: -25.5rem;
    }

    .sp-1txt {
        padding-top: 6rem;
    }

    .mappa {
        width: 100%;
        position: absolute;
        top: -15rem;
    }

    .txt-storia {
        font-size: calc(16px + (17 - 16) * ((100vw - 300px) / (1920 - 300)));
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .testo-storia {
        padding-top: 5rem;
    }

    .txt-head {
        font-size: calc(16px + (17 - 16) * ((100vw - 300px) / (1920 - 300)));
    }

    .box-2text {
        padding-top: 14rem;
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

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

@media only screen and (max-width: 700px) {
    .img-foot{
        aspect-ratio: 9 / 12;
    }
    .box-sez {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .row-mobile{
        justify-content: end;
    }
    .level-5 {
        z-index: 3;
    }

    .txt-storia {
        z-index: 9;
    }

    .box-form {
        padding: 1rem;
        padding-top: 0rem;
    }

    .box-2text {
        padding-top: 14rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .testo-storia {
        padding-top: 4rem;
    }

    .txt-storia {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .sp-link {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .video-background-holder {
        position: relative;
        background-color: var(--black-video);
        height: 60vh;
        min-height: 25rem;
        width: 100%;
        overflow: hidden;
    }

    .box-txt-form {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .txt-pag {
        font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1920 - 300)));
        color: var(--gray);
        font-weight: 400;
        padding-top: 0rem;
    }

    .modal-dialog {
        max-width: 90%;
        margin: 1.75rem auto;
        margin-top: 3rem;
    }

    .tac-m {
        width: 80%;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .sp-foot {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .wa {
        right: 0.2rem;
        bottom: 0.2rem;
        max-width: 20;
    }

    .mappa {
        width: 100%;
        position: absolute;
        top: 2rem;
    }

    .title {
        padding-right: 0.5rem;
    }

    .modal-content {
        width: 100%;
    }
    .back-foot-index {
        background-color: #112030;
        padding-top: 2rem;
        padding-bottom: 0rem;
    }
}