/* azzera i margini */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* FONT */
.robotoFont {
    font-family: 'Roboto', sans-serif;
}

.gruppoFont {
    font-family: 'Gruppo', sans-serif;
}

.cardoFont {
    font-family: 'Cardo', serif;
}

/* setta i colori di default */
:root {
    --blackL: #0a012b;
    --whiteL: white;
    --antique: antiquewhite;
    --colors_background: rgb(250, 240, 228);
    --colors_brand: rgb(36, 55, 99);
    --colors_text: rgb(91, 77, 77);
    --firma: cyan;
    /* SET MENU STANDARD */
    --menuSmartOver: rgb(31, 146, 184);
    --menuSmart: rgb(196, 109, 82);
    --link: #ffffff;
    --borderShadow: 10px 10px 70px -6px rgba(0, 0, 0, 0.64);
}

/* setta pulsanti en it */
#FormId input[type=submit] {
    background: var(--colors_brand);
    width: 60px;
    border-radius: 1px;
    color: #ffffff;
    text-align: center;
    font-size: 0.9rem;
    padding: 5px 10px;
}

#FormId input[type=submit]:hover {
    background-color: var(--menuSmartOver);
}

/* setta grafica del testo link senza sottolineatura */
a {
    text-decoration: none;
    color: inherit;
}

/* liste e menu senza pallini */
ul {
    list-style: none;
}

/* determinale il carattere dei font per il sito */
html {
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* BODY */
body {
    background: var(--colors_background);
}

/* BUTTONS */
.centerButton {
    width: 100%;
    text-align: center;
    padding-top: 1rem;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* TESTO DEFOULT */
textarea {
    overflow: auto;
}

/* Style that first letter! */
.subhead::first-letter {
    initial-letter: 3;
}

article::first-letter {
    -webkit-initial-letter: 4 3;
    initial-letter: 4 3;
    color: var(--colors_brand);
    font-weight: 300;
    margin-right: .75em;
}

p {
    font-size: 1.1rem;
}

/* determinare la base degli H1-H6 */
h1 {
    font-size: 2rem;
    line-height: 40px;
    font-weight: bold;
}

h2 {
    font-size: 1.70rem;
    line-height: 30px;
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
    line-height: 22px;
    font-weight: 500;
}

h4 {
    font-size: 1.3rem;
    line-height: 18px;
    font-weight: 600;
}

h5 {
    font-size: 0.80rem;
    line-height: 16px;
    font-weight: 600;
}

h6 {
    font-size: 0.70rem;
    line-height: 15px;
    font-weight: 500;
}

/* SEZIONE BOX */
.box {
    max-width: 100%;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box div {
    max-width: 900px;
    align-self: center;
    padding: 1rem 1.5rem 0.7rem 1.5rem;
}

.box h1 {
    font-size: 2.2rem;
    color: var(--colors_brand);
    text-align: left;
    margin-bottom: 1rem;
}

.box h2 {
    padding-top: 0.5rem;
    font-size: 1.5rem;
    color: var(--colors_brand);
    text-align: left;
}

.box h3 {
    padding-top: 0.5rem;
    font-size: 1.2rem;
    color: var(--colors_text);
    text-align: left;
}

.box p {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--blackL);
    text-align: justify;
}

/* SEZIONE BOXX PER COLLANA E LIBRI */
.boxX {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    background-color: var(--colors_brand);
}

/* SEZIONE BOX2 PER SCHEDE DIEGO E ANDREA */
.box2 {
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    padding: 70px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: var(--colors_brand);
}

.box2 div {
    width: 300px;
    height: 400px;
    align-self: auto;
    box-shadow: var(--borderShadow);
    padding-bottom: 50px;
    background-color: var(--colors_brand);
    border-radius: 20px;
    gap: 20px;
}

.box2 h3,
.box2 p {
    padding-bottom: 1rem;
    text-align: center;
    font-size: 100%;
}

.light3 {
    color: var(--colors_brand);
    margin-bottom: 1rem;
}

/* immagini e foto schede */

.foto {
    border: 1px solid grey;
    border-radius: 50%;
    box-shadow: var(--borderShadow);
    width: 200px;
    margin-top: 20px;
    z-index: 100;
}

/* box2 per descrizione schede */
.box3 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* firme */
.firmaAndrea {
    align-items: center;
    max-width: 200px;
    text-align: center;
}

/* FOOTER */
footer {
    /* max-width: 1100px; */
    padding-top: 50px;
    padding-bottom: 40px;
    background: var(--colors_brand);
    text-align: center;
    margin: 0 auto;
}

footer h4 {
    text-align: center;
    color: #ffffff;
    font-weight: 100;
    font-size: small;
    margin-bottom: 1rem;
}

footer h1 {
    padding: 0 2rem;
    text-align: center;
    color: #ffffff;
    font-weight: 100;
    font-size: 2rem;
    margin-bottom: 1.3rem;
}

footer h2 {
    padding: 0rem 2rem;
    text-align: center;
    color: #ffffff;
    font-weight: 100;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* SEZIONE BOTTONI */
.boxButton {
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {
    text-align: center;
    width: 190px;
    height: 80px;
    padding: 20px 5px;
    background-color: var(--colors_brand);
    font-size: 1.2rem;
    color: white;
    border: 1px solid grey;
    border-radius: 10px;
    box-shadow: var(--borderShadow);
    cursor: pointer;
}

button:hover {
    background-color: var(--menuSmartOver);
}

.space {
    height: 100px;
}

ul {
    list-style-type: circle;
    padding: 20px;
}

li {
    margin-top: 10px;
    /*  border: 1px solid grey; */
}

li:first-child {
    margin-top: 0;
}

/* SEZIONE LIBRI */
.sfondo {
    align-items: center;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

/* LIBRI SINGOLI LANDING PAGE */
.books3d {
    align-items: center;
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin-top: 2%;
    margin-bottom: -30px;
}

.booksAmz {
    max-width: 300px;
    width: 100%;
    margin-bottom: 50px;
}

.title-book3d {
    text-transform: uppercase;
    color: var(--antique) !important;
    margin-top: -50px;
}

.sollanaSmall {
    max-width: 100%;
    border-radius: 20px;
}

/* LIBRI COLLANA */
.booksAll {
    align-items: center;
    max-width: 900px;
    width: 100%;
    text-align: center;
    margin-top: -5%;
    margin-bottom: 3%;
    border-radius: 10px;
    box-shadow: var(--borderShadow);
}

.sfumato {
    background-color: var(--colors_brand);
    padding: 1% 2% 7% 2%;
}

.sfumato p {
    color: var(--antique) !important;
}

.title-book {
    text-transform: uppercase;
    color: var(--antique) !important;
    margin-top: 3%;
    font-size: 4em;
}

.title2-book,
.testo-book {
    text-align: center;
    color: var(--antique);
}

.testoCollana p {
    margin-top: 20px !important;
    font-size: 1.1rem;
    color: var(--blackL);
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 3%;
    padding-right: 3%;
}

.testoCollana h2,
.testoAutore h2,
.testoCollana h3 {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 3%;
    padding-right: 3%;
    text-align: center;
    color: var(--colors_brand);
}

.testoCollana h3 {
    text-align: left;
    margin-top: 40px;
}

.testoCollana {
    margin-bottom: 50px;
}

/* TESTO AUTORE */
.testoAutore {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testoAutore img {
    border: 1px solid grey;
    border-radius: 50%;
    box-shadow: var(--borderShadow);
    width: 200px;
    margin-top: 20px;
    z-index: 100;
    margin-bottom: 20px;
}

.testoAutore p {
    padding-top: 20px;
    font-size: 1.1rem;
    color: var(--blackL);
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 3%;
    padding-right: 3%;
}

.hrBooks {
    max-width: 500px;
    margin: 0 auto;
    margin-top: 0.8rem;
    margin-bottom: 1rem;
}

.libroSingolo {
    float: left;
    padding-right: 1rem;
    margin-bottom: 1rem;
}

.boxB {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    /* align-items: left; */
    max-width: 700px;
    margin: 0 auto;
}

/* .boxB div {
    align-self: left;
} */

.boxB h3,
.boxB a,
.boxB p {
    text-align: left;
    padding: 1rem;
    color: var(--antique);
}

.boxB p {
    font-weight: 100;
}


.white {
    color: var(--firma);
    font-size: 1rem;
    text-align: center;
}

.whiteok {
    color: var(--firma);
}

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

.more {
    font-size: 1.2rem;
}

/* LOGO BYPAGANI */
.logoBP {
    position: relative;
    max-width: 369px;
    float: right;
}

.logoBPC {
    position: relative;
    max-width: 289px;
}

.logoBPs {
    max-width: 100px;
}

.pUp {
    margin-top: -10px !important;
}

/* SEZIONE PROJECTS */

.sfumatoP {
    background-color: var(--colors_brand);
    padding: 2%;
    text-align: center;
}

.sfumatoP h2 {
    text-align: center;
    margin-top: 50px;
    color: var(--antique);
}

/* PROGETTI */
.boxProjects {
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    padding: 70px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    align-content: space-between;
}

.boxProjects img {
    max-width: 100%;
    box-shadow: var(--borderShadow);
    border-radius: 20px;
}

.boxProjects div {
    width: 31%;
    margin-bottom: 30px;
    align-self: auto;
}

/* TUO BUSINESS */

.sfumatoPB {
    background-color: var(--colors_brand);
    padding: 2% 2% 5% 2%;
    text-align: center;
}

.sfumatoPB h2,
h3 {
    text-align: center;
    margin-top: 50px;
    color: var(--antique);
}

.sfumatoPB h3 {
    margin-top: 10px;
    color: var(--colors_brand);
}

.sfumatoPB p {
    text-align: center;
    margin-top: 20px;
    color: var(--colors_brand);
}

ul.a {
    list-style-type: circle;
    text-align: left;
    margin-top: 10px;
    color: var(--colors_brand);
    font-weight: 300;
    margin-left: 16px;
}

.boxProjectsB {
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    padding: 70px 0 70px 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    align-content: space-between;
}

.boxProjectsB img {
    margin-top: 30px;
    max-width: 70%;
    box-shadow: var(--borderShadow);
    border-radius: 20px;
}

.boxProjectsB div {
    background: white;
    width: 31%;
    align-self: flex-start;
    /*    align-items: last baseline; */
    box-shadow: var(--borderShadow);
    padding-bottom: 50px;
    border-radius: 20px;
}

.center {
    text-align: center !important;
}

/* MEDIA QUERY */

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

    /* testo del carrello indica se vuoto o quandi items contiene */
    .more {
        font-size: 1.2rem;
        padding-left: 1rem;
    }

    .logoBP {
        position: relative;
        max-width: 300px;
        margin: 0 auto;
        float: none;
    }

    p {
        text-align: left !important;
    }

    h1,
    h2 {
        text-align: center !important;
    }

    .pUp {
        padding-top: 10px !important;
    }

    .sfumatoPB {
        background-color: var(--colors_brand);
        padding: 2% 2% 20% 2%;
        text-align: center;
    }

    .sfumatoPB p,
    .box2 p {
        text-align: center !important;
    }

    .boxProjects div,
    .boxProjectsB div,
    .box2 div {
        width: 100%;
        text-align: center;
        margin-bottom: 50px;
    }

    article::first-letter {
        -webkit-initial-letter: 3 2;
        initial-letter: 3 2;
    }

}