body {

    background-color: var(--light);

}

body.dark {
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}




/* tavolozza colore */

:root {
    /* CSS HEX */
    --night: #080f0fff;
    --ash-gray: #a4bab7ff;
    --cream: #eff2c0ff;
    --khaki: #bea57dff;
    --auburn: rgb(115, 5, 5);

}

/* reset */
* {
    margin: 0;
    padding: 0;

}

a {
    text-decoration: none;
}

nav a {
    color: whitesmoke;
}

li {

    list-style-type: none;
}

/* utility */

html {
    scroll-behavior: smooth;
}

.res {

    width: 100%;
    max-width: 380px;
}

.container {
    max-width: 1200px;
    /* border: 1px solid red; */
    margin: 0 auto;

}


a {
    color: white;
}

/* header */

header.cover {

    background: rgb(111, 8, 8);
    padding-bottom: 20px;
    padding-right: 10px;
    height: 70px;
    overflow: hidden;
    transition: 1s cubic-bezier(0.39, 0.575, 0.565, 1)
}

header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cover.active {

    height: 100px;
}



/* Stile per l'immagine normalmente a colori */
.res {
    filter: grayscale(0);
    /* 0% grayscale significa nessun effetto bianco e nero */
    transition: filter 0.2s ease;
    /* Effetto di transizione morbida */
}

/* Stile quando il mouse passa sopra l'immagine */
.res:hover {
    filter: grayscale(100%);
    /* 100% grayscale significa completamente bianco e nero */
}

/* div.cover__logo {
    align-items: center;
    display: flex;
} */

div.cover__logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 30px;
    padding-top: 14px;
}

.cover.active {
    height: 200px;
}

.cover__menu {
    order: 3;
    width: 300%;
    visibility: hidden;

}

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

.hero__cover figure {
    padding: 40px;
}

.cover__menu a {
    color: rgb(255, 255, 255);
    font-size: 1.1em;
    text-align: right;
}

.cover__menu li {
    text-align: right;
    margin-bottom: 20px;


}

.cover__hb {
    color: white;
    font-size: 1.5em;

}


.bansky-list {
    list-style: none;
    padding: 10px;
}

.content__eventi h3 {
    padding: 10px;
    padding-top: 40px;
}

.bansky-list li {
    background-color: #f8f8f8;
    margin-bottom: 10px;
    padding: 10px;
    border-left: 4px solid #710b0b;
    padding-right: 20px;
}

@media screen and (max-width: 600px) {
    .content__eventi {
        margin: 20px;
        /* Increase the margin for mobile devices */
        /* Add any other mobile-specific styles here */
    }
}


/* tipografia */
body {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;

}

h1,
h2,
h4,
h5,
h6 {

    font-family: 'Montserrat', sans-serif;
    font-style: bold;
    font-size: 50px;
    color: var(--secondary);
}

h3 {
    font-family: 'Montserrat', sans-serif, ;
    font-size: 25px;
    color: #710b0b;
}

p.leading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    line-height: 1.6em;
    font-style: normal;
    padding-bottom: 20px;
    /* padding-bottom: 25px; */
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    line-height: 1.2em;
    font-style: normal;
}


.hero__text,
.hero__cover {
    /* padding: 15px; */
    margin-left: 24px;
    margin-right: 18px;

}

.hero__text h2 {
    line-height: 1;
    padding-top: 20px;
    padding-bottom: 20px;
}

.hero__cover img {
    border-radius: 30px;
}

.backred img {
    border-radius: 30px;
}

.cover__logo h2 {
    color: white;

}

/* cta */

.cta-group {
    font-size: 1.8em;
    text-decoration: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-bottom: 20px;
}

.cta_primary,
.cta_secondary {
    /* border: 1px solid red; */
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 900;

}

.cta_primary {

    background: var(--auburn);
    color: white;
}


.cta_primary:hover {
    color: white;
    background: black;
    /* border: 2px solid var(--secondary); */

}



.cta_secondary {

    border: 2px solid var(--night);
    color: var(--auburn);
}

.cta_secondary:hover {

    background: var(--night);
    color: white;
}

figure h2 {
    font-size: 90px;
    color: #000000;
    /* Cambia questo valore in base alle tue esigenze */
}


figure {
    padding: 30px;
}





.content__autore {
    background: rgb(13, 0, 0);
    color: white;
    border-radius: 40px;
    padding-bottom: 20px;


}

.content__autore p {
    padding-left: 20px;
    padding-right: 30px;
}

.content__autore h3 {
    color: #f8f8f8;
    padding-left: 20px;
    padding-top: 20px;
}

.autore-img img {
    border-radius: 70px;

}

.content__sinossi p {
    padding-left: 20px;
    padding-right: 30px;
}


.content__sinossi h3 {
    color: #000000;
    padding-left: 20px;
    padding-top: 20px;
}


section {
    margin: 20px 0;

}

/* hero */

.hero {
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 
.footer {
    padding: 40px;
    display: flex;
    gap: 20px;
    background-color: var(--accent);
    color: var(--light);
    flex-wrap: wrap;
    justify-content: space-between;

} */

/* .footer a {
    color: var(--light);
    display: flex;
} */

footer {
    color: var(--light);
    background: var(--accent);
    /* border: 1px solid red; */
    padding: 30px;



}


footer .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;



}


.social {
    text-align: center;
}

.legal {
    text-align: center;
}

.contatti {
    text-align: center;
}

.link {
    text-align: center;
}


footer h3 {

    text-transform: uppercase;
    font-size: 22px;
    color: var(--secondary);
}


@media (max-width: 400px) {

    .hero__text h2 {
        font-size: 2.5em;
    }
}


/* footer>div {


    padding: 20px;

} */

/* summary::marker {
    font-size: 1.6em;
    content: '📫';
}

[open] summary::marker {
    content: '📭';
} */


/*pupup*/
.content__newsletter {
    display: flex;
    justify-content: center;
    padding: 32px;
}

button {
    display: block;
    background: var(--khaki);
    color: var(--cream);
    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: white;
    color: var(--night);
    max-width: 600px;
    color: var(--light);
    padding: 15px;
    z-index: 2;
    position: relative;
    margin: 5% auto;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}


/* punto di interruzione per i dispositivi medium */

@media (min-width: 768px) {



    .cover__menu {
        all: unset;
        visibility: visible;
    }

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



    }

    .cover__hb {
        display: none;
    }

    .hero {
        flex-direction: row;
    }

    .hero__cover {

        width: 55%;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .hero__text {

        width: 45%;
    }



    footer .container {

        flex-direction: row;
    }




}



/* punto di interruzione per dispositivi larghi */
@media (min-width:992px) {}

/* 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;
    padding: 10px;
    font-size: 1em;
}



#mc_embed_signup input:focus {
    border-color: #333;
}

/* 
#mc_embed_signup .button {
    clear: both;
    background-color: var(--night));
    border: 0 none;
    border-radius: 4px;
    transition: all 1s ease-in-out 0s;
    color: black;
    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(--night);
    color: #ccc;
}

#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 p {

    line-height: 40px;
}

#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: #ffffff;
    font-size: 150%;
    font-weight: normal;
    position: relative;
    top: 5px;
}

#mc_embed_signup .clear {
    clear: both;
}

#mc_embed_signup .foot {
    display: grid;

    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: #ffffff;
    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;
}

footer {
    background-color: rgb(82, 8, 8);
    color: white;

}

footer h3 {
    color: white;

}


.content__sinossi figure {
    text-align: center;
    /* Centra il contenuto del tag figure */
    margin: 0;
    /* Opzionale: rimuove i margini di default del tag figure */
}

.content__sinossi img {
    max-width: 100%;
    /* Rende l'immagine reattiva */
    height: auto;
    /* Mantiene le proporzioni dell'immagine */
}


/* Stili per Dark Mode su dispositivi mobili */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
    .bansky-list li {
        color: rgb(87, 8, 8);
        /* Sostituisci con il colore del testo per la Dark Mode */
        background-color: whitesmoke;
        /* Sostituisci con il colore dello sfondo per la Dark Mode */
    }

    .backred h2 {
        color: #cd0606;
    }

    .cta_secondary {
        color: var(--auburn);
        border: 2px solid var(--auburn);
    }





}




.autore-container {
    display: flex;
    align-items: center;
    /* Centra gli elementi verticalmente */
    justify-content: space-between;
    /* Distanzia gli elementi */
    margin-top: 10px;
    margin-bottom: 10px;
    justify-content: center;
    flex-direction: row;
    /* Spazio dalla parte superiore */
}

.autore-img img {
    max-width: 200%;

    /* Rende l'immagine reattiva */
    height: auto;
    /* Mantiene le proporzioni dell'immagine */
    /* Aggiungi dimensioni specifiche se necessario, ad esempio: */
    width: 400px;
    padding: 30px;
    /* Larghezza dell'immagine */
}

.autore-text p {
    font-size: 50px;
    padding-left: 40px;
    /* Dimensione del font per il testo a destra */
    font-weight: bold;
    /* Rende il testo in grassetto */
    /* Aggiungi altre proprietà di stile se necessario */
}


/* Stili per dispositivi mobili */
@media (max-width: 768px) {
    .autore-container {

        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .autore-img img {

        width: 80%;
        max-width: none;
        padding: 10px;
        padding-left: 0px;
        margin-left: 30px;

    }

    .autore-text p {
        font-size: 2.5em;
        text-align: center;
        padding-bottom: 30px;
        padding-top: 20px;
    }
}



* {
    box-sizing: border-box
}


.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}


.mySlides {
    display: none;
}


.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}


.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}


.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}


.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}


.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}


@media (max-width: 768px) {
    .slideshow-container {

        padding-right: 49px;

    }

    .mySlides img {
        width: auto;
        max-width: 100%;
        height: auto;

    }


    @media (max-width: 768px) {
        .backred h2 {
            font-size: 60px;
        }
    }

}


.footer-content {
    position: absolute;
    width: 100%;
    background-color: #f8f8f8;
    padding: 10px;
    text-align: center;
    font-family: "Prompt", sans-serif;
    font-weight: 200;
    font-size: 0.6em;
}