/* Tavolozza colore */
/* :root {
  --accent: #d42c20;
  --dark: #020AFF;
  --secondary: #a02db7;
  --light: #ffffff;
  --primary: hsl(113, 58%, 62%);
} */

[data-theme="light"] {
    --accent: #FFFFFF;
    --dark: #0091ff;
    --secondary: #0091ff;
    --light: #ffffff;
    --primary: #bbbbbb;
    --primary2: #e0e0e0;
}

[data-theme="dark"] {
    --accent: #FFFFFF;
    --dark: #FFFFFF;
    --secondary: #0091ff;
    --light: #0091ff;
    --primary: #0072c9;
    --primary2: #0091ff;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

/* Utility */
.res {
    width: 100%;
    max-width: 380px;
}

.container {
    flex-direction: row;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    /* border: 1px solid red; */
}

/* Layout */
section {
    padding: 15px;
    display: block;
}

/* Tipografia */
body {
    /* font-family: 'Roboto', sans-serif; */
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light);
}

h1,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
}

h2,
h3,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent);
}

.spazioh4 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.titolo {
    font-size: 40px;
}

p.leading {
    font-size: 1.2em;
    line-height: 1.2em;
    color: var(--dark);
    font-style: italic;
}

p.newsletter {
    color: var(--light);
}

p {
    font-size: 1em;
    line-height: 1.8em;
    margin-top: 15px;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 23px
}

/* header (ricorda che lo spazio lo si mette tra la classe se è un discendente*/
header.cover {
    background: var(--secondary);
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    height: 40px;
    overflow: hidden;
    transition: 0.5s cubic-bezier(.59, 0, 1, .99);
    font-size: 0.8em;
}

/* importante lo spazio prima del punto non è figlio di header cointeiner */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


.cover.active {
    height: 105px;
}


div.cover__logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cover__menu {
    order: 3;
    width: 100%;
    visibility: hidden;
    color: var(--accent);
}

.cover.active .cover__menu {
    visibility: visible;
}

header h2 {
    color: var(--accent);
    font-size: 1.8em;
}

.cover__menu a {
    font-size: 1.8em;
}

.cover__menu li {
    text-align: right;
}

.cover__hb {
    color: var(--accent);
    font-size: 2em;
}

/* div.cover__logo h2 {
  margin-left: 20px;
} */

/* Hero */
.hero {
    /* border: 5px solid var(--dark); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.hero__text {
    padding: 15px;
}

.hero__cover {
    height: 600px;
}

.contenuto {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: space-around;
}

.slider-container {
    /* align-items: center; */
    /* width: 385px; */
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    margin-top: 50px;
    text-align: center;
    overflow: hidden;
}

.image-container {
    width: 1600px;
    background-color: var(--light);
    height: 400px;
    clear: both;
    position: relative;
    background-color: var(--light);

    -webkit-transition: left 2s;
    -moz-transition: left 2s;
    -o-transition: left 2s;
    transition: left 2s;
}

.slider-image {
    max-width: 400px;
    max-height: 300px;
    text-align: center;

}

#slider-image-1:target~.image-container {
    left: -200px;
}

#slider-image-2:target~.image-container {
    left: -600px;
}

#slider-image-3:target~.image-container {
    left: -1000px;
}

.button-container {
    position: relative;
    top: -130px;

}

.titolo-container {
    position: relative;
    top: -280px;
    text-align: left;
    margin-left: 20px;
}

.titolo-container p {
    color: var(--secondary);
}

.slider-change {
    display: inline-block;
    height: 6px;
    width: 6px;
    border-radius: 20px;
    padding: 5px;
    margin-left: 25px;
    margin-right: 25px;
    background-color: var(--secondary);
}


/* cta */
.cta-group {
    font-size: 1.8em;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0px;
}

.cta__primary,
.cta__secondary {
    /* border: 2px solid var(--secondary); */
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.5s ease-in-out 0s;
    font-size: 0.5em;
    justify-content: space-around;
}

.cta__primary {
    background: var(--dark);
    color: var(--light);
    border: 4px solid var(--dark);
}

.cta__primary:hover {
    background: var(--light);
    color: var(--dark);
    border: 4px solid var(--dark);
}

.cta__secondary {
    background: var(--light);
    color: var(--dark);
    border: 4px solid var(--dark);
}

.cta__secondary:hover {
    background: var(--dark);
    color: var(--light);
}


/* ombra */
.res {
    /* border: 40px solid var(--dark); */
    box-shadow: 20px 10px 20px 10px var(--primary);
    -moz-box-shadow: 20px 10px 20px 10px var(--primary);
    -webkit-box-shadow: 20px 10px 20px 10px var(--primary);
}

.traduttrici {
    text-decoration: underline;
    display: flex;
    margin-bottom: 100px;
}

footer {
    border: 1px solid var(--accent);
    display: block;
    color: var(--light);
    background: var(--secondary);
    /* border: 1px solid var(--accent); */
    padding: 15px;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
}


footer h3 {
    text-transform: uppercase;
}

footer p {
    color: var(--accent);
}

footer>div {
    background: var(--secondary);
    /* border: 1px solid red; */
}


.libro {
    width: 100%;
    padding: 20px;
}


.libro ul li a {
    font-size: 16px;
    font-family: 'Roboto Regular';
    text-transform: capitalize;
    color: #FFFFFF;
    text-decoration: none;
    color: #FFFFFF;
    display: block;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.libro ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}



summary::marker {
    font-size: 3em;
    content: "📎";
}

[open] summary::marker {
    content: "🖇️";
}

/* Popup */
.content__newsletter {
    display: flex;
    justify-content: center;
}

button {
    display: block;

    background: var(--dark);
    color: var(--light);
    padding: 15px;
    width: fit-content;

    border: 0;
    cursor: pointer;
}

/* per mode luce o buio */
#toggle-theme span {
    cursor: pointer;
}

[data-theme="light"] #toggle-theme .night {
    display: none;
}

[data-theme="dark"] #toggle-theme .light {
    display: none;
}


.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(--dark);
    color: var(--light);
    width: 100%;
    max-width: 500px;
    margin: 5% auto;
    padding: 15px;
    z-index: 2;
    position: relative;
    /* per dare una posizione devo dire che è relative */
}


.popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}

/* ! Punto di interruzione per dispositivi medium */
@media(min-width: 992px) {


    .cover__menu {
        all: unset;
    }

    .cover__menu li {
        display: inline-block;
        margin-left: 15px;
    }

    .cover__hb {
        display: none;
    }

    .hero {
        flex-direction: row;
    }

    .hero__text {
        width: 45%;
        margin-top: 50px;
    }

    .contenuto {
        flex-direction: row;
    }

    .content__sinossi {
        width: 40%;
        margin-top: 25px;
    }

    footer .container {
        display: flex;
        flex-wrap: nowrap;
    }

    /* .testo__sinossi {
    width: 45%;
  } */


    summary::marker {
        font-size: 3em;
        content: "📎";
    }

    [open] summary::marker {
        content: "🖇️";
    }


    .content__autore {
        background-color: var(--primary2);
        padding: 40px;
        max-width: 380px;
    }
}

/* ! 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 #ABB0B2;
    -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: #333;
}

#mc_embed_signup .button {
    clear: both;
    background-color: var(--primary);
    border: 0 none;
    border-radius: 10px;
    transition: all 1s ease-in-out 0s;
    color: var(--accent);
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    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(--secondary);
}

#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;
    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: var(--accent);
    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(--dark);
    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: 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;
}