/* Reset */
* {
    margin: revert-layer;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

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

.clip {
    clip-path: url();
}

:root {
    --primary: #6DA6A0;
    --secodary: #919594;
    --accent: #222621;
    --dark: #65A69A;
    --light: #bac2c0;
    --white: #ffffff;
}

.container {
    max-width: 1300px;
    /* border: 2px solid red; */
    margin: 0 auto;
}

/* tipografia */
body {
    font-family: "Lexend Zetta", serif;
    color: var(--accent);
    font-weight: 500;
    color: var(--accent);
}

h1 {
    font-family: "Lexend Zetta", serif;
    font-weight: 400;
    font-weight: bold;
    font-style: italic;
    font-size: 4em;
    color: var(--primary);
}

h2 {
    font-family: "Lexend Zetta", serif;
    font-optical-sizing: auto;
    /* font-weight: 900; */
    /* font-style: normal; */
    color: var(--primary);
    font-size: 2em;
    text-align: right;
    padding-bottom: 13px;
    border-bottom: 3px solid;

}

.leading {
    font-size: 1.2em;
}

/* verticale il 10 orizzontale 0 */
p {
    margin: 10px 0;
}

/* Header */
header.cover {
    background: var(--primary);
    color: var(--white);
    height: 90px;
    overflow: hidden;
    transition: 1s cubic-bezier(.84, .03, .29, .75);
    width: 100%;
}

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



header.cover.active {
    height: 300px;
    text-align: right;
}

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

}

header.cover.active .cover__menu {
    visibility: visible;
    text-align: right;

}

.cover__menu a {
    color: var(--white);
    font-size: 1.5em;
}

.content__sinossi {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-direction: row-reverse;
}


/* CTA */
.cta-group {
    font-size: 1.6em;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 20px;
}

.cta-group__primary,
.cta-group__secondary {
    border: 5px solid var(--secodary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.cta-group__primary {
    background: var(--secodary);
    color: var(--white);
}

.cta-group__secondary {
    background: trasparent;
    color: var(--primary);
}

.cta-group__primary:hover {
    background: var(--accent);
    border: 2px solid var(--accent);
}

.cta-group__secondary:hover {
    border: 2px solid var(--accent);
    color: var(--accent);
}

/* punto di interruzione per dispositivi medium (tablet)*/
@media (min-width: 768px) {
    .cover__menu {
        all: unset;
        display: flex;
    }

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

    /* quello scritto sotto serve per gestire la scomparsa dell'hamburger */
    .cover__hb {
        /* visibility: hidden; puoi usare anche questo modo per nascondere l'hamburger ma ti resta la sagoma è meglio usare */
        display: none;
    }

    /* hero gestita per Medium in poi */
    .hero {
        display: flex;
        gap: 30px;
    }

    .hero__text {
        width: 45%;
        margin-left: 30px;
    }

    .hero__cover {
        width: 55%;
        display: flex;
        justify-content: center;
        margin-left: 15px;
        gap: 30px;
        align-items: center;
    }

    .content__autore {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .text__autore {
        width: 55%;
    }

    .hero__cover__2 {
        width: 45%;
        display: flex;
        justify-content: center;
    }

    footer {
        display: list-item;
        text-align: center;
        text-indent: 50px;
    }

    .contact {
        display: inline !important;
    }

}

#sinossi,
#autore,
#film {
    margin-top: 100px;
}

#film {
    display: flex;
    flex-direction: row;
    /* align-content: center; */
    align-items: center;
    justify-content: center;
    column-gap: 30px;
}

.slider-container {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 50px auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* Aspect ratio 16:9 */
    position: relative;
}

.slide img {
    width: 100%;
    object-fit: contain;
    border-radius: 10px;

}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.content {
    padding-left: 30px;
    padding-right: 30px;
}



/* footer */
footer {
    background: var(--secodary);
    border: 2px solid var(--secodary);
    padding: 15px;
    display: list-item;
    text-align: center;
    line-height: 50px;
}

h3 {
    font-size: 2em;
    color: var(--white);
}

.contact {
    display: flex;
    flex-direction: column;
}

.contact a {
    color: var(--white);
    font-size: 1em;
}

.social a {
    color: var(--white);
    font-size: 1em;
}

/* CSS relativo a mailchip */
/* MailChimp Form Embed Code - Classic - 12/17/2015 v10.7 */
#mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    padding: 10px 0 10px 3%
}

#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: #aaa;
    border: 0 none;
    border-radius: 4px;
    transition: all 0.23s ease-in-out 0s;
    color: #FFFFFF;
    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: auto;
}

#mc_embed_signup .button:hover {
    background-color: #777;
}

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

#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 .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 .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-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: 5px 10px;
    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;
}

@media (max-width: 768px) {
    #film {
        flex-direction: column;
    }

    h2 {
        font-size: 2em;
    }

    h1 {
        font-size: 2em;
    }

    .content__sinossi {
        flex-direction: column;
    }

}