/* sezione corpo DISTANZIATORE NECESSARIO PER distanziare menu da main */
.distanziatore {
    min-height: 5vh;
}

/* SEZIONE PRINCIPALE 
--------------------------------------------------*/
main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin: 0 auto;
    margin-top: 10px;
}

/* setta box titolo */
.box-titolo {
    position: relative;
    padding: 20px 5px;
    margin: 60px 0 40px 0;
}

/* SETTA H1 TITOLO */
.box-titolo h1 {
    font-family: 'Cardo', serif;
    color: var(--h1);
    font-size: 3rem;
    text-shadow: rgba(168, 167, 167, 0.5) 0px 3px 3px;
}

/* SETTA H2 SOTTOTITOLO */
.box-titolo h2 {
    font-family: 'gruppo', sans-serif;
    font-size: 1.32rem;
    color: var(--h2);
}

/* BOX IMMAGINE BUNNER */
.box-bunner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
}

/* setta dimensione immagine bunner */
.box-bunner img {
    /*  width: 100%; */
    box-shadow: 10px 10px 70px -6px rgb(14, 14, 14);
    border-radius: 5px 40px;
}

/* BOX DEL BUNNER DI TESTO */
.box-testo-bunner {
    max-width: 1160;
    padding: 30px 20px;
    background: white;
    border-radius: 18px;
    margin: 4rem 1rem 10rem 1rem;
    border: solid 5px;
    border-color: var(--h1);
}

/* BANNER DI TESTO SETTA TITOLO H2 */
.box-testo-bunner h2 {
    font-size: 1.5rem;
    font-family: 'roboto', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-align: left;
    font-weight: 500;
    line-height: 20px;
    padding-top: 20px;
    color: var(--h1);

}

/* BUNNER TESTO SETTA IL TESTO P */
.box-testo-bunner p {
    font-size: 1.1rem;
    font-family: 'roboto', sans-serif;
    text-align: left;
    font-weight: 300;
    line-height: 20px;
    padding-top: 20px;
    color: var(--h2);
}

/* il primo tipo del pesto p */
.box-testo-bunner p:first-of-type {
    font-size: 1.3rem;
}

/* --------------------------------------------
SEZIONE SCHEDE
-----------------------------------------------
*/

/* box totale schede */
.schedeBox {
    max-width: 1100px;
    height: auto;
    margin: 0 auto;
    padding: 40px 10px;
    padding-left: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 130px;
    flex-wrap: wrap;
    gap: 60px;
    background: red;
}

/* testo nella scheda */
.testoScheda {
    position: relative;
    font-size: 0.8rem;
    margin-top: 20px;
    margin-right: -10px;
    padding-left: 10px;
    background: blue;
}

/* testo nella scheda SET di <p>*/
.testoScheda p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 110%;
}

/* effetto puntatore con maouse sulle schede */
.scheda:hover {
    color: rgb(255, 255, 255);
    background: var(--rust);
    /* transform: rotate(-1deg); */
    transition: 0.5s;
}

.scheda {
    background: hsla(40, 54%, 66%, 1);
}

/* effetto puntatore con maouse sulle schede */
.scheda:hover {
    background: hsla(33, 22%, 69%, 1);
}

/* box immagine nella scheda */
.ImgSchedaBox {
    margin-top: 10px;
    position: sticky;
    width: 100px;
    padding: 40px 10px;
    transform: translateX(-3px) translateY(-5px);
}

/* immagini nelle schede setaggio */
.imgSchede {
    margin-top: 0px;
    padding-right: 0px;
    width: 170px;
    position: static;
    transition: transform 500ms ease-in-out 25ms;
    border: 1px solid grey;
    border-radius: 50%;
}

/* effetto hover con mause sulle immagini delle schede */
.imgSchede:hover {
    transition: 0.7s;
    width: 250px;
    transform: translateX(-30px) translateY(-30px);
    box-shadow: var(--borderShadow);
}

/* LINK SCOPRI DIPIù */
.btn-link-prodotto {
    position: absolute;
    background: var(--saffron);
    font-size: 0.8rem;
    padding: 14px 14px;
    border-radius: 30px;
    cursor: pointer;
    color: var(--h2);
}

/* LINK SCOPRI DIPIù  HOVER */
.btn-link-prodotto:hover {
    position: absolute;
    background: hsla(48, 85%, 48%, 0.7);
    color: white;
}

/* sezione prezzo */
.prezzo {
    margin: 8px 0 8px 0;
    position: absolute;
    font-size: 0.9rem;
    font-weight: 500;
    left: 100px;
    color: rgba(35, 20, 20, 0.785);
    font-variant: small-caps;
    transform: translateX(80px) translateY(10px);
}


/* 
---------------------------------------------------
setta media quesry per ipad verticale 
--------------------------------------------------*/
@media screen and (max-width:1181px) {

    /* box totale schede */
    /*  .schedeBox {
        margin-left: -5px;
        justify-content: space-around;
        gap: 50px;
    } */

    /* box scheda */
    /*  .scheda {
        margin-bottom: 120px;
    } */
}

/* MEDIA SCREEN PER IPAD  */
@media screen and (max-width:1025px) {

    /* box totale schede */
    /*  .schedeBox {
        margin-left: -75px;
        justify-content: space-around;
        gap: 2px;
    } */

    /* box scheda */
    /* .scheda {
        margin-bottom: 120px;
    } */
}

/* MEDIA SCREEN PER IPAD MINI */
@media screen and (max-width:999px) {

    /* LINK SCOPRI DIPIù */
    .btn-link-prodotto {
        margin-top: 20px;
    }

    /* CARRELLO */
    .icon-cart {
        top: -90px;
        left: -37px;
    }

    /* box totale schede */
    .schedeBox {
        max-width: 400px;
        width: 100%;
        position: relative;
        display: block;
        margin: 0 auto;
        flex-direction: row;
        justify-content: center !important;
        height: auto;
        margin-left: 60px !important;
        margin-top: 120px;
        margin-bottom: 20px;
    }

    /* box scheda */
    .scheda {
        position: relative;
        display: flex;
        width: 510px;
        height: 220px;
        justify-content: center;
        margin-bottom: 150px;
        padding-left: 30px;
    }

    .scheda {
        background: hsla(40, 54%, 66%, 1);
    }

    /* effetto puntatore con maouse sulle schede */
    .scheda:hover {
        background: hsla(33, 22%, 69%, 1);
    }

    .testoScheda p {
        font-size: 1.3rem;
    }
}

/* SET per ipad mini verticale */
@media screen and (max-width:768px) {

    /* box scheda */
    .scheda {
        width: 473px;
        margin-bottom: 150px;
        padding-left: 30px;
    }
}

/* CELLULARI SMART PHONE min 450 px Verticali */
/* setta media quesry per ipad verticale */
@media screen and (max-width:450px) {

    /* LINK SCOPRI DIPIù */
    .btn-link-prodotto {
        margin-top: 10px;
    }

    /* CARRELLO */
    .icon-cart {
        top: -57px;
        left: -17px;
    }

    /* SET H1 */
    .box-titolo h1 {
        font-size: 2rem;
    }

    /* SET H2 E H3 */
    .box-titolo h2,
    .box-testo-bunner h2,
    h3 {
        font-size: 1.1rem;
    }

    /* SET p */
    p {
        font-size: 1rem;
    }

    /* -----------------------------
    box totale schede 
    -------------------------------*/
    .schedeBox {
        max-width: 260px;
        position: relative;
        width: 70%;
        display: flex;
        margin-left: -10px !important;
        flex-direction: column;
        justify-content: center;
        height: auto;
        margin-top: 70px;
        background: white;

    }

    /* box scheda */
    .scheda {
        position: relative;
        display: flex;
        width: 255px;
        height: 200px;
        justify-content: center;
        margin-bottom: 100px;
        padding-left: 15px;
    }

    .scheda {
        background: hsla(40, 54%, 66%, 1);
    }

    /* effetto puntatore con maouse sulle schede */
    .scheda:hover {
        background: hsla(33, 22%, 69%, 1);
    }

    /* testo nella scheda */
    /*  .testoScheda {
        line-height: 0.9rem;
    } */

    .testoScheda p {
        font-size: 0.9rem;
    }

    /* effetto hover con mause sulle immagini delle schede */
    .imgSchede:hover {
        width: 250px;
        transform: translateX(-40px) translateY(-30px);
    }

    .prezzo {
        position: absolute;
        font-size: 0.8rem;
        font-weight: 500;
        left: 10px;
        color: rgba(35, 20, 20, 0.785);
        font-variant: small-caps;
        transform: translateX(0px) translateY(-20px);
    }

}