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

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

.outfit-<uniquifier > {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

.titan-one-regular {
    font-family: "Titan One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.caveat-<uniquifier > {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

@font-face {
    font-family: grindela;
    /* set name */
    src: url("../font/grind.otf");
    /* url of the font */
}

::-moz-selection {
    /* Code for Firefox */
    color: #F4F2E8;
    background: #383838;
}

::selection {
    color: #F4F2E8;
    background: #383838;
}
.wa {
    position: fixed;
    max-width: 80px;
    right: 1rem;
    bottom: 1rem;
    z-index: 1030;
}

.navbar {
    z-index: 1030;
    padding-left: 6%;
    padding-right: 6%;
    padding-top: 1%;
}

.nav-link {
    background-color: #b61918;
    color: #fff;
    border-radius: 0.7rem;
    font-family: "Titan One", sans-serif;
    font-size: calc(16px + (22 - 16)*((100vw - 300px) /(1920 - 300)));
    padding-left: 2rem!important;
    padding-right: 2rem!important;
    margin-right: 1rem;
    margin-left: 1rem;
    transition: all 0.5s ease-in-out;
    box-shadow: 2px 2px 5px #38383831;
}
.nav-link:hover {
    border-radius: 3rem;
    transition: all 0.5s ease-in-out;
    color: #fff;
    margin-left: 2rem;
    rotate: calc(3deg);
    box-shadow: -2px -12px 10px #38383831;
}

.navbar-toggler {
    border:0px;
    box-shadow: 2px 2px 5px #38383831;
    border-radius: 10rem;
    background-color: #fff;
}



.cont {
    background-color: #381010;
    border-radius: 5rem;
    padding-left: 1.2rem!important;
    padding-right: 1.2rem!important;
    margin-right: 0.4rem;
    margin-left: 0.4rem;
}
.cont:hover {
    background-color: #381010;
    border-radius: 5rem;
    padding-left: 1.2rem!important;
    padding-right: 1.2rem!important;
    rotate: calc(18deg);
}
.navbar-brand {
    background-color: #fff;
    border-radius: 0.7rem;
    font-family: "Titan One", sans-serif;
    font-size: calc(16px + (22 - 16)*((100vw - 300px) /(1920 - 300)));
    padding-left: 2rem!important;
    padding-right: 2rem!important;
    margin-right: 1rem;
    margin-left: 1rem;
    transition: all 0.5s ease-in-out;
    box-shadow: 2px 2px 5px #38383831;
}

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

.ros {
    background-color: #fff;
    color: #e52421;
}
.ros:hover {
    background-color: #fff;
    color: #e52421;
}

.dr-ros{
    background-color: #b61918;
    color: #fff;
    border-radius: 0.7rem;
    font-family: "Titan One", sans-serif;
    font-size: calc(16px + (22 - 16)*((100vw - 300px) /(1920 - 300)));
    padding-left: 2rem!important;
    padding-right: 2rem!important;
    margin-right: 1rem;
    margin-left: 1rem;
    transition: all 0.5s ease-in-out;
    box-shadow: 2px 2px 5px #38383831;
    margin-top:0.5rem;
    max-width: 90%;
}
.dropdown-menu {
    background-color: transparent;
    border: 0px;
    padding: 0px;

}
.head {
    height: 130vh;
    background-color: #e52421;
    border-radius: 0 0 10rem 10rem;
    overflow: hidden;
}
.cont-head {
    height: 150vh;
    position: relative;
}
.back-1 {
    position: absolute;
    bottom: 0;

    animation-name: pos-1;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: 1;
}
@keyframes pos-1 {
    0% {
        top: 2rem;
        left: -2rem;
        min-width: 130%;
    }
    100% {
        top: 3rem;
        left: -10rem;
        min-width: 120%;
    }
}

.back-2 {
    position: absolute;
    bottom: 0;
    width: 100%;
    animation-name: pos-2;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: 2;
}
@keyframes pos-2 {
    0% {
        top: 5rem;
    }
    100% {
        top: 6rem;
    }
}

.back-3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    animation-name: pos-3;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: 3;
}
@keyframes pos-3 {
    0% {
        bottom: -40rem;
        min-width: 130%;
    }
    100% {
        bottom: -10rem;
        min-width: 110%;
    }
}

.borraccia {
    position: absolute;
    top: -42%;
    width: 90%;
    z-index: 20;
    animation-name: pos-borr;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes pos-borr {
    0% {
        left: -11%;
        rotate: calc(2deg);
    }
    100% {
        left: -12%;
        rotate: calc(4deg);
    }
}

.tazza {
    position: absolute;
    top: 6%;
    width: 50%;
    z-index: 23;
    animation-name: pos-tazz;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes pos-tazz {
    0% {
        left: -26%;
        rotate: calc(-2deg);
    }
    100% {
        left: -24%;
        rotate: calc(-4deg);
    }
}

.quaderno {
    position: absolute;
    bottom: -40%;
    width: 50%;
    z-index: 24;
    animation-name: pos-quad;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes pos-quad {
    0% {
        right: -2%;
        rotate: calc(-2deg);
    }
    100% {
        right: -4%;
        rotate: calc(-4deg);
    }
}

.box {
    animation-name: sposta;
    animation-duration: 2s;
}

.sp-scr-head {
    position: inherit;
    padding-top: 22%;
    padding-left: 5%;
    z-index: 10;
}
.h1-head {
    font-size: calc(30px + (40 - 30)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(30px + (35 - 30)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    text-transform: uppercase;
    font-weight: 300;
}
.title-head {
    font-family: "Titan One", sans-serif;
    font-size: calc(25px + (160 - 25)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(25px + (145 - 25)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
}

.txt-head {
    padding-top: 3rem;
    font-size: calc(16px + (35 - 16)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (38 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    font-weight: 500;
}

.btn-head {
    background-color: #360707;
    color: #fff;
    font-family: "Titan One", sans-serif;
    font-size: calc(16px + (35 - 16)*((100vw - 300px) /(1920 - 300)));
    padding: 1rem 3rem;
    border-radius: 5rem;
    transition-duration: 1s;
    box-shadow: 2px 2px 5px #38383831;
}
.btn-head:hover {
    color: #fff;
    transition-duration: 1s;
    border-radius: 5rem;
    rotate: calc(18deg);
    padding-left: 7rem;
    box-shadow: 12px 12px 5px #38383831;
}
.btn-call {
    background-color: #360707;
    color: #fff;
    font-family: "Titan One", sans-serif;
    font-size: calc(16px + (26 - 16)*((100vw - 300px) /(1920 - 300)));
    padding: 0.5rem 2rem;
    border-radius: 5rem;
    transition-duration: 1s;
    box-shadow: 2px 2px 5px #38383831;
}
/* cataloghi: bottoni separati anche quando vanno a capo */
.pag-prodotti .btn-call {
    display: inline-block;
    white-space: nowrap;
    margin: 0.4rem 0.2rem;
}
.btn-call:hover {
    color: #fff;
    transition-duration: 1s;
    border-radius: 5rem;
    rotate: calc(18deg);
    padding-left: 5rem;
    box-shadow: 12px 12px 5px #38383831;
}
.btn-cat {
    background-color: #360707;
    color: #fff;
    font-family: "Titan One", sans-serif;
    font-size: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
    padding: 0.5rem 2rem;
    border-radius: 5rem;
    transition-duration: 1s;
    box-shadow: 2px 2px 5px #38383831;
}
/* cataloghi: bottoni separati anche quando vanno a capo */
.pag-prodotti .btn-cat {
    display: inline-block;
    white-space: nowrap;
    margin: 0.4rem 0.2rem;
}
.btn-cat:hover {
    color: #fff;
    transition-duration: 1s;
    border-radius: 5rem;
    rotate: calc(18deg);
    padding-left: 5rem;
    box-shadow: 12px 12px 5px #38383831;
}

.mid{
    text-align: center;
}
.idee {
    position: absolute;
    width: 40%;
    top: -7%;
    right: -7%;
    z-index: 7;
    animation-name: rot-idee;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes rot-idee {
    0% {
        rotate: calc(-12deg);
    }
    100% {
        rotate: calc(40deg);
    }
}
.omino {
    position: absolute;
    width: 40%;
    top: -7%;
    right: -7%;
    z-index: 6;
    animation-name: rot-omino;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes rot-omino {
    0% {
        rotate: calc(-10deg);
    }
    100% {
        rotate: calc(20deg);
    }
}

.box-1txt {
    padding: 12rem 10%;
    padding-bottom: 1rem;
}

.scritta-mano {
    font-family: "Caveat", cursive;
    color: #e02121;
    font-size: calc(24px + (65 - 24)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(24px + (65 - 24)*((100vw - 300px) /(1920 - 300)));
    text-align: center;
    rotate: calc(2deg);
    margin-top: -3rem;
}
.title {
    font-family: "Titan One", sans-serif;
    color: #000;
    font-size: calc(50px + (120 - 50)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(40px + (120 - 40)*((100vw - 300px) /(1920 - 300)));
    text-align: center;
}
.title-pag {
    font-family: "Titan One", sans-serif;
    color: #000;
    font-size: calc(30px + (120 - 30)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(30px + (120 - 30)*((100vw - 300px) /(1920 - 300)));
    text-align: center;
}
.txt {
    padding-top: 3rem;
    font-size: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #000;
    font-weight: 400;
    text-align: center;
    padding-left: 15%;
    padding-right: 15%;
}
.txt-w {
    font-size: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    font-weight: 400;
    text-align: center;
    padding-left: 15%;
    padding-right: 15%;
}
.tit-w {
    font-family: "Titan One", sans-serif;
    
    font-size: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    font-weight: 400;
    text-align: center;
    padding-left: 15%;
    padding-right: 15%;
}
.tit-b {
    font-family: "Titan One", sans-serif;
    
    font-size: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #000;
    font-weight: 400;
    text-align: center;
    padding-left: 15%;
    padding-right: 15%;
}
.txt-b {
    font-size: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #000;
    font-weight: 400;
    text-align: center;
    padding-left: 15%;
    padding-right: 15%;
}
.titolo-prodotti {
    font-family: "Titan One", sans-serif;
    
    font-size: calc(20px + (36 - 20)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #000;
    font-weight: 400;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 3rem;
}
.txt-prodotti {
    font-size: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #000;
    font-weight: 400;
    padding-left: 2%;
    padding-right: 2%;
}

.sp-macchine{
    padding-left: 10%;
    padding-right: 10%; 
    padding-top: 4rem;
}
.img-macchina{
    border-radius:1.5rem;
    box-shadow: 2px 2px 10px #0000003a;;
}
.tit-macchina {
    font-size: calc(20px + (28 - 20)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    font-weight: 800;
    padding-right: 15%;
    padding-top: 1rem;
}
.txt-macchina {
    font-size: calc(16px + (22 - 16)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(16px + (22 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    font-weight: 400;
    padding-right: 15%;
}
.dist-card {
    padding: 4rem 2rem;
    border: 0 solid transparent;
}

.card {
    padding: 1rem 0.5rem;
    border: 0 solid transparent;
    border-radius: 2.5rem;
    transition-duration: 0.5s;
}
.c1 {
    background-color: #e02121;
    rotate: calc(4deg);
    margin-top: 1rem;
}
.c2 {
    background-color: #e02121;
    rotate: calc(-2deg);
    margin-top: 3rem;
}
.c3 {
    background-color: #e02121;
    rotate: calc(2deg);
    margin-top: 0;
}
.c4 {
    background-color: #e02121;
    rotate: calc(-3deg);
    margin-top: 5rem;
}

.card:hover {
    border: 0 solid transparent;
    border-radius: 2.5rem;
    rotate: calc(10deg);
    transition-duration: 0.5s;
}
.ph-card {
    border-radius: 1.5rem;
}
.title-card {
    font-family: "Titan One", sans-serif;
    font-size: calc(20px + (24 - 20)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 0PX;
}
.txt-card {
    font-size: calc(16px + (18 - 16)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(24px + (24 - 24)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.back-chisiamo {
    background-image: url("../img/back-chisiamo.svg");
    background-position: center;
    background-size: cover;
}
.sez-servizi {
    background-color: #e52421;
    padding: 8rem 6rem;
    border-radius: 10rem;
    background-image: url("../img/back-servizi.svg");
    background-position: center;
    background-size: cover;
    margin: 1%;
}
.h-sc-servizi {
    height: 70vh;
    padding-top: 4rem;
}

.dim-icn{
    max-width: 30%;
}

.title-sc {
    font-family: "Titan One", sans-serif;
    font-size: calc(24px + (38 - 24)*((100vw - 300px) /(1920 - 300)));
    color: #000;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 0PX;
}
.txt-sc {
    font-size: calc(24px + (20 - 24)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(24px + (24 - 24)*((100vw - 300px) /(1920 - 300)));
    color: #000;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.logo-catalogo{
    width: 70%;
}
.txt-cataloghi {
    font-size: calc(20px + (26 - 20)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(20 + (26 - 20)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    text-align: center;
}
.schede-serv {
    position: absolute;
    box-shadow: 0 0 10px #00000077;
    padding: 2rem;
    width: 25%;
    border-radius: 2rem;

}

.sc1 {
    background-color: #fff;
    left: 15%;
    rotate: calc(10deg);
    transition-duration: 1.5s;
}

.sc2 {
    background-color: #fff;
    left: 32%;
    rotate: calc(-2deg);
    transition-duration: 1.5s;
}

.sc3 {
    background-color: #fff;
    left: 46%;
    rotate: calc(8deg);
    transition-duration: 1.5s;
}

.sc4 {
    background-color: #fff;
    left: 62%;
    rotate: calc(2deg);
    transition-duration: 1.5s;
}

.sc1:hover {
    left: 22%;
    rotate: calc(0deg);
    transition-duration: 2s;
}
.sc2:hover {
    left: 30%;
    rotate: calc(0deg);
    transition-duration: 2s;
}
.sc3:hover {
    left: 40%;
    rotate: calc(0deg);
    transition-duration: 2s;
}
.sc4:hover {
    left: 58%;
    rotate: calc(0deg);
    transition-duration: 2s;
}

.sc1:hover + .sc2 {
    left: 48%;
    rotate: calc(5deg);
    transition-duration: 2s;
}
.sc1:hover ~ .sc3 {
    left: 54%;
    rotate: calc(-5deg);
    transition-duration: 2s;
}

.sc1:has(~ .sc2:hover) {
    left: 6%;
    rotate: calc(-3deg);
    transition-duration: 2s;
}
.sc2:hover + .sc3 {
    left: 56%;
    rotate: calc(3deg);
    transition-duration: 2s;
}
.sc2:hover ~ .sc4 {
    left: 68%;
    rotate: calc(6deg);
    transition-duration: 2s;
}

.sc1:has(~ .sc3:hover) {
    left: 6%;
    rotate: calc(-3deg);
    transition-duration: 2s;
}
.sc2:has(~ .sc3:hover) {
    left: 18%;
    rotate: calc(4deg);
    transition-duration: 2s;
}
.sc3:hover + .sc4 {
    left: 68%;
    rotate: calc(7deg);
    transition-duration: 2s;
}

.sc1:has(~ .sc4:hover) {
    left: 6%;
    rotate: calc(-3deg);
    transition-duration: 2s;
}
.sc2:has(~ .sc4:hover) {
    left: 18%;
    rotate: calc(4deg);
    transition-duration: 2s;
}
.sc3:has(~ .sc4:hover) {
    left: 30%;
    rotate: calc(-3deg);
    transition-duration: 2s;
}

.scritta-mano-w {
    font-family: "Caveat", cursive;
    color: #fff;
    font-size: calc(24px + (65 - 24)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(24px + (65 - 24)*((100vw - 300px) /(1920 - 300)));
    text-align: center;
    rotate: calc(2deg);
    margin-top: -3rem;
}

.round-video {
    border-radius: 5rem 5rem 5rem 5rem;
    margin: 0 1% 1%;
}

.sez-rosmini {
    position: relative;
    height: 200vh;
    background-color: transparent;
    z-index: 1;
    /* NEW: crea un proprio stacking context sopra i video con z-index negativo */
    margin-top: -10rem;
    background-image: url("../img/back-rosmini.svg");
    background-size: cover;
    background-position: top center;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    /* NEW */
}

#sequenceCanvas {
    display: block;
    width: 120%;
    height: 120%;
    left: -20%;
    position: relative;
    /* NEW: necessario perché z-index abbia effetto */
    z-index: 1;
    /* NEW */
    margin-top: 0;
}
.sp-scr-rosmini {
    position: relative;
}
.pos-scr-rosmini {
    margin-top: 6%;
    margin-bottom: 30%;

}
.sup-title-rosmini {
    font-family: "Titan One", sans-serif;
    color: #bd0d0d;
    font-size: calc(24px + (60 - 24) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(30px + (60 - 30) * ((100vw - 300px) / (1920 - 300)));
    text-align: right;
    padding-right: 3rem;
}
.title-rosmini {
    font-family: "Titan One", sans-serif;
    color: #000;
    font-size: calc(38px + (100 - 38) * ((100vw - 300px) / (1920 - 300)));
    line-height: calc(42px + (100 - 42) * ((100vw - 300px) / (1920 - 300)));
    text-align: right;
    padding-right: 3rem;
}

.sp-btn-rosmini {
    margin-right: 3rem;
    margin-top: 2rem;
}
.btn-rosmini {
    background-color: #360707;
    color: #fff;
    font-family: "Titan One", sans-serif;
    font-size: calc(16px + (35 - 16)*((100vw - 300px) /(1920 - 300)));
    padding: 1rem 3rem;
    border-radius: 5rem;
    transition-duration: 1s;
    box-shadow: 2px 2px 5px #38383831;
}
.btn-rosmini:hover {
    color: #fff;
    transition-duration: 1s;
    border-radius: 5rem;
    rotate: calc(18deg);
    padding-left: 7rem;
    box-shadow: 12px 12px 5px #38383831;
}
.gallery {
    margin: 0.2rem;
    border: 0 solid transparent;
}
.dist-loghi {
    padding: 0 2rem 4rem;
    border: 0 solid transparent;
}

.title-loghi {
    font-family: "Titan One", sans-serif;
    color: #000;
     font-size: calc(50px + (70 - 50)*((100vw - 300px) /(1920 - 300)));
    line-height: calc(40px + (70 - 40)*((100vw - 300px) /(1920 - 300)));
    text-align: center;
    margin-top: 4rem;
}

.check{
    max-width: 2rem;
}











.back-foot {
    background-color: #691008;
    padding: 8rem 6rem;
    border-radius: 10rem 10rem 0 0;
    background-image: url("../img/back-foot.svg");
    background-position: center;
    background-size: cover;
    margin: 1% 1% 0;
    overflow: hidden;
}

.title-foot {
    font-family: "Titan One", sans-serif;
    font-size: calc(16px + (22 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    margin-bottom: 0.2rem;
    margin-top: 1rem;
}
.st-foot{
    font-weight: 900;
}
.txt-foot {
    font-size: calc(16px + (18 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    margin-bottom: 0.2rem;
    font-weight: 200;
}
.logo-foot {
    width: 40%;
    margin-bottom: 1rem;
}

.center-foot {
    position: relative;

}

.borraccia-foot {
    position: absolute;
    bottom: -78%;
    width: 160%;
    z-index: 20;
    animation-name: pos-borr-foot;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes pos-borr-foot {
    0% {
        rotate: calc(0deg);
    }
    100% {
        rotate: calc(4deg);
    }
}

.sp-foot {
    padding-left: 3rem;
}

.form-control {
    font-size: calc(16px + (20 - 16)*((100vw - 300px) /(1920 - 300)));
    border-radius: 1rem;
    margin-top: 0.8rem;
    padding: 0.5rem 1.5rem;
    background-color: #bd0d0d;
    border: 0;
}
.form-control:focus {
    color: #fff;
    background-color: #bd0d0d;
    border-color: transparent;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(253, 13, 13, 0.25);
}

input::placeholder {
    font-size: calc(16px + (20 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #e9e9e983!important;
}
textarea::placeholder {
    font-size: calc(16px + (20 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #e9e9e983!important;
}

.btn-primary {
    font-family: "Titan One", sans-serif;
    color: #360707;
    background-color: #fff;
    font-size: calc(16px + (20 - 16)*((100vw - 300px) /(1920 - 300)));
    border-radius: 1rem;
    rotate: calc(-2deg);
    transition-duration: 1s;
    box-shadow: 0 0 0 #bd0d0d;
    border: 0 solid transparent;
}
.btn-primary:hover {
    font-family: "Titan One", sans-serif;
    color: #360707;
    background-color: #bd0d0d;
    font-size: calc(16px + (20 - 16)*((100vw - 300px) /(1920 - 300)));
    border-radius: 1rem;
    rotate: calc(-2deg);
    box-shadow: 0 0 20px #bd0d0d;
}

.btn-check:focus + .btn,
.btn:focus {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
    outline: 0;
    box-shadow: var(--bs-btn-focus-box-shadow);
}

.dati {
    padding-top: 2rem;
    font-size: calc(16px + (16 - 16)*((100vw - 300px) /(1920 - 300)));
    color: #fff;
    margin-bottom: 0.2rem;
}
.white{
    color:#fff;
}
a {
    text-decoration: none;
    color: #fff;
}
a:hover {
    text-decoration: none;
    color:#dbb0b0
}
@media only screen and (max-width: 1500px) {
    .cont-head {
        height: 120vh;
        position: relative;
    }
    .head {
        height: 120vh;
        background-color: #e52421;
        border-radius: 0 0 5rem 5rem;
        overflow: hidden;
    }
    .quaderno {
        position: absolute;
        bottom: -80%;
        width: 60%;
    }
    @keyframes pos-quad {
        0% {
            right: -22%;
            rotate: calc(-2deg);
        }
        100% {
            right: -24%;
            rotate: calc(-4deg);
        }
    }
    .borraccia {
        position: absolute;
        top: -50%;
        width: 90%;
        z-index: 20;
    }
    .scritta-mano {
        margin-top: -2rem;
    }
    .box-1txt {
        padding: 6rem 15%;
        padding-bottom: 1rem;
    }
    .dist-card {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .card {
        padding: 0.5rem 0;
        border-radius: 1rem;
    }
    .card:hover {
        padding: 0.5rem 0;
        border-radius: 1.2rem;
    }
    .ph-card {
        border-radius: 1rem;
    }
    .sez-servizi {
        padding: 8rem 3rem;
        border-radius: 5rem;
    }
    .scritta-mano-w {
        margin-top: -1rem;
    }
    .round-video {
        border-radius: 5rem;
    }
    .back-foot {
        padding: 8rem 3rem;
        border-radius: 5rem 5rem 0 0;
    }

    .borraccia-foot {
        position: absolute;
        bottom: -50%;
    }
    .pos-scr-rosmini {
        margin-top: 15%;
        margin-bottom: 30%;
    }
    #sequenceCanvas {
        display: block;
        width: 130%;
        height: 130%;
        left: -20%;
        position: relative;
        z-index: 1;
        margin-top: 0;
    }
    .title-card {
        font-size: calc(20px + (22 - 20) * ((100vw - 300px) / (1920 - 300)));
    }
    .txt-card {
        font-size: calc(16px + (16 - 16) * ((100vw - 300px) / (1920 - 300)));
        line-height: calc(17px + (17 - 17) * ((100vw - 300px) / (1920 - 300)));
    }
    .box-1txt {
    padding: 12rem 3%;
    padding-bottom: 1rem;
}
.tazza {
    position: absolute;
    top:2%;
    width: 45%;
    left:-2%;
}
.txt-w {
    padding-left:7%;
    padding-right: 7%;
}
.txt {
    padding-left:7%;
    padding-right: 7%;
}
.sp-macchine {
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 4rem;
}
}


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

    .head {
        height: 80vh;
        background-color: #e52421;
        border-radius: 0 0 5rem 5rem;
        overflow: hidden;
    }
    .cont-head {
        height: 80vh;
        position: relative;
    }

    .sp-scr-head {
        position: inherit;
        padding-top: 40%;
        padding-left: 5%;
        z-index: 10;
    }
    .txt-head {
        padding-top: 1rem;
        font-size: calc(16px + (35 - 16) * ((100vw - 300px) / (1920 - 300)));
        line-height: calc(16px + (38 - 16) * ((100vw - 300px) / (1920 - 300)));
        color: #fff;
        font-weight: 500;
    }
    .navbar {
        z-index: 1030;
        padding-left: 1%;
        padding-right: 1%;
        padding-top: 1%;
    }
    .navbar-brand {
        background-color: #fff;
        border-radius: 0.7rem;
        font-family: "Titan One", sans-serif;
        font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1920 - 300)));
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        margin-right: 0;
        margin-left: 0;
        transition: all 0.5s ease-in-out;
        box-shadow: 2px 2px 5px #38383831;
    }
    .nav-link {
        margin-top:0.4rem;
    }
    .logo-nav {
        max-width: 120px;
        min-width: 120px;
    }
    @keyframes pos-1 {
        0% {
            bottom: 0;
            left: 0;
            min-width: 130%;
        }
        100% {
            bottom: -2rem;
            left: 0;
            min-width: 120%;
        }
    }
    @keyframes pos-2 {
        0% {
            bottom: -1rem;
        }
        100% {
            bottom: -2rem;
        }
    }
    @keyframes pos-3 {
        0% {
            bottom: -1rem;
            min-width: 130%;
        }
        100% {
            bottom: -2rem;
            min-width: 110%;
        }
    }

    .quaderno {
        position: absolute;
        bottom: -45%;
        width: 90%;
    }
    .borraccia {
        position: absolute;
        top: -16%;
        width: 114%;
        z-index: 20;
    }
    @keyframes pos-borr {
        0% {
            left: -30%;
            rotate: calc(2deg);
        }
        100% {
            left: -32%;
            rotate: calc(4deg);
        }
    }

    .omino {
        width: 62%;
        top: -7%;
        right: -21%;
    }
    .idee {
        width: 62%;
        top: -7%;
        right: -21%;
    }

    .box-1txt {
        padding: 3rem 4%;
        padding-bottom: 1rem;
    }
    .sez-servizi {
        padding: 6rem 2rem;
        border-radius: 5rem;
    }
    .schede-serv {
        position: relative;
        box-shadow: 0 0 10px #00000077;
        padding: 2rem;
        width: 100%;
        border-radius: 2rem;
    }
    .sc1 {
        background-color: #fff;
        left: 0;
        rotate: calc(2deg);
        transition-duration: 1.5s;
    }
    .sc1:hover {
        left: 0;
        rotate: calc(2deg);
    }
    .sc2 {
        background-color: #fff;
        left: 0;
        rotate: calc(-2deg);
        transition-duration: 1.5s;
    }
    .sc2:hover {
        left: 0;
        rotate: calc(-2deg);
    }
    .sc3 {
        background-color: #fff;
        left: 0;
        rotate: calc(2deg);
        transition-duration: 1.5s;
    }
    .sc3:hover {
        left: 0;
        rotate: calc(2deg);
    }
    .sc4 {
        background-color: #fff;
        left: 0;
        rotate: calc(-2deg);
        transition-duration: 1.5s;
    }
    .sc4:hover {
        left: 0;
        rotate: calc(-2deg);
    }
    .h-sc-servizi {
        height: auto;
        padding-top: 4rem;
    }

    .txt {
    padding-left: 4%;
    padding-right: 4%;
    }

    .scritta-mano {
    margin-top: -1rem;
}
.scritta-mano-w {
  margin-top: -1rem;
}
    .tazza {
        top: 3%;
        animation-name: pos-tazz-m;
    }
 @keyframes pos-tazz-m {
    0% { left: -22%; rotate: calc(-2deg); }
    100% { left: -20%; rotate: calc(-4deg); }
  }
.card:hover {
    rotate: calc(0deg);
}
.c1 {
    background-color: #e02121;
    rotate: calc(2deg);
    margin-top: 1rem;
}
.c2 {
    background-color: #e02121;
    rotate: calc(-2deg);
    margin-top: 3rem;
}
.c3 {
    background-color: #e02121;
    rotate: calc(2deg);
    margin-top: 0;
}
.c4 {
    background-color: #e02121;
    rotate: calc(-2deg);
    margin-top: 5rem;
}
        .borraccia-foot {
        position: relative;
        bottom: -3%;
    }
        .back-foot {
       
       padding: 6rem 2rem;
        border-radius: 2rem 2rem 0 0;
         padding-bottom:0px;
    }
    .sp-foot {
        padding-left: 0rem;
}



.sc1:hover {
    left: 0;
    rotate: calc(0deg);
}
.sc2:hover {
    left: 0;
    rotate: calc(0deg);
}
.sc3:hover {
    left: 0;
    rotate: calc(0deg);
}
.sc4:hover {
    left: 0;
    rotate: calc(0deg);
}

.sc1:hover + .sc2 {
    left: 0;
    rotate: calc(0deg);
}
.sc1:hover ~ .sc3 {
    left: 0;
    rotate: calc(0deg);
}

.sc1:has(~ .sc2:hover) {
    left: 0;
    rotate: calc(0deg);
}
.sc2:hover + .sc3 {
    left: 0;
    rotate: calc(0deg);;
}
.sc2:hover ~ .sc4 {
    left: 0;
    rotate: calc(0deg);
}

.sc1:has(~ .sc3:hover) {
    left: 0;
    rotate: calc(0deg);
}
.sc2:has(~ .sc3:hover) {
    left: 0;
    rotate: calc(0deg);
}
.sc3:hover + .sc4 {
    left: 0;
    rotate: calc(0deg);
}

.sc1:has(~ .sc4:hover) {
    left: 0;
    rotate: calc(0deg);
}
.sc2:has(~ .sc4:hover) {
    left: 0;
    rotate: calc(0deg);
}
.sc3:has(~ .sc4:hover) {
    left: 0;
    rotate: calc(0deg);
}
.logo-foot {
    width: 80%;
    margin-bottom: 1rem;
}
}


@media only screen and (max-width: 991px) and (orientation: portrait) {
  .sez-rosmini {
    margin-top: -4rem;
    height: 200vh;
    height: 200svh;
  }
  .sticky-wrapper {
    /* fascia bassa dello schermo, si blocca appoggiata al fondo del viewport */
    height: min(100vw, 65vh);
    top: calc(100vh - min(100vw, 65vh));
    top: calc(100svh - min(100vw, 65svh));
    height: min(100vw, 65svh);
  }
  #sequenceCanvas {
    width: 100%;
    height: 100%;
    left: 0;
  }
  .pos-scr-rosmini {
    margin-top: 5rem;
    margin-bottom: 0;
    width: 100%;
    margin-left: 0;
  }
  .sup-title-rosmini,
  .title-rosmini {
    padding-right: 1rem;
  }

  .sp-btn-rosmini {
    margin-right: 1rem;
    margin-top: 1.2rem;
  }
  .btn-rosmini {
    display: inline-block;
    font-size: clamp(1rem, 4vw, 1.5rem);
    padding: 0.7rem 2rem;
  }

  .round-video {
        border-radius: 1rem;
    }
.img-macchina {
    border-radius: 1.5rem;
    box-shadow: 2px 2px 10px #0000003a;
    margin-bottom: 1rem;
    width: 90%;
}
.sp-macchine {
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 1rem;
}
}


/* ===== Navbar mobile: contatti come 3 cerchi affiancati ===== */
@media only screen and (max-width: 991px) {
  .nav-contatti {
    flex-direction: row;
    justify-content: center;
    gap: 0rem;
    margin-top: 0.8rem;
  }
  .nav-contatti .nav-link.cont,
  .nav-contatti .nav-link.cont:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0 !important;
    margin: 0;
    border-radius: 50%;
    font-size: 1.2rem;
  }
}


/* ===================================================================
   iPAD VERTICALE (768px – 1024px, portrait)
   =================================================================== */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

  /* --- HEAD --- */
  .head,
  .cont-head {
    height: 75vh;
  }
  .sp-scr-head {
    padding-top: 34%;
    padding-left: 5%;
    z-index: 25;
  }
  .borraccia {
    top: -14%;
    width: 62%;
  }
  @keyframes pos-borr {
    0% { left: -22%; rotate: calc(2deg); }
    100% { left: -24%; rotate: calc(4deg); }
  }
  .quaderno {
    bottom: -30%;
    width: 48%;
  }
  @keyframes pos-quad {
    0% { right: -10%; rotate: calc(-2deg); }
    100% { right: -12%; rotate: calc(-4deg); }
  }
  .idee,
  .omino {
    width: 46%;
    top: -4%;
    right: -12%;
  }

  /* --- CHI SIAMO --- */
  .box-1txt {
    padding: 6rem 6%;
    padding-bottom: 1rem;
  }
  .tazza {
    top: 1%;
    width: 30%;
  }
  @keyframes pos-tazz {
    0% { left: -12%; rotate: calc(-2deg); }
    100% { left: -10%; rotate: calc(-4deg); }
  }

  /* --- SERVIZI: schede 2 x 2 --- */
  .sez-servizi {
    padding: 6rem 3rem;
    border-radius: 4rem;
  }
  .h-sc-servizi {
    height: auto;
    padding-top: 3rem;
    justify-content: center;
    row-gap: 2rem;
  }
  .schede-serv {
    position: relative;
    left: 0 !important;
    width: 44%;
    margin: 0 2%;
    padding: 1.5rem;
  }
  .schede-serv img {
    display: block;
    max-height: 200px;
    margin: 0 auto 1rem;
  }
  .title-sc {
    font-size: 1.6rem;
  }
  .txt-sc {
    font-size: 1rem;
    line-height: 1.35;
  }
  
}


/* ===================================================================
   NAVBAR COMPATTA (992px – 1440px: iPad orizzontale, MacBook 13")
   =================================================================== */
@media only screen and (min-width: 992px) and (max-width: 1440px) {
  .navbar {
    padding-left: 3%;
    padding-right: 3%;
  }
  .navbar-brand,
  .nav-link {
    padding-left: 1.3rem !important;
    padding-right: 1.3rem !important;
    margin-left: 0.4rem;
    margin-right: 0.4rem;
  }
  .nav-link:hover {
    margin-left: 0.8rem;
  }
  .logo-nav {
    min-width: 170px;
    max-width: 170px;
  }
  .nav-link.cont,
  .nav-link.cont:hover {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
  }
}


/* ===================================================================
   iPAD ORIZZONTALE (1024px – 1366px, landscape)
   =================================================================== */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) and (max-aspect-ratio: 3/2) {

  /* --- SERVIZI: 4 schede affiancate, senza sovrapposizione (niente hover su iPad) --- */
  .h-sc-servizi {
    height: auto;
    min-height: 60vh;
  }
  .schede-serv {
    width: 22%;
    padding: 1.3rem;
  }
  .sc1 { left: 2% !important; }
  .sc2 { left: 26.5% !important; }
  .sc3 { left: 51% !important; }
  .sc4 { left: 75.5% !important; }
  .title-sc {
    font-size: 1.5rem;
    padding: 0;
  }
  .txt-sc {
    font-size: 1rem;
    line-height: 1.35;
    padding: 0;
  }
}


/* ===== Pagina PRODOTTI – mobile ===== */
@media only screen and (max-width: 767px) {
  .pag-prodotti .box-1txt {
    padding: 6rem 5% 3rem;
    padding-bottom: 1rem;
  }
  .pag-prodotti .tazza {
    width: 28%;
    top: 4.5rem;
  }
  @keyframes pos-tazz {
    0% { left: -6%; rotate: calc(-2deg); }
    100% { left: -4%; rotate: calc(-4deg); }
  }
  .pag-prodotti .txt {
    padding: 1.5rem 0 0;
  }

  /* lavorazioni: foto sopra, testo sotto */
  .pag-prodotti .sp-macchine {
    padding: 2.5rem 0 0;
  }
  .pag-prodotti .img-macchina {
    display: block;
    width: 100%;
    margin: 0 auto;
  }
  .pag-prodotti .titolo-prodotti {
    padding: 1.2rem 0 0;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
  .pag-prodotti .txt-prodotti {
    padding: 0;
    line-height: 1.4;
  }
  .pag-prodotti ul.txt-prodotti {
    padding-left: 1.2rem;
  }
  .pag-prodotti ul.txt-prodotti > li {
    margin-left: 0;
    margin-bottom: 0.3rem;
  }

  /* cataloghi: bottoni che vanno a capo interi */
  .pag-prodotti .btn-call {
    display: inline-block;
    white-space: nowrap;
    margin: 0.3rem 0.15rem;
  }
  .pag-prodotti .logo-catalogo {
    width: 60%;
    margin-top: 2rem;
  }
  .cat-mob{
        font-size: calc(30px + (120 - 30) * ((100vw - 300px) / (1920 - 300)));
  }
  .cat-h1{
        font-size: calc(50px + (120 - 50) * ((100vw - 300px) / (1920 - 300)));
  }
      .sez-servizi {
        padding: 6rem 0.5rem;
        border-radius: 5rem;
    }
    .title-ric{
        padding-top: 6rem;
    }
}

/* cataloghi: ancore sotto la navbar fissa */
#gadget,
#abbigliamento {
    scroll-margin-top: 7rem;
}

/* cataloghi gadget: pulsanti che non escono dalla colonna */
.pag-prodotti .back-chisiamo .btn-cat {
    padding: 0.5rem 1.2rem;
    white-space: normal;
    line-height: 1.3;
}

/* cataloghi gadget: anteprima della copertina, allineata in basso */
.cop-box {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 260px;
    margin: 2rem 0 1.2rem;
}
.cop-catalogo {
    display: block;
    max-width: 85%;
    max-height: 100%;
    box-shadow: 4px 4px 12px #38383840;
    transition: transform 0.3s ease-in-out;
}
.cop-box:hover .cop-catalogo {
    transform: rotate(-2deg) scale(1.03);
}
@media (max-width: 767px) {
    .cop-box {
        height: 200px;
    }
}

/* footer: consenso privacy del form leggibile sullo sfondo scuro */
.back-foot .form-check-label {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
}
.back-foot .form-check-label a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
}

/* footer: pulsanti social e WhatsApp */
.social-foot {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.social-foot a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background-color: #fff;
    color: #b61918;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 2px 2px 8px #00000040;
    transition: all 0.4s ease-in-out;
}
.social-foot a:hover,
.social-foot a:focus {
    background-color: #e52421;
    color: #fff;
    rotate: 18deg;
}

/* frecce degli slider: prodotti.html (owl3) e carosello prodotti in home (owl-prodotti) */
.owl3,
.owl-prodotti {
    position: relative;
}
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav {
    margin: 0;
}
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-prev,
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background-color: #fff;
    color: #b61918;
    box-shadow: 2px 2px 8px #00000040;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-prev {
    left: 1rem;
}
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-next {
    right: 1rem;
}
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-prev:hover,
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-next:hover,
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-prev:focus-visible,
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-next:focus-visible {
    background-color: #e52421;
    color: #fff;
}
.owl-theme:is(.owl3, .owl-prodotti) .owl-nav svg {
    width: 1.4rem;
    height: 1.4rem;
}
@media (max-width: 767px) {
    .owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-prev,
    .owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-next {
        width: 2.6rem;
        height: 2.6rem;
    }
    .owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-prev {
        left: 0.5rem;
    }
    .owl-theme:is(.owl3, .owl-prodotti) .owl-nav button.owl-next {
        right: 0.5rem;
    }
}

/* navbar compatta per tablet orizzontali e schermi piccoli (992px - 1199px) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .navbar {
    padding-left: 1.5%;
    padding-right: 1.5%;
  }
  .navbar-brand {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    margin-left: 0;
    margin-right: 0.3rem;
  }
  .logo-nav {
    min-width: 140px;
    max-width: 140px;
  }
  .nav-link {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }
  .nav-link:hover {
    margin-left: 0.5rem;
  }
  .nav-link.cont,
  .nav-link.cont:hover {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    margin-left: 0.15rem;
    margin-right: 0.15rem;
  }
}

/* ricamificio: ogni voce con la sua spunta va a capo intera */
.check-item {
    display: inline-block;
    white-space: nowrap;
    margin: 0 0.4rem 0.3rem;
}
.check-item .check {
    width: 1.6rem;
    height: auto;
    vertical-align: middle;
}

/* footer su tablet: form a tutta larghezza sotto contatti e mail */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .sp-foot {
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-top: 1.5rem;
    }
}
