/* -------------------------------------------------------------------------------- */
/* ! Impostazioni BASE */
/* -------------------------------------------------------------------------------- */

:root {
    /* Tavolozza colore */
    --dark: #000000;
    --light: #F7F7F7;
    --accent: #E3D024;
    --primary: #186FB5;
    --secondary: #1E1E1E;
    --tertiary: #BBBBBB;
    /* Animazioni micro */
    --micro: 0.4s cubic-bezier(.17, .67, .83, .67);
}

/* preset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

/* Utility */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--secondary)
}

.res {
    width: 100%;
    max-width: 600px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.clippy {
    clip-path: circle(50% at 50% 50%)
}

.section__title {
    padding: 150px 0 50px 0;
    color: var(--light);
}

/* Tipografia */
body {
    font-family: "Inter", sans-serif;
    font-size: 18px;
}

h1 {
    font-family: "Martel", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.7em;
    line-height: 130%;
}

h2 {
    font-family: "Inter", sans-serif;
    font-size: 1.9em;
}

h3 {
    font-family: "Inter", sans-serif;
    font-size: 1.2em;
    line-height: 150%;
    font-weight: 400;
}

h3.leading {
    font-size: 1.2em;
    font-weight: 700;
}

h4 {
    font-family: "Martel", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3em;
}

p {
    font-size: 1em;
    margin-bottom: 15px;
}


/* Header */
header.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    position: sticky;
    max-width: 1200px;
    padding: 0 30px;
}

.fixed {
    width: 100%;
    z-index: 2;
}

.sticky {
    position: sticky;
    top: 0;
    background-color: var(--dark);
    z-index: 3;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

.header {
    color: var(--secondary);
}

.header__logo {
    width: 130px;
}


/* Invertire colore logo */
.header__logo img {
    filter: invert(1);
}

header.header a {
    color: var(--light);
}

.header__menu .site-nav>li {
    display: inline-block;
    padding: 20px;
}

.header__menu .site-nav>li a:hover {
    color: var(--accent);
}

.header__cta .button {
    display: block;
    text-align: center;
    padding: 8px 15px;
    border-radius: 10px;
    background: #E3D024;
    color: var(--secondary);
    font-weight: 700;
    transition: 0.3s ease;
}

.header__cta .button:hover {
    background-color: var(--light);
}

.header__icon {
    display: none;
}

a,
button {
    transition-delay: 0.1s;
}

button:hover {
    animation: slow-down 0.3s ease forwards;
}

@keyframes slow-down {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0.9);
    }
}


/* Hero */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    padding-top: 120px;
    padding-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero__content {
    z-index: 1;
    color: var(--light);
    max-width: 500px;
}

.hero__content h1 {
    padding-bottom: 20px;
    padding-bottom: 10px;
}

.hero__content h3 {
    padding-bottom: 50px;
}

.hero img {
    border-radius: 20px;
}

.hero__cta .button {
    text-align: center;
    padding: 8px 15px;
    border-radius: 10px;
    background: #E3D024;
    font-weight: 700;
    color: var(--secondary);
    transition: 0.3s ease;
}

.hero__cta .button:hover {
    background-color: var(--light);
}


/* Social Proof */
.social_proof {
    display: flex;
    max-width: 1920px;
    /* justify-content: center; */
    align-items: center;
    gap: 50px;
    padding: 70px 0px 70px 0px;
    overflow: hidden;
    margin: 0 auto;
}

.carousel {
    display: flex;
    animation: scroll 110s linear infinite;
}

.carousel_container {
    white-space: nowrap;
}

.carousel img {
    max-width: 400px;
    height: auto;
    flex: 0 0 auto;
    padding: 0px 30px;
}

.carousel img:hover {
    transition: scroll 0.3s ease;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Section */
.service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    padding-bottom: 80px;
}


.service__content {
    max-width: 500px;
    margin-top: 30px;
}

.service__content h3 {
    padding-bottom: 18px;
    color: #E3D024;
}

.service__content h2 {
    padding-bottom: 50px;
    color: var(--light);
    font-family: "Martel", serif;
}

.service__content p {
    color: var(--tertiary);
}

.service img {
    border-radius: 20px;
}







/* Cards case studies */
.content__filmography {
    padding: 0px 30px;
    padding-bottom: 80px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 40px;
}

.card {
    border-radius: 10px;
    background-color: var(--dark);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 0 0 10px 10px;
}

.card h2 {
    font-family: "Martel", serif;
}

.card h3 {
    padding-bottom: 30px;
}

.card p {
    line-height: 150%;
}

.card-content {
    padding: 35px 35px 45px 35px;
    color: var(--tertiary);
}

.card-content h2 {
    color: var(--light);
}

/* Testimonial */
.content__testimonials {
    padding: 0px 30px;
}

.quote_card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 30px;
    background-color: #000000;
    border-radius: 10px;
    margin-bottom: 150px;
}

.quote_image {
    display: flex;
}

.quote_image img {
    width: 250px;
    height: 250px;
}

.quote_content {
    max-width: 780px;
    color: var(--light);
}

.quote_content h4 {
    margin-top: 20px;
}

.director__name {
    display: flex;
    color: var(--tertiary);
    margin-top: 25px;
    flex-direction: column;
}


/* Form */
.content__cta {
    text-align: center;
    padding: 100px 0px 0px 0px;
    background-color: var(--primary);
    color: var(--light);
}

.text__cta h3 {
    padding-bottom: 50px;
    padding-top: 20px;
}

.content__cta .button {
    text-align: center;
    padding: 16px 40px;
    border-radius: 10px;
    background: #E3D024;
    color: var(--secondary);
    font-weight: 700;
}

.content__cta .button:hover {
    color: var(--primary);
}

#mc_embed_signup_scroll h2 {
    font-family: "Martel", serif;
    font-style: normal;
    font-size: 1em;
    color: var(--accent);
}

#mc_embed_signup {
    max-height: auto;
    max-width: auto;
    border-radius: 20px;
    padding: 20px;
}

.mc-field-group label {
    font-family: "Martel", serif;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 1.3em;
}

/* Popup */
.content__newsletter {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0px 0px 100px 0px;
    background-color: var(--primary);
    color: var(--dark);
}

button {
    display: block;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 1.05em;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 10px;
    border: 0;
    background: #E3D024;
    color: var(--secondary);
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background-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: 4;
}

.popup {
    color: var(--micro);
    width: 100%;
    max-width: 500px;
    padding-inline-start: 15px;
    z-index: 4;
    position: relative;
    margin: 5% auto;
}

.popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}


/* Back to top */
.backtotop {
    text-align: right;
    padding: 50px 0px 30px 0px;
}


/* Footer */
footer {
    background-color: var(--dark);
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 60px;
    color: var(--light);
    padding: 50px 30px;
}


.footer__nav__bio {
    display: flex;
    flex-direction: column;
    grid-column: 1 / 3;
    grid-row: 1;
    gap: 20px;
}

.footer__nav__bio img {
    width: 130px;
}

#footer__social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    font-size: 35px;
}

.footer__nav_services {
    display: flex;
    flex-direction: column;
    grid-column: 3/4;
    grid-row: 1;
}

.footer__nav_contacts {
    display: flex;
    flex-direction: column;
    grid-column: 4/5;
    grid-row: 1;
}

.footer__nav__services li {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav__services li a {
    color: var(--tertiary);

}

.footer__nav__services li a:hover {
    color: var(--accent);
}

.footer__nav__contacts li {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav__contacts li a {
    color: var(--tertiary);
}

.footer__nav__contacts li a:hover {
    color: var(--accent);
}

#footer__title {
    font-weight: 600;
    color: var(--light);
}

.footer__data {
    padding: 40px 30px 0px 30px;
    padding-bottom: 50px;
}

.footer__data p {
    font-size: 0.8em;
}

.footer__policy a {
    font-size: 0.8em;
}

.footer__policy {
    padding: 25px 0px;
}

.footer__policy {
    display: flex;
    justify-content: space-between;
    color: var(--light);
}

.footer__policy,
.policy__links a,
.design__by {
    color: var(--tertiary);
}




/* -------------------------------------------------------------------------------- */
/* ! Media query medium */
/* -------------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .header {
        padding: 0px 30px;
    }

    .header__icon {
        display: block;
        color: var(--light);
        text-align: center;
        z-index: 3;
    }

    .header__logo {
        z-index: 3;
    }

    .header__menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--primary);
        transform: translateY(-100%);
        transition: var(--micro);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    header.header a {
        font-family: "Inter", sans-serif;
        font-size: 35px;
    }

    .header__cta .button {
        font-size: 1em;
    }

    /* Hero medium*/
    .hero {
        display: flex;
        flex-direction: column;
        padding: 0px 30px;
        gap: 50px;
        margin: 0 auto;
    }

    .hero__content h1 {
        font-size: 1.8em;
        padding-bottom: 10px;
        padding-top: 40px;
    }

    .hero__content h3 {
        font-size: 1.1em;
    }

    .hero__content {
        margin-bottom: 0px;
        max-width: 600px;
    }

    .hero__cta {
        display: flex;
        flex-direction: column;
        max-width: 150px;
    }

    /* Socila proof medium*/
    .social_proof {
        padding: 70px 0px 50px 0px;
    }

    .carousel img {
        animation: scroll 120s linear infinite;
        height: auto;
    }


    /* Services medium */
    .service {
        flex-direction: column;
        padding: 0px 30px;
        padding-bottom: 80px;
    }

    .service h2 {
        padding-bottom: 36px;
    }

    .service__content {
        padding-bottom: 30px;
        max-width: 600px;
    }

    .service__content {
        padding-top: 45px;
    }

    .service__content p {
        line-height: 150%;
    }

    .service__content h2 {
        line-height: 150%;
        font-size: 1.4em;
    }


    /* Filmography medium */
    .grid-container {
        padding-bottom: 80px;
    }

    .content__filmography h2 {
        font-size: 25px;
    }


    /* Testimonial medium */
    .quote_card {
        flex-direction: column;

    }

    .quote_content {
        margin: 0px 50px;
        margin-left: 25px;
    }

    .director__name {
        padding-top: 20px;
        flex-direction: column;
        margin-top: 15px;
    }

    .section__title {
        padding: 70px 0px 50px 0px;
    }

    .director__name h3 {
        font-size: 18px;
    }

    .content__testimonials h2 {
        font-size: 25px;
    }

    .content__testimonials h4 {
        font-size: 20px;
    }


    /* Form medium */
    #mc_embed_signup {
        max-height: auto;
        max-width: 500px;
        border-radius: 20px;
        padding: 20px;
    }

    .text__cta h1 {
        font-size: 32px;
        padding: 0px 20px;
    }

    .text__cta h3 {
        padding-bottom: 0px;
        font-size: 19px;
        padding: 20px 20px;
    }


    #mc_embed_signup h2 {
        margin: 0px;
    }

    .content__newsletter {
        padding-top: 10px;
    }

    /* Footer medium*/
    .footer__nav {
        display: flex;
        flex-direction: column;
        padding: 50px 30px;
        margin-top: 50px;
    }

    .footer__data {
        padding: 0px 30px;
        padding-bottom: 50px;
    }

    .footer__policy {
        display: flex;
        flex-direction: column;
    }

    /* Hamburger medium*/
    .icon-hamburger {
        cursor: pointer;
        height: 20px;
        width: 40px;
        position: relative;
        transition: var(--micro);
    }

    .icon-hamburger span {
        background: var(--light);
        height: 2px;
        width: 100%;
        position: absolute;
        left: 0;
        border-radius: 20px;
        transition: var(--micro);
    }

    .icon-hamburger span:nth-child(1) {
        top: 0;
        opacity: 1;
    }

    .icon-hamburger span:nth-child(2),
    .icon-hamburger span:nth-child(3) {
        top: 10px;
        width: 70%;
        left: 5px;
    }

    .icon-hamburger span:nth-child(4) {
        top: 20px;
        opacity: 1;
    }

    /* hamburger in open */
    .open .icon-hamburger {
        transform: rotate(180deg);
    }

    .open .icon-hamburger span:nth-child(1),
    .open .icon-hamburger span:nth-child(4) {
        width: 0;
        opacity: 0;
    }

    .open .icon-hamburger span:nth-child(2) {
        transform: rotate(45deg);
        width: 100%;
    }

    .open .icon-hamburger span:nth-child(3) {
        transform: rotate(-45deg);
        width: 100%;
    }

    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        padding: 25px;
        font-size: 2em;
    }

    /* Richiamo la classe in base al click */
    .open .header__menu {
        transform: translateY(0);
    }
}


/* -------------------------------------------------------------------------------- */
/* ! dispositvi piccoli */
/* -------------------------------------------------------------------------------- */

@media (max-width: 576px) {
    #specialeffects {
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    .header__cta {
        display: none;
    }

    .header__menu {
        z-index: 2;
    }

    .header__menu .site-nav>li a:hover {
        color: var(--dark);
    }

    .hero__content h1 {
        font-size: 1.8em;
    }

    .hero__content h3 {
        font-size: 1.1em;
    }

    .hero__content p {
        font-size: 1em;
    }

    .hero {
        display: flex;
        flex-direction: column;
        padding-top: 50px;
        gap: 50px;
        /* max-width: 382px; */
    }

    .hero__cta {
        display: flex;
        flex-direction: column;
    }


    .carousel {
        max-width: 20%;
        animation: scroll 60s linear infinite;
        display: flex;
        animation: carouselAnimationMobile 30s infinite linear;
    }

    @keyframes carouselAnimationMobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    .carousel img {
        max-width: 300px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .service {
        padding: 0 30px;
        padding-bottom: 25px;
    }

    .section__title {
        padding-top: 25px;
        padding: 70px 0px 50px 0px;
    }




    .card {
        margin-bottom: 20px;
    }

    .quote-card {
        flex-direction: column;
        padding: 50px 15px;
    }

    .quote_content {
        padding-top: 15px;
    }

    .quote-image {
        margin-bottom: 20px;
    }

    .quote-image img {
        width: 80px;
        height: 80px;
    }

    .content__cta {
        padding: 50px 40px;
    }

    .content__cta h1 {
        font-size: 35px;
    }

    .content__cta h3 {
        font-weight: 300;
        padding-bottom: 0px;
    }

    /* Popup mobile*/
    #mc_embed_signup {
        max-width: 320px;
        margin: 0 auto;
    }

    .content__newsletter {
        padding: 0px 0px 80px 0px;
    }

    #mc_embed_signup h2 {
        margin: 0px;
    }

    /* Footer mobile */
    .footer__nav {
        display: flex;
        flex-direction: column;
    }

    .footer__policy {
        display: flex;
        flex-direction: column;
    }

    .footer__data {
        padding-bottom: 50px;
    }
}



/* ! Mailchimp */
#mc_embed_signup form {
    display: block;
    position: relative;
    text-align: left;
    margin: 20px
}

#mc_embed_signup h2 {
    padding: 0;
    margin: 0px;
}

#mc_embed_signup input {
    -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: #9f1818;
} */

#mc_embed_signup .button {
    clear: both;
    background-color: var(--dark);
    border: 0 none;
    transition: all 2s ease-in-out 0s;
    color: var(--light);
    cursor: pointer;
    display: inline-block;
    font-size: 25px;
    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;
}

#mc_embed_signup .button:hover {
    background-color: var(--dark);
    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%;
}

#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 .clear {
    clear: both;
}

#mc_embed_signup .foot {
    display: grid;
    grid-template-columns: 2fr 2fr;
    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: 4;
    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: 4;
}

#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: 4;
    color: var(--primary);
}

#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
    border: 2px solid var(--primary);
}

#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;
}