* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;

}

body {
    overflow-x: hidden;
}

:root {
    --orange: #f79421;
    --white: #fff;
    --black: #000;
    --opaco: #0000007a;
    --blue: #1e75ba;
    --green: #13f64b;
    --orange: #f79421;
    --opaco-2: #0000008a;
    --red: #1596e2;
    --red-black: #ff0000;
}

.min-height{
    min-height: 266px;
}

/* Header */

header {
    background-color: var(--black);
    width: 100%;
    position: fixed;
    z-index: 10;
}

header img {
    max-width: 250px;
    width: 100%;
}

header .col-12 {
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

.btn-header {
    border-radius: 15px;
    font-weight: 700;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px 20px;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
}

.btn-header:hover {
    background-color: var(--white);
    color: var(--red);
}

/* /Header */

/* Footer */

footer {
    background-color: var(--black);
    position: relative;
    color: var(--white);
    background-image: url(../img/element.png);
    background-position: bottom center;
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: 50px;
    background-position-y: 290px;
    padding: 50px 0 20px;
}

footer .col-12 {
    text-align: center;
}

footer img {
    max-width: 250px;
}

footer > img{
    max-width: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

footer::before {
    content: '';
    background-color: var(--black);
    position: absolute;
    top: -60px;
    border-radius: 50% 50% 0 0;
    width: 100%;
    height: 120px;
    left: 50%;
    transform: translateX(-50%) scaleY(1.2);
    overflow-x: hidden;
}

.footer_part_one{
    position: relative;
    z-index: 2;
}

.footer_part_one h2{
    font-size: 46px;
    margin-bottom: 70px;
    font-weight: 700;
}

.footer_part_one p {
    font-size: 26px;
    font-weight: 700;
}

.footer_part_one .col-md-4{
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer_part_one .col-md-4:nth-child(3){
    border-left: 1px solid var(--green);
    border-right: 1px solid var(--green);
}

.footer_part_two{
    position: relative;
    z-index: 2;
}

.footer_part_two a{
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    color: var(--orange);
}

.footer_part_two .row .col-12:first-child{
    padding: 150px 0;
}


/* Section Head */

#top{
    padding-top: 105px;
}

.head {
    background-image: url(../img/BG-header.jpg);
    height: 90vh;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

.head::after {
    content: '';
    background-color: var(--white);
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    width: 100%;
    height: 120px;
    left: 50%;
    transform: translateX(-50%) scaleY(1.2);
    z-index: 2;
}

.head .container {
    height: 100%;
}

.head .row {
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    height: 100%;
}

.cont_test_head{
    color: var(--white);
    margin-top: 40px;
}

.cont_test_head h1{
    font-size: 46px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cont_test_head h2{
    font-weight: 700;
    margin-top: 30px;
}

.cont_test_head a{
    color: var(--white);
}

.cont_test_head p{
    font-size: 26px;
    font-weight: 500;
}

/* /Section Head */

.second_sec {
    position: relative;
    padding: 80px 15px 220px;
}

.second_sec::after {
    content: '';
    background-color: var(--white);
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    width: 100%;
    height: 120px;
    left: 50%;
    transform: translateX(-50%) scaleY(1.2);
    z-index: 2;
}

.cont_stampa_scanner {
    position: absolute;
    width: 100%;
    left: 50%;
    top: -170px;
    transform: translateX(-50%);
    z-index: 9;
}

.cont_stampa_scanner .row {
    justify-content: center;
}

.card_stampa {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 300px;
    background-color: var(--black);
    border-radius: 20px;
}

.card_stampa img {
    width: 600px;
    position: relative;
    left: -20px;
    top: -53px;
    transition: all 0.4s ease 0s;
}

.card_scanner {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 300px;
    background-color: var(--black);
    text-align: end;
    transition: all 1.5;
    border-radius: 20px;
}

.card_scanner img {
    position: relative;
    width: 500px;
    top: -190px;
    right: -130px;
    transition: all 0.4s ease 0s;
}

.card_stampa p,
.card_scanner p {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transform: translate(-50%, -50%);
    font-size: 46px;
    transition: all 0.4s ease 0s;
    z-index: 3;
}

.opaco {
    background-color: var(--opaco);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: all 1.5s;
}

.card_scanner:hover .opaco,
.card_stampa:hover .opaco {
    background-color: transparent;
}

.card_scanner:hover img,
.card_stampa:hover img {
    transform: scale(1.1);
}

.card_scanner:hover p,
.card_stampa:hover p {
    transform: translate(-50%, -50%) scale(1.1);
}

.cont_testo_second_sec {
    text-align: center;
}

.cont_testo_second_sec h2{
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cont_testo_second_sec p{
    font-size: 26px;
    font-weight: 500;
}

/* /Section Head */


/* Section Competenze */

.competenze {
    background-color: var(--black);
    height: 700px;
    background-image: url(../img/BG-body-black-and-white.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.cont_competenze {
    position: absolute;
    z-index: 4;
    width: 100%;
    top: -160px;
}


.card_soluzioni {
    background-color: var(--black);
    color: var(--white);
    width: 100%;
    max-width: 398px;
    height: 495px;
    margin: 0 auto;
    margin-top: 80px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.card_consulenza {
    background-image: url(../img/terza-sezione-moto.jpg);
    color: var(--white);
    background-size: contain;
    width: 100%;
    max-width: 398px;
    height: 495px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 35px;
    /* filter: grayscale(100%); */
}

.card_formazione {
    background-color: var(--black);
    color: var(--white);
    width: 100%;
    max-width: 398px;
    height: 495px;
    margin: 0 auto;
    /* margin-top: 80px; */
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.card_soluzioni img:nth-child(1) {
    width: 575px;
    position: absolute;
    left: 0px;
}

.card_soluzioni img:nth-child(2) {
    width: 680px;
    position: absolute;
    z-index: 2;
    bottom: 0px;
    left: -70px;

}

.card_consulenza img:nth-child(1) {
    width: 750px;
    position: absolute;
    bottom: 0;
    left: -200px;

}

.card_soluzioni h2,
.card_consulenza h2,
.card_formazione h2 {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 3;
    font-size: 40px;
    font-weight: 900;
}

.card_formazione img {
    width: 890px;
    position: absolute;
    bottom: 0;
    left: -250px;
}

.testo_competenze {
    margin-top: 15px;
    background-color: #0000006b;
    border-radius: 30px;
}

.testo_competenze p {
    font-size: 22px;
    color: var(--white);
    text-align: center;
}


/* /Section Competenze */


/* Section Numeri */

.sec_numeri {
    padding: 100px 0;
    position: relative;
}

.sec_numeri::before {
    content: '';
    background-color: var(--white);
    position: absolute;
    top: -60px;
    border-radius: 50% 50% 0 0;
    width: 100%;
    height: 120px;
    left: 50%;
    transform: translateX(-50%) scaleY(1.2);
    z-index: 2;
}

.card_esperienza,
.card_stampanti,
.card_esperti {
    text-align: center;
    border-radius: 10px;
    -webkit-box-shadow: 1px 1px 25px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 25px 5px rgba(0, 0, 0, 0.15);
}

.card_esperienza,
.card_esperti {
    padding: 50px 20px;
}

.card_esperienza p:nth-child(1) {
    font-size: 100px;
    font-weight: 900;
    color: var(--blue);
}

.card_esperienza p:nth-child(2) {
    font-size: 40px;
    font-weight: 900;
}

.card_stampanti {
    padding: 80px 20px;
}

.card_stampanti p:nth-child(1) span {
    color: var(--green);
}

.card_stampanti p:nth-child(1) {
    font-size: 134px;
    font-weight: 900;
}

.card_stampanti p:nth-child(2) {
    font-size: 53px;
    font-weight: 900;
}

.card_esperti p:nth-child(1) {
    font-size: 100px;
    font-weight: 900;
    color: var(--orange);
}

.card_esperti p:nth-child(2) {
    font-size: 40px;
    font-weight: 900;
}

/* /Section Numeri */

/* Section Settori */

.sec_settori {
    padding: 100px 0;
}

.sec_settori h2 {
    margin-bottom: 100px;
    text-align: center;
    font-size: 46PX;
    font-weight: 700;
}

.sec_settori .col-lg-3 {
    margin-bottom: 30px;
}

.card_competenza {
    /* background-color: var(--black); */
    /* padding: 130px 0; */
    text-align: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    aspect-ratio: 1/1;
}

.card_competenza p {
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.logo{
    filter: grayscale(0) !important;
}

.logo img {
    max-width: 250px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
}

.card_competenza:hover .opaco {
    background-color: var(--opaco-2);
}

.automotive,
.aerospaziale,
.consumo,
.dentale,
.illumino,
.protesi,
.stampa_3d,
.logo {
    background-size: contain;
    background-repeat: no-repeat;
    filter: grayscale(1);
    transition: all 0.4s ease 0s;
    background-position: center;
}

.automotive {
    background-image: url(../img/automotive.png);
}

.aerospaziale {
    background-image: url(../img/aerospaziale.png);
}

.consumo {
    background-image: url("../img/beni di consumo.png");
}

.dentale {
    background-image: url(../img/dental.png);
}

.illumino {
    background-image: url(../img/illuminotecnica.png);
}

.protesi {
    background-image: url(../img/ortesi.png);
}

.stampa_3d {
    background-image: url(../img/service.png);
}

.logo {
    background-image: url(../img/logo_selltek.png);
}

.sec_settori .col-lg-3:hover .automotive,
.sec_settori .col-lg-3:hover .aerospaziale,
.sec_settori .col-lg-3:hover .consumo,
.sec_settori .col-lg-3:hover .dentale,
.sec_settori .col-lg-3:hover .illumino,
.sec_settori .col-lg-3:hover .protesi,
.sec_settori .col-lg-3:hover .stampa_3d,
.sec_settori .col-lg-3:hover .logo {
    filter: grayscale(0);
}

/* /Section Settori */


/* Section BTN */

.btn_richiedi_preventibo_2 a{

    border-radius: 15px;
    font-weight: 900;
    padding: 15px 20px;
    background-color: var(--white);
    color: var(--red);
    text-decoration: none;
    font-size: 30px;
    border: 2px solid var(--red)
}

.btn_richiedi_preventibo_2 a:hover{
    background-color: var(--black);
    color: var(--white);
}

.btn_richiedi_preventibo, .btn_richiedi_preventibo_2 {
    text-align: center;
    padding: 100px 0;
}

.btn_richiedi_preventibo a {
    border-radius: 15px;
    font-weight: 900;
    padding: 15px 20px;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    font-size: 30px;
    border: 2px solid var(--red)
}

.btn_richiedi_preventibo a:hover {
    background-color: var(--white);
    color: var(--red);
}

/* /Section BTN */


/* Section Stampanti */

.sec_stampanti{
    padding: 100px 0;
    /* position: relative; */
}

.sec_stampanti::after {
    content: '';
    background-color: var(--white);
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    width: 100%;
    height: 120px;
    left: 50%;
    transform: translateX(-50%) scaleY(1.2);
    z-index: 2;
}

.sec_stampanti .row{
    align-items: center;
}

.sec_stampanti h2{
    text-align: center;
    font-size: 46px;
    font-weight: 700;
}

.sec_stampanti img{
    width: 100%;
}

.sec_stampanti h3{
    font-size: 76px;
    font-weight: 900;
}

.sec_stampanti p{
    font-size: 24px;
    font-weight: 500;
}

.sec_stampanti .col-md-6{
    margin-bottom: 100px;
}


/* Section Scanner */

.sec_scanner {
    background-color: var(--black);
    padding: 150px 0 100px;
    color: var(--white);
}

.sec_scanner .row{
    align-items: center;
}

.sec_scanner h2{
    text-align: center;
    font-size: 46px;
    margin-bottom: 100px;
    font-weight: 700;
}

.sec_scanner img{
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.sec_scanner h3{
    font-size: 76px;
    font-weight: 900;
}

.sec_scanner p{
    font-size: 24px;
    font-weight: 500;
}

.sec_scanner .col-md-6{
    margin-bottom: 100px;
}

/* /Section Scanner */

/* Section Commenti */

.sec_commenti {
    text-align: center;
    background-color: var(--black);
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    background-image: url(../img/element.png);
    background-size: cover;
    background-position-y: 100px;
    background-repeat: no-repeat;
}

.sec_commenti::after{
    content: '';
    background-color: var(--white);
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    width: 100%;
    height: 120px;
    left: 50%;
    transform: translateX(-50%) scaleY(1.2);
    z-index: 2;
}

.sec_commenti > img{
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0;
    z-index: 1;
}

.sec_commenti h2{
    font-size: 46px;
    color: var(--orange);
    margin-bottom: 70px;
    font-weight: 700;
}

.commento{
    font-size: 26px;
    color: var(--white);
    padding: 0 200px;
}

.commentatore{
    font-size: 26px;
    color: var(--blue);
    font-weight: 700;
}

/* /Section Scanner */



/* Section Form */

.sec_form{
    padding: 50px 0 200px;
    position: relative;
    overflow: hidden;
}

.btn_preventivo{
    border-radius: 15px;
    font-weight: 900;
    padding: 15px 20px;
    background-color: var(--red);
    color: var(--white);
    text-decoration: none;
    font-size: 30px;
    border: 2px solid var(--red)
}

.btn_preventivo:hover{
    background-color: var(--white);
    color: var(--red);
}

.cont_btn_preventivo{
    width: 100%;
    text-align: center;
    margin-bottom: 100px;
}

#form_preventivo{
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

#form_preventivo p{
    font-size: 26px;
}

#form_preventivo .col-12 > input, #form_preventivo .col-12 > textarea{
    width: 100%;
    margin-bottom: 10px;
    padding: 5px 10px;
    border: 2px solid #eeeeee;
    border-radius: 5px;
    font-size: 26px;
}

#form_preventivo input::placeholder, #form_preventivo textarea::placeholder{
    color: #cdcaca;
    font-size: 26px;
}

.cont_options{
    margin-bottom: 15px;
}

.cont_options label{
    font-size: 26px;
    font-weight: 700;
    /* color: #eeeeee; */
}

.cont_options input{
    width: 19px;
    height: 19px;
    margin-left: 5px;
}

.cont_privacy{
    margin-bottom: 15px;
}

.cont_privacy p{
    font-size: 15px !important;
}

.cont_privacy label{
    font-size: 15px;
}

.cont_privacy a{
    font-weight: 700;
}

#btn_form{
    background-color: var(--black);
    color: var(--white);
    border-radius: 15px !important;
    font-weight: 700;
    padding: 15px !important;
}

#risposta, #risposta_negativa{
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    margin-top: 15px;
}

.offset-p{
    padding-left: 100px;
    position: relative;
}

.offset-p p {
    font-size: 26px;
}

.offset-p > img{
    /* position: absolute;
    top: 240px;
    left: -100px; */
    width: 100%;
}

#loader{
    text-align: center;
    display: none;
}

/* .cont_options label, .cont_options p{
    color: #eeeeee;
} */

/* RESPONSIVE */

/* XXX-Large devices (large desktops, less than 1800px) */

@media (max-width: 1799.98px) {}


/* XX-Large devices (large desktops, less than 1600px) */

@media (max-width: 1599.98px) {}


/* X-Large devices (large desktops, less than 1400px) */

@media (max-width: 1399.98px) {}


/* Large devices (desktops, less than 1200px) */

@media (max-width: 1199.98px) {
    header .col-12{
        text-align: start;
    }

    .btn-header{
        right: 0px;
    }

    /* /Header */

    .head{
        height: 90vh;
    }

    .cont_test_head h1 {
        font-size: 44px;
    }

    /* /Head */

    .competenze {
        height: 630px;
    }

    .card_soluzioni {
        height: 395px;
    }

    .card_soluzioni img:nth-child(1) {
        left: -60px;
        width: 500px;
    }

    .card_consulenza {
        height: 395px;
    }

    .card_formazione {
        height: 395px;
    }

    .card_formazione img {
        width: 770px;
        left: -220px;
    }

    .testo_competenze p {
        font-size: 18px;;
    }

    /*  */
    .card_esperienza p:nth-child(1) {
        font-size: 80px;
    }

    .card_esperienza p:nth-child(2) {
        font-size: 30px;
    }

    .card_stampanti p:nth-child(1) {
        font-size: 104px;
    }

    .card_stampanti p:nth-child(2) {
        font-size: 33px;
    }

    .card_esperti p:nth-child(1) {
        font-size: 80px;
    }

    .card_esperti p:nth-child(2) {
        font-size: 30px;
    }

    .offset-p > img {
        top: 400px;
        left: -50px;
        width: 620px;
    }

    .offset-p br{
        display: none;
    }

    #risposta {
        font-size: 18px;
    }

    .btn_richiedi_preventibo a, .btn_preventivo, .btn_richiedi_preventibo_2 a{
        font-size: 25px;
    }
}


/* Medium devices (tablets, less than 992px) */

@media (max-width: 991.98px) {
    .cont_test_head h1 {
        font-size: 33px;
    }

    .cont_test_head p {
        font-size: 21px;
    }

    /* /Head */

    .card_stampa p, .card_scanner p{
        font-size: 36px;
    }

    .card_scanner img {
        width: 410px;
        top: -160px;
        right: 0px;
    }

    .card_stampa img {
        width: 420px;
        left: -60px;
        top: 50px;
    }

    .cont_testo_second_sec h2 {
        font-size: 33px;
    }

    .cont_testo_second_sec p {
        font-size: 21px;
    }

    .second_sec {
        padding: 200px 15px 130px;
    }

    /*  */

    .card_soluzioni {
        height: 295px;
    }

    .card_soluzioni img:nth-child(1) {
        left: -40px;
        width: 370px;
    }

    .card_soluzioni img:nth-child(2) {
        width: 520px;
    }

    .card_soluzioni h2, .card_consulenza h2, .card_formazione h2{
        font-size: 30px;
    }

    .card_consulenza {
        height: 295px;
    }

    .card_consulenza img:nth-child(1) {
        width: 500px;
        left: -140px;
    }

    .card_formazione {
        height: 295px;
    }

    .card_formazione img {
        width: 570px;
        left: -170px;
    }

    .testo_competenze p {
        font-size: 15px;
    }

    .competenze {
        height: 530px;
    }

    .cont_competenze {
        top: -80px;
    }

    /*  */

    .card_esperienza p:nth-child(1) {
        font-size: 60px;
        margin-bottom: 0px;
    }

    .card_esperienza p:nth-child(2) {
        font-size: 20px;
    }

    .card_stampanti p:nth-child(1) {
        font-size: 74px;
        margin-bottom: 0;
    }

    .card_stampanti p:nth-child(2) {
        font-size: 26px;
    }

    .card_esperti p:nth-child(1) {
        font-size: 60px;
        margin-bottom: 0;
    }

    .card_esperti p:nth-child(2) {
        font-size: 20px;
    }

    .card_esperienza, .card_esperti {
        padding: 35px 20px;
    }

    .card_stampanti {
        padding: 62px 20px;
    }

    /*  */

    .sec_settori {
        padding: 50px 0;
    }

    /*  */

    .sec_stampanti h3 {
        font-size: 50px;
    }

    .sec_stampanti p {
        font-size: 20px;
    }

    .sec_stampanti p br {
        display: none;
    }

    /*  */

    .sec_scanner h3 {
        font-size: 50px;
    }

    .sec_scanner p {
        font-size: 20px;
    }

    .sec_scanner img {
        max-width: 280px;
    }

    /*  */

    .commento {
        font-size: 18px;
        padding: 0 80px;
    }

    .commentatore {
        font-size: 16px;
    }

    /*  */

    .offset-p {
        padding-left: 40px;
    }

    .offset-p p {
        font-size: 20px;
    }

    #form_preventivo .col-12 > input, #form_preventivo .col-12 > textarea {
        font-size: 18px;
    }

    #form_preventivo input::placeholder, #form_preventivo textarea::placeholder{
        font-size: 18px;
    }

    #form_preventivo p {
        font-size: 20px;
    }

    .cont_options label {
        font-size: 20px;
    }

    .offset-p > img {
        top: 310px;
        left: -60px;
        width: 540px;
    }

    /*  */

    .footer_part_one p {
        font-size: 18px;
    }

    .footer_part_two .row .col-12:first-child {
        padding: 60px 0;
    }
}


/* Small devices (landscape phones, less than 768px) */

@media (max-width: 768px) {

    .head {
        height: 70vh;
    }

    .cont_stampa_scanner {
        position: absolute;
        width: 100%;
        left: 50%;
        top: -90px;
        transform: translateX(-50%);
        z-index: 9;
    }

    .card_stampa {
        max-height: 150px;
    }

    .card_stampa img {
        width: 350px;
        left: -20px;
        top: -55px;
    }

    .card_stampa p, .card_scanner p {
        font-size: 30px;
    }

    .card_scanner {
        max-height: 150px;
    }

    .card_scanner img {
        width: 230px;
        top: -90px;
        right: -40px;
    }
    /*  */

    .sec_scanner {
        background-color: var(--black);
        padding: 100px 0 0px;
        color: var(--white);
    }

    .btn_richiedi_preventibo a, .btn_preventivo, .btn_richiedi_preventibo_2 a{
        font-size: 15px;
    }
}


/* Small applies to x-small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
    #top{
        padding-top: 68px;
    }

    .cont_test_head{
        margin-top: 90px;
    }

    .btn_richiedi_preventibo_2{
        padding: 15px 0 !important;
    }

    .card_formazione img:first-child{
        width: 150px !important;
        left: -20px !important;
    }

    .cont_test_head h2{
        font-size: 21px;
        font-weight: 700;
    }
    .btn-header {
        right: 10px;
        padding: 10px 10px;
        font-size: 10px;
    }

    header img {
        max-width: 130px;
    }

    .head::after {
        bottom: -30px;
        height: 60px;
    }

    /*  */

    .cont_stampa_scanner {
        top: -100px;
    }

    .cont_test_head h1 {
        font-size: 30px;
    }

    .cont_test_head p {
        font-size: 17px;
    }

    .cont_test_head p br{
        display: none;
    }

    .cont_stampa_scanner {
        top: -130px;
    }

    .card_stampa p, .card_scanner p {
        font-size: 25px;
    }

    .card_stampa img {
        width: 290px;
        left: -40px;
        top: -20px;
    }

    .card_scanner img {
        right: -30px;
    }

    .second_sec {
        padding: 80px 15px 50px;
    }

    .second_sec::after {
        bottom: -30px;
        height: 60px;
    }

    .cont_testo_second_sec h2 {
        font-size: 30px;
    }

    .cont_testo_second_sec p {
        font-size: 17px;
    }

    .cont_testo_second_sec p br{
        display: none;
    }

    /*  */

    .competenze {
        height: 350px;
    }

    .cont_competenze {
        top: -40px;
    }

    .card_soluzioni h2, .card_consulenza h2, .card_formazione h2 {
        font-size: 16px;
        bottom: 10px;
    }

    .card_soluzioni {
        height: 145px;
        border-radius: 5px;
        margin-top: 40px;
    }

    .card_soluzioni img:nth-child(1) {
        left: -40px;
        width: 200px;
    }

    .card_soluzioni img:nth-child(2) {
        width: 150px;
        left: 0px;
    }

    .testo_competenze p {
        font-size: 11px;
    }

    .testo_competenze p br{
        display: none;
    }

    .card_consulenza {
        height: 145px;
        border-radius: 5px;
    }

    .card_consulenza img:nth-child(1) {
        width: 200px;
        left: -40px;
    }

    .card_formazione {
        height: 145px;
        border-radius: 5px;
        margin-top: 40px;
    }

    .card_formazione img {
        width: 290px;
        left: -80px;
    }

    /*  */

    .sec_numeri {
        padding: 50px 0;
    }

    .sec_numeri::before {
        top: -40px;
        height: 60px;
    }

    .card_esperienza, .card_esperti {
        padding: 10px 0px;
    }

    .card_esperienza p:nth-child(1) {
        font-size: 30px;
    }

    .card_esperienza p:nth-child(2) {
        font-size: 11px;
    }

    .card_stampanti {
        padding: 20px 0px;
    }

    .card_stampanti p:nth-child(1) {
        font-size: 38px;
    }

    .card_stampanti p:nth-child(2) {
        font-size: 16px;
    }

    .card_esperti p:nth-child(1) {
        font-size: 30px;
    }

    .card_esperti p:nth-child(2) {
        font-size: 11px;
    }

    /*  */

    .sec_settori h2 {
        margin-bottom: 85px;
        font-size: 30px;
    }

    .card_competenza p {
        font-size: 15px;
    }

    .logo img {
        max-width: 155px;
    }

    /*  */

    .btn_richiedi_preventibo, .btn_richiedi_preventibo_2 {
        padding: 50px 0;
    }

    .btn_richiedi_preventibo a, .btn_richiedi_preventibo_2 a {
        font-size: 11px;
    }

    /*  */

    .sec_stampanti {
        padding: 50px 0;
    }

    .sec_stampanti h2 {
        font-size: 30px;
        margin-bottom: 50px;
    }

    .sec_stampanti h3 {
        font-size: 28px;
    }

    .sec_stampanti p {
        font-size: 11px;
    }

    .sec_stampanti .col-6{
        margin-bottom: 30px;
    }

    .sec_stampanti::after {
        bottom: -30px;
        height: 60px;
    }


    /*  */

    .sec_scanner .col-6{
        margin-bottom: 30px;
    }

    .sec_scanner h2 {
        font-size: 30px;
        margin-bottom: 50px;
    }

    .sec_scanner h3 {
        font-size: 28px;
    }

    .sec_scanner p {
        font-size: 11px;
    }

    .sec_scanner img {
        max-width: 150px;
    }

    /*  */

    .min-height{
        min-height: unset;
    }

    .sec_commenti{
        min-height: 412px;
        padding: 50px 0 0;
    }

    .sec_commenti h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .commento {
        font-size: 13px;
        padding: 0 50px;
    }

    .commentatore {
        font-size: 12px;
    }

    .sec_commenti::after {
        bottom: -30px;
        height: 60px;
    }

    /*  */

    .sec_form{
        padding: 50px 0 100px;
    }

    .btn_preventivo {
        font-size: 11px;
    }

    .sec_form .container > .row{
        flex-direction: column-reverse;
    }

    .offset-p {
        padding: 0;
        text-align: center;
        margin-bottom: 50px;
    }

    .offset-p > img {
        display: none;
    }

    /*  */

    footer {
        background-position-y: 450px;
    }

    footer::before {
        top: -30px;
        height: 60px;
    }

    .footer_part_one h2 {
        font-size: 30px;
        margin-bottom: 50px;
    }


    .footer_part_one p{
        margin-bottom: 0;
    }

    .footer_part_one .col-md-4 {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .footer_part_one .col-md-4:nth-child(3) {
        border-top: 1px solid var(--green);
        border-bottom: 1px solid var(--green);
        border-left: unset;
        border-right: unset;
    }

    .footer_part_two .row .col-12:first-child {
        padding: 30px 0;
    }

    .footer_part_two a {
        font-size: 16px;
    }

    .footer_part_two svg{
        width: 40px;
    }

    footer img {
        max-width: 130px;
    }


    .sec_commenti > img {
        bottom: -50px;

    }

}


/* Small applies to x-small devices (portrait phones, less than 321px) */

@media (max-width: 400.98px) {
    .head {
        height: 90vh;
    }

    .btn_richiedi_preventibo a, .btn_richiedi_preventibo_2 a, .btn_preventivo {
        font-size: 9px;
    }
}

.custom-carousel-wrapper {
    position: relative;
    margin: auto;
    overflow: hidden;
    padding: 10px 40px;
  }
  
  .custom-carousel {
    overflow: hidden;
  }
  
  .custom-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px; /* gestisce lo spazio tra item */
  }
  
  .custom-carousel-item {
    flex: 0 0 100%;
    box-sizing: border-box;
  }
  
  .custom-carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
  }
  
  .custom-carousel-prev,
  .custom-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00000099;
    color: white;
    border: none;
    font-size: 30px;
    padding: 5px 15px;
    cursor: pointer;
    z-index: 1;
  }
  
  .custom-carousel-prev {
    left: 0;
  }
  
  .custom-carousel-next {
    right: 0;
  }
  
  /* Responsive */
  @media (min-width: 768px) {
    .custom-carousel-item {
      flex: 0 0 50%;
    }
  }
  
  @media (min-width: 1024px) {
    .custom-carousel-item {
      flex: 0 0 33.3333%;
    }
  }
