/* Tavolozza colore */
:root {
    --accent: #44AF69;
    --dark: #071108;
    --secondary: #C200FB;
    --light: #FDFFFF;
    --primary: #FF8A5B;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;


}


/* modifica tasto acquista fallo colorato e mettilo accanto al tasto leggi l'estratto, cambia carosello, modifica width delle specifiche */


.fa-brands {

    color: var(--light);

    margin: 20px;
    font-weight: 900;
    font-size: 3.0em;
}

/* .fa-solid-fa-bars {
    font-size: 1.5em;
} */


li {
    list-style-type: none;
}


/* Utility */
html {
    scroll-behavior: smooth;
}

.res {
    width: 100%;
    max-width: 380px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout */
section {
    /* padding: 15px; */
    margin: 20px 0;
}

/* Tipografia */
body {
    font-family: 'Schibsted Grotesk', sans-serif;
}

/* body.dark {
    background: var(--dark);
    color: var(--light);
  } */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Schibsted Grotesk', sans-serif;
}

h1 {
    display: flex;
    flex: wrap;
    justify-content: center;
    font-size: 2.8em;
    margin: 100px 20px 20px 20px;
    align-items: center;
    font-weight: 300;
    color: var(--primary);


}

h3 {
    font-size: 1.8em;
    margin: 20px;
    border-bottom: 0.5px solid var(--secondary);
    font-weight: 100;
    color: var(--secondary);
}

.sottotitolo {
    font-size: 1.8em;
    margin: 20px;
    border-bottom: 2px solid var(--secondary);
    font-weight: 100;
    color: var(--secondary);
}

h4 {
    font-size: 1.8em;
    color: var(--light);
    font-weight: 100;
}



h2 {
    display: flex;
    flex: wrap;
    justify-content: center;
    font-size: 1.8em;
    margin: 15px 15px;
    border-bottom: 2px solid var(--secondary);
    font-weight: 100;

}

p.estratto {
    display: flex;
    flex: wrap;

    font-size: 1.9em;
    margin: 20px;
}

p.leading {
    font-size: 1.6em;
    line-height: 1.6em;
}

p {
    font-size: 1.4em;
    line-height: 1.4em;
    margin: 20px;
}

/* header */
header.cover {
    background: var(--dark);
    padding: 15px;
    height: 90px;
    overflow: hidden;
    transition: 1s cubic-bezier(.17, .67, .63, .98);
    position: block;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* border: 1px solid var(--dark); */
}

.cover.active {
    height: 300px;
}

div.cover__logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cover__menu {
    order: 3;
    width: 100%;
    visibility: hidden;

}

.cover.active .cover__menu {
    visibility: visible;
}

header h2 {
    color: var(--light);
    font-size: 1.8em;
}

.cover__menu a {
    color: var(--light);
    font-size: 1.8em;

}


.cover__menu a:hover {
    color: var(--accent);
    font-size: 2em;
    font-weight: bold;

}

.cover__menu li {
    text-align: right;
}

.cover__hb {
    color: var(--light);
    font-size: 1.6em;
}

/* div.cover__logo h2 {
    margin-left: 20px;
  } */

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__text h1 {
    color: black;
    font-weight: bold;
}

.hero__text,
.hero__cover {
    padding: 15px;
}

/* cta */
.cta-group {
    font-size: 1.8em;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    justify-content: center;
}

.cta__primary,
.cta__secondary {
    border: 2px solid var(--secondary);
    padding: 10px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    margin: 0 20px;

}




.cta__primary {
    background: var(--secondary);
    color: var(--light);
}

.cta__primary:hover {
    background: var(--dark);
    border: 2px solid var(--dark);
    color: var(--light);
}

.cta__secondary {
    /* background: var(--light); */
    color: var(--secondary);
}

.cta__secondary:hover {
    background: var(--dark);
    border: 2px solid var(--dark);
    color: var(--light);

}



/* slider */
.item {
    width: 1000;
    height: 700;


    /* background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
    margin: 20px;

}


/* autore */

.autore-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* .autore__cover,
.autore__text {
   

} */


/* -------------------------------------------------------------------------------- */
/* ! SLIDER */
/* -------------------------------------------------------------------------------- */

.wrapper {
    max-height: 1000px;
    display: flex;
    overflow-x: auto;
    margin-top: 60px;
    margin-bottom: 40px;
    margin: 20px;
    padding-bottom: 20px;

}

.wrapper::-webkit-scrollbar {
    height: 18px;
    background-color: #ffffff;
    border-radius: 20px;
    width: 80%;
    border: 2px solid rgb(158, 60, 244);
    padding-bottom: 10px;

}

.wrapper::-webkit-scrollbar-thumb {
    height: 4px;
    background-color: rgb(185, 67, 235);
    border-radius: 20px;
    cursor: pointer;
    width: 20px;
}

.wrapper .item {
    min-width: 320px;
    height: 500px;
    line-height: 400px;
    text-align: center;
    margin-right: 50px;
    background-size: cover;
    background-position: center;

}


#product {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    background-color: #000000;
}

.item {
    width: 200px;
    aspect-ratio: 3/4;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 0px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.3);

}

.iteminfo {
    width: 100%;
    height: 100%;

    background: linear-gradient(0deg, rgba(10, 10, 10, 0.421) 0%, rgba(0, 0, 0, 0.867) 80%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* flex-direction: row; */
    opacity: 0;
    cursor: pointer;

}

.iteminfo:hover {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
    transform: translateY(0);
}

.item__text {
    color: rgb(255, 255, 255);

    /* border-bottom: 2px solid white; */
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5em;
    font-weight: 800;
    margin: 0;
    width: 100%;
    max-height: 30px;
    text-align: center;
    transform: translateY(-20px);

}



.item__button a {
    width: fit-content;

    padding: 7px 10px;
    margin: 20% auto;
    border: solid 4px white;
    border-radius: 10px;
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5em;
    transition: all 0.2s ease-in-out;
    transform: translateY(-20px);

}

a {
    text-decoration: none;
}

.item__button a:hover {
    background-color: rgb(249, 116, 216);



}

/* footer */
footer {
    color: var(--light);
    background: var(--dark);
    padding: 15px;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer h3 {
    text-transform: uppercase;
}

footer>div {
    /* background: var(--dark); */
}

/* summary {
    font-size: 1.4em;
    font-weight: 600;
}

summary::marker {
    font-size: 2.5em;
    content: '📘';
}

[open] summary::marker {
    content: '📖';
} */

/* popup */
.content__newsletter {
    display: flex;
    justify-content: center;
}

button {
    display: block;
    /* background: var(--primary);
    color: var(--light);
    padding: 15px; */
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.popup-wrapper {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1;
}

.popup {
    background: var(--light);
    color: var(--secondary);
    width: 100%;
    max-width: 500px;
    margin: 5% auto;
    align-self: center;
    padding: 0.3px;
    z-index: 2;
    position: relative;

}

.popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}


/* ul */


.info {
    border: solid #000;
    border-radius: 20px;
    padding: 40px;
    margin-left: 20px;
    margin-right: 20px;

}

li {
    margin: 15px;
    text-transform: uppercase;

}

.box-frame-title {

    top: -0.75rem;
    left: 3rem;
    display: block;
    background-color: white;
    padding: 0 1rem;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;

}


/* ! Punto di interruzione per dispositivi medium */
@media(min-width: 830px) {

    .cover__menu {
        all: unset;
    }

    .cover__menu li {
        display: inline-block;
        margin-left: 15px;
    }

    .cover__hb {
        display: none;
    }


    .autore-container {
        flex-direction: row;
    }

    .autore__text {
        width: 85%
    }

    .autore__cover {
        width: 25%;
        display: flex;
        flex-direction: row;
        justify-content: center;

    }

    .hero {
        flex-direction: row;
    }

    .hero__text {
        width: 45%;
    }

    .hero__cover {
        width: 55%;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .wrapper .item {
        min-width: 360px;
        height: 500px;
        line-height: 400px;
    }

    footer .container {
        flex-direction: row;
    }
}

/* ! Punto di interruzione per dispositivi larghi */
@media(min-width: 992px) {}


/* ! Mailchimp */
/* MailChimp Form Embed Code - Classic - 12/17/2015 v10.7 */
#mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    margin: 20px
}

#mc_embed_signup h2 {
    font-weight: bold;
    padding: 0;
    margin: 15px 0;
    font-size: 1.4em;
}

#mc_embed_signup input {
    border: 1px solid var(--secondary);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#mc_embed_signup input[type=checkbox] {
    -webkit-appearance: checkbox;
}

#mc_embed_signup input[type=radio] {
    -webkit-appearance: radio;
}

#mc_embed_signup input:focus {
    border-color: var(--secondary);
}

#mc_embed_signup .button {
    clear: both;
    background-color: var(--light);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    transition: all 2s ease-in-out 0s;
    color: var(--secondary);
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: fit-content;
    width: -moz-fit-content;
}

#mc_embed_signup .button:hover {
    background-color: var(--dark);
    border: 1px solid var(--dark);
    color: var(--light);
}

#mc_embed_signup .small-meta {
    font-size: 11px;
}

#mc_embed_signup .nowrap {
    white-space: nowrap;
}

#mc_embed_signup .mc-field-group {
    clear: left;
    position: relative;
    width: 96%;
    padding-bottom: 3%;
    min-height: 50px;
    display: grid;
}

#mc_embed_signup .size1of2 {
    clear: none;
    float: left;
    display: inline-block;
    width: 46%;
    margin-right: 4%;
}

* html #mc_embed_signup .size1of2 {
    margin-right: 2%;
    /* Fix for IE6 double margins. */
}

#mc_embed_signup .mc-field-group label {
    display: block;
    margin-bottom: 3px;
}

#mc_embed_signup .mc-field-group input {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-indent: 2%;
}

#mc_embed_signup .mc-field-group select {
    display: inline-block;
    width: 99%;
    padding: 5px 0;
    margin-bottom: 2px;
    color: var(--dark);
}

#mc_embed_signup .mc-address-fields-group {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 96%;
    gap: 15px;
}

#mc_embed_signup .mc-sms-phone-group {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 96%;
    gap: 15px;
    padding-top: 5px;
}

#mc_embed_signup .datefield,
#mc_embed_signup .phonefield-us {
    padding: 5px 0;
}

#mc_embed_signup .datefield input,
#mc_embed_signup .phonefield-us input {
    display: inline;
    width: 60px;
    margin: 0 2px;
    letter-spacing: 1px;
    text-align: center;
    padding: 5px 0 2px 0;
}

#mc_embed_signup .phonefield-us .phonearea input,
#mc_embed_signup .phonefield-us .phonedetail1 input {
    width: 40px;
}

#mc_embed_signup .datefield .monthfield input,
#mc_embed_signup .datefield .dayfield input {
    width: 30px;
}

#mc_embed_signup .datefield label,
#mc_embed_signup .phonefield-us label {
    display: none;
}

#mc_embed_signup .indicates-required {
    text-align: right;
    font-size: 11px;
    margin-right: 4%;
}

#mc_embed_signup .asterisk {
    color: var(--primary);
    font-size: 150%;
    font-weight: normal;
    position: relative;
    top: 5px;
}

#mc_embed_signup .clear {
    clear: both;
}

#mc_embed_signup .foot {
    display: grid;
    grid-template-columns: 3fr 1fr;
    width: 96%;
    align-items: center;
}

@media screen and (max-width:400px) {
    #mc_embed_signup .foot {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        align-items: center;
    }
}

@media screen and (max-width:400px) {
    #mc_embed_signup .referralBadge {
        width: 50%;
    }
}

#mc_embed_signup .brandingLogo {
    justify-self: right;
}

@media screen and (max-width:400px) {
    #mc_embed_signup .brandingLogo {
        justify-self: left;
    }
}

#mc_embed_signup .mc-field-group.input-group ul {
    margin: 0;
    padding: 5px 0;
    list-style: none;
}

#mc_embed_signup .mc-field-group.input-group ul li {
    display: block;
    padding: 3px 0;
    margin: 0;
}

#mc_embed_signup .mc-field-group.input-group label {
    display: inline;
}

#mc_embed_signup .mc-field-group.input-group input {
    display: inline;
    width: auto;
    border: none;
}

#mc_embed_signup div#mce-responses {
    float: left;
    top: -1.4em;
    padding: 0em .5em 0em .5em;
    overflow: hidden;
    width: 90%;
    margin: 0 5%;
    clear: both;
}

#mc_embed_signup div.response {
    margin: 1em 0;
    padding: 1em .5em .5em 0;
    font-weight: bold;
    float: left;
    top: -1.5em;
    z-index: 1;
    width: 80%;
}

#mc_embed_signup #mce-error-response {
    display: none;
}

#mc_embed_signup #mce-success-response {
    color: var(--accent);
    display: none;
}

#mc_embed_signup label.error {
    display: block;
    float: none;
    width: auto;
    margin-left: 1.05em;
    text-align: left;
    padding: .5em 0;
}

#mc_embed_signup .helper_text {
    color: var(--dark);
    margin-top: 2px;
    display: inline-block;
    padding: 3px;
    background-color: black(255, 255, 255, 0.85);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    z-index: 1;
}

#mc-embedded-subscribe {
    clear: both;
    width: auto;
    display: block;
    margin: 1em 0 1em 5%;
}

#mc_embed_signup #num-subscribers {
    font-size: 1.1em;
}

#mc_embed_signup #num-subscribers span {
    padding: .5em;
    border: 1px solid #ccc;
    margin-right: .5em;
    font-weight: bold;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    display: inline-block;
    margin: 2px 0 1em 0;
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    z-index: 1;
    color: var(--secondary);
}

#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
    border: 2px solid var(--secondary);
}

#mc-embedded-subscribe-form input[type=checkbox] {
    display: inline;
    width: auto;
    margin-right: 10px;
}

#mergeRow-gdpr {
    margin-top: 20px;
}

#mergeRow-gdpr fieldset label {
    font-weight: normal;
}

#mc-embedded-subscribe-form .mc_fieldset {
    border: none;
    min-height: 0px;
    padding-bottom: 0px;
}