body,
html {
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: max(15px, 1.2vw);
    color: #1F2121;
    background-color: WHITE;
}

.mob {
    display: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

* {
    transition: all 0.3s;
}

.offerta * {
    transition: all 0s;
}

li {
    color: white;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

h1 {
    color: #fcc30b;
}

h2 {
    color: #000;
    TEXT-ALIGN: CENTER;
    MARGIN: 1%;
    margin-top: 1%;
    margin-bottom: 0;
}


/*
FONT:
FONT: 
Titoli: Poppins
Open sans

COLORI:
grigio: #f2f2f2
verde: #71b82e
viola: #5b52cf
giallo: #fcc30b
nero: #1a1a1a


 
 */

.header {
    background-color: white;
    text-align: center;
    padding: 0.5%;
    font-size: max(20px, 1.5vw);

}

.header img {
    width: 10%;
    margin: 0 auto;
}

.fascia1 {
    background: url(sfondo.jpg) no-repeat;
    display: flex;
    background-position: -30px;
    background-size: 104%;
}

.fascia2 {
    background-color: #f2f2f2;
    padding: 20px;
}

.form {
    width: 29%;
    margin: 0 auto;
    background-color: white;
    height: auto;
    display: inline-block;
    vertical-align: top;
    margin-top: 3%;
    padding-bottom: 2%;
    margin-left: 25%;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    color: #1F2121;
}

.mezzo {
    width: 97%;
    margin: 1% 0 2%;
    border-radius: 5px;
    font-size: max(15px, 1vw);
    color: #555;
    border: 1px solid #d1d1d1;
    display: block;
    padding: 2.5% 2%;
    font-weight: 400;
    margin: 1% auto;
    font-family: 'Poppins';
}

.sx {
    display: flex;
    width: 100%;
    min-width: 700px;
}

.sx img {
    width: 100%;
    height: max-content;
    /* min-width: 700px; */
}

.topform {
    background-color: #fcc30b;
    color: white;
    text-align: center;
}

.testo_privacy {
    font-size: 10px;
}

.form {
    width: 60%;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    /* padding: 20px; */
    color: #000;
    text-align: center;
    margin: 8%;
    margin-left: 20%;
    margin-top: 10%;
}

.topform {
    color: #000;
    font-weight: bold;
    font-size: max(15px, 1vw);
    line-height: 1.4;
    margin-bottom: 15px;
    padding: 3%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

input.mezzo {
    width: 90%;
    padding: 10px;
    margin: 0 auto;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 16px;
}

input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    font-size: max(10px, 0.4vw);
    text-align: left;
    margin-bottom: 10px;
    width: 90%;
    margin: 0 auto;
}

.privacy-label a {

    text-decoration: underline;
}

.pulsante {
    background-color: #4cd137;
    color: #fff;
    font-weight: bold;
    width: 90%;
    padding: 3%;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.pulsante:hover {
    background-color: #44bd32;
}

.testo_privacy {
    font-size: max(10px, 0.4vw);
    color: #000;
    margin-top: 10px;
    text-align: center;
    width: 90%;
    margin: 2% auto;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 20px;
    WIDTH: 90%;
    MARGIN: 0 AUTO;
}

.feature-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 calc(50% - 20px);
    /* 2 per riga default */
    max-width: calc(50% - 20px);
    box-sizing: border-box;
    transition: transform 0.2s ease;
    flex: 1 1 calc(20% - 20px);
    max-width: calc(20% - 20px);
    margin: 1% auto;
}

.feature-box:hover {
    transform: translateY(-4px);
}

.feature-box h4 {
    margin-top: 0;
    font-size: max(1vw, 17px);
    font-weight: 600;
}

.feature-box p {
    font-size: max(15px, 0.9vw);
    margin: 10px 0 0;
    font-weight: 300;
}

.bollino {
    width: 15%;
}

.testi {
    width: auto;
    margin: 5% auto;
    display: block;
    margin-left: 4em;
    margin-bottom: 5%;
    margin-top: 8%;

}

.due {
    font-size: 1vw;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    padding: 1% 3%;
    border-radius: 0;
}

.fascia3 {
    font-weight: normal;
    font-size: 0.6vw;
    padding: 2%;
    background-color: white;
    padding-inline: 6%;
}


@media screen and (max-width:1400px) {
    .fascia1 {
        background: url(sfondo.jpg) no-repeat;
        display: flex;
        background-position: -30px;
        background-size: none;
    }

    .form {
        width: 65%;
        margin: 0 auto;
        font-family: 'Poppins', sans-serif;
        /* padding: 20px; */
        color: #000;
        text-align: center;
        margin: 5%;
        margin-left: 12%;
    }

    .sx img {
        width: 100%;
        height: max-content;
        /* min-width: 700px; */
    }
}

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

    .form {
        width: 70%;
        margin-left: 20%;


    }

}

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


    .form {
        width: 75%;
        margin-left: 20%;

    }


}

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

    .fascia1 {
        width: 100%;
        display: block;
        background: none;

    }

    .apertura_moby {
        display: block !important;
        width: 100%;
    }

    .sx {
        display: none;
    }

    .header {
        display: none;
    }

    .form {
        width: 75%;
        margin-left: 20%;
        margin: 0;
        width: 100%;
        border-radius: 0;
    }

    .topform {
        border-radius: 0;
    }

    .feature-box {
        margin-top: 20px;
        width: 100%;
        max-width: 2000px;
    }

    .features-container {
        display: block;
    }

    .bollino {
        display: none;
    }

    .mob {
        display: inline !important;
        vertical-align: middle;
        margin-right: 3%;
    }

    .feature-box h4 {
        margin-top: 0;
        font-size: max(1vw, 17px);
        font-weight: 600;
        margin-bottom: 0;
        width: 70%;
        display: inline-block;
        text-wrap: initial;
    }

    .due {
        font-size: 16px;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
        padding: 3% 16%;
        border-radius: 0;
    }

    .fascia3 {
        font-size: 11px;
    }
}