/* tavolozza colore */

:root {

    --accent: #bee35c;
    --dark: #03065b;
    --light: #fefcfb;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}



li {
    list-style-type: none;
}

/* utility */
html {
    scroll-behavior: smooth;
}

.res {
    width: 100%;
    max-width: 1000px;



}

.res2 {
    width: 100%;
    max-width: 1400px;
    min-width: 768px;
}

.res3 {
    width: 100%;
    max-width: 1000px;
    min-width: 300px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    /* border: 1px solid red; */

}

/* layout */
section {
    /* padding: 30px; */
    margin: 20px 0;
}


/* tipografia */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light);
}


h1,
h2 {
    font-family: 'Roboto Serif', serif;

}

h1 {
    font-size: 2.6em;
    color: var(--dark);
    text-transform: uppercase;
}

h2 {
    color: var(--dark);
    text-transform: uppercase;
    font-size: 1.7em;

}

h3 {
    color: var(--dark);
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
}

h4 {
    color: var(--light);
    font-family: 'Roboto', sans-serif;
    padding-left: 20px;
    padding-bottom: 20px;

}

p.leading {
    font-size: 1.6em;
    line-height: 1.4em;
    color: var(--dark);
    font-style: oblique;
}

p.bold {
    font-size: 1.4em;
    line-height: 1.2em;
    margin-top: 10px;
    color: var(--dark);
    font-weight: 700;
}

p.oblique {
    color: var(--light);
    padding: 20px;
    font-weight: 200;
    font-style: oblique;
}

p {
    font-size: 1.4em;
    line-height: 1.2em;
    margin-top: 10px;
    color: var(--dark);
}

/* header */

header h3 {
    color: var(--light);
}

header.cover {
    background: var(--dark);
    padding: 15px;
    height: 50px;
    overflow: hidden;
    transition: 1s cubic-bezier(.29, .99, .78, .12);
}

header .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.cover.active {
    height: 300px;
}

div.cover__logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

div.cover__logo h2 {
    color: var(--light);
    font-size: 1.2em;
}

/* div.cover__logo h2 {
    margin-left: 20px;
} */

.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.4em;
}

.cover__menu li {
    text-align: right;
}

.cover__menu a:hover {
    color: var(--accent);
}

.cover__hb {
    color: var(--light);
    font-size: 1.4em;
    cursor: pointer;
}



/* hero */


.hero {
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: space-around; */
    background: var(--dark);
    border-radius: 0 0 30px 30px;

}

.hero1 {
    background: var(--dark);
    border-radius: 0 0 30px 30px;
    padding-top: 15px;
}

.hero__grafica {
    display: none;

}



.hero__text h1,
p.leading {
    color: var(--light);

}

.hero__text h2 {
    color: var(--accent);
    text-align: center;
    margin-top: 10px;
}

.hero__text h1 {
    text-align: center;
}

p.leading {
    margin: 0 auto;
    margin-top: 25px;
    text-align: center;
    margin-bottom: 10px;
}

.hero__text,
.hero__cover,
.content__sinossi,
.content__recensioni,
.content__newsletter,
.altri {
    padding: 20px;
}

/* cta */
.cta-group {
    font-size: 1.5em;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 50px;

}

.cta__primary,
.cta__secondary {
    border: 3px solid var(--accent);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 900;
    transition: all 0.23s ease-in-out 0s;
    color: var(--accent);

}



.cta__primary {
    background: var(--accent);
    color: var(--dark);
    transition: all 0.23s ease-in-out 0s;

}

.cta__primary:hover {
    background: var(--light);
    border: 3px solid var(--light);
}

.cta__secondary:hover {
    border: 3px solid var(--light);
    color: var(--light);
}

/* sinossi */
.content__sinossi {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sinossi__cover {
    margin: 0 auto;

    align-items: center;

}

/* autore */
.content__autore {
    background: var(--accent);
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.autore__cover {
    flex-direction: row;
    max-width: 230px;
    margin: 0 auto;
    align-items: center;
}

/* recensioni */

.recensioni__text {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 15px;
}


.recensione1 p,
.recensione2 p,
.recensione3 p {

    padding: 20px;
    font-weight: 200;


}

.star {
    color: var(--light);
    padding-top: 25px;
    padding-left: 20px;
    padding-right: 20px;


}

.recensione1,
.recensione2,
.recensione3 {
    background: var(--dark);
    border-radius: 30px;
    /* display: flex; */
    gap: 30px;


}

/* footer */
footer {
    color: var(--dark);
    background: var(--accent);
    /* border: 1px solid red; */
    /* padding: 15px; */
    font-size: 0.8em;
    padding: 20px;
    border-radius: 30px 30px 0px 0px;

}

footer .container {
    display: flex;

    gap: 20px;
    flex-wrap: wrap;
    padding: 15px;


}




footer h3 {
    text-transform: uppercase;
}

.icone {
    font-size: 3em;
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding-top: 15px;
    color: var(--dark);
    flex-wrap: wrap;
}

.fa-square-instagram:hover,
.fa-square-facebook:hover,
.fa-linkedin:hover,
.fa-square-youtube:hover {
    color: var(--light);
}



.link,
.social,
.rivenditori,
.chi-siamo {
    color: var(--dark);
    padding: 15px;
    display: wrap;
    justify-content: space-evenly;
}

/* a:-webkit-any-link {
    color: 
} */

.link a,
.social a,
.rivenditori a,
.chi-siamo a {
    color: var(--dark);
}

.link a:hover,
.rivenditori a:hover,
.chi-siamo a:hover {
    color: var(--light)
}

.elenco {
    font-size: 1.4em;
    font-weight: 400;
    padding-top: 15px;
}




/* footer>div {
    background: var(--accent);
    border: 1px solid red;
} */



/* Popup */
.content__newsletter {
    display: flex;
    justify-content: center;
}

button.cta-group {
    display: block;
    background: var(--dark);
    color: var(--light);
    padding: 15px;
    width: fit-content;
    border: 0;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;


}

button.cta-group:hover {
    background: var(--accent);
    color: var(--light);
}

.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);
    width: 70%;
    max-width: 600px;
    margin: 3% auto;
    padding: 30px;
    color: var(--dark);
    z-index: 2;
    position: relative;
    border-radius: 20px;


}

.popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-weight: 300;
}

.content__gdpr p {
    font-size: 1em;
}

/* slider */
#slider {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;


    margin: 0 auto;
    padding-top: 30px;
}


* {
    box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
    grid-column: 1/9;

}

.slideshow-container img {
    margin-top: 15px;
}

.slideshow-container {
    /* max-width: 1000px; */
    position: relative;
    margin: auto;
}


/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 13px;
    color: var(--dark);
    font-weight: bold;
    font-size: 22px;
    transition: 0.6s ease;
    border-radius: 0 10px 10px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 10px 0 0 10px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: var(--accent);

}


/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}



/*! punto di interruzione per dispositivi medium */
@media(min-width: 768px) {
    body {
        /* background: var(--light); */
    }

    .cover__menu {
        all: unset;
    }

    .cover__menu li {
        display: inline-block;
        margin-left: 15px;
    }

    .cover__hb {
        display: none;
    }

    p.leading {
        width: 80%;
        padding-bottom: 25px;
        padding-top: 10px;

    }

    /* sinossi */
    .content__sinossi {
        flex-direction: row;
    }

    .sinossi__text {
        flex-direction: column;
        width: 50%;
    }


    .sinossi__cover {
        width: 50%;
        width: 500px;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    /* recensioni */

    .recensioni__text {
        flex-direction: row;
        gap: 30px;

    }

    .content__recensioni h2 {
        display: block;
    }


    /* hero */
    .hero {
        border-radius: 0 0 60px 60px;
    }

    .hero__text {
        padding-top: 0;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 40px;
    }

    .hero__grafica {
        display: initial;

    }



    /* autore */
    .content__autore {
        flex-direction: row;

    }

    .autore__cover {
        width: 30%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 10px;
    }

    .autore__text {
        flex-direction: column;
        width: 70%;
    }


    .hero__cover,
    .content__sinossi,
    .content__recensioni,
    .content__newsletter,
    .altri,
    .content__autore {
        padding: 40px;
    }

    /* footer */
    .footer {
        padding: 20px;
    }

    footer .container {
        flex-direction: row;
        justify-content: space-evenly;
        width: 80%;
    }

    /* slider */
    #slider {
        width: 55%;
    }

    /* popup */
    .popup {
        width: 100%;
    }
}



/*! punto di interruzione per dispositivi larghi */


@media(min-width:992px) {
    body {
        /* background: var(--light);
    } */
    }
}

/* Mailchimp */
/* MailChimp Form Embed Code - Classic - 12/17/2015 v10.7 */
#mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    color: var(--dark);
}

#mc_embed_signup h2 {
    font-weight: bold;
    padding: 0;
    margin: 15px 0;
    color: var(--dark);
}

#mc_embed_signup input {
    border: 1px solid var(--dark);
    -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(--dark);
}

#mc_embed_signup .button {
    clear: both;
    background-color: var(--dark);
    border: 0 none;
    border-radius: 8px;
    transition: all 0.23s ease-in-out 0s;
    color: var(--light);
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    display: inline-block;
    font-size: 1.2em;
    font-weight: 900;
    margin: 0 5px 10px 0;
    padding: 10px 20px;
    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(--accent);
}

#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;
}

#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: #e85c41;
    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: #529214;
    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: #8d8985;
    margin-top: 2px;
    display: inline-block;
    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;
}

#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: #e85c41;
}

#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
    border: 2px solid #e85c41;
}

#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;
}