/* tavolozza colore */
:root {
    --primary: #f0c73e;
    --secondary: #615583;
    --accente: #394a3a;
    --light: #ecf2b2;
    --dark: #4d4e61;
}

.circle {
    position: relative;
    height: 300px;
    width: 300px;
    background-color: var(--accente);
    border-radius: 50%;
    z-index: -1;
}

/* reset */
* {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

a,
img,
button,
.fa-solid {
    display: block;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

body,
header {
    max-width: 1550px;
    overflow-x: hidden;
}

.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    padding: 40px;
}

.grid-light {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

/* foto autore */

.res {
    width: 100%;
    max-width: 400px;
    box-shadow: 10px 5px 5px #2d2d2dcf;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
    color: var(--dark);
}

p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14pt;
    /* width: 600px; */
}

header {
    position: fixed;
    width: 100%;
    background: var(--light);
    color: var(--dark);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
    font-family: 'Raleway', sans-serif;
    padding: 5px;
    transition: 0.5s cubic-bezier(0, .37, .46, .98);
    z-index: 4;
}

/* menu */

.cover__logo {
    margin-left: 30px;
    background: url(img/Mimesislogo.png) no-repeat center center;
    background-size: contain;
    width: 15vw;
    height: 100%;
}

.cover__logo h1 {
    font-size: 4vw;
    color: var(--dark);
}

.nav-toggle-btn .fa-solid {
    color: var(--secondary);
    margin-right: 40px;
}

.nav-toggle-btn.active .open,
.nav-toggle-btn .close {
    display: none;
}

.nav-toggle-btn .open,
.nav-toggle-btn.active .close {
    display: block;
}

.cover__menu {
    width: 100%;
    height: 100%;
    order: 3;
    visibility: hidden;
}

.cover__menu a {
    font-size: 30px;
    color: var(--secondary);
}

.active .cover__menu {
    visibility: visible;
}

.cover.active {
    height: 100vh;
}

section {
    background: var(--light);
    /* padding: 15px; */
}

/* Hero */
.hero {
    height: 100vh;
    background: transparent;
    display: flex;
    /* gap: 40px; */
}

.hero__cover {
    background: url(img/Light-part.jpg) no-repeat center center;
    background-size: cover;
}

.hero__coverII {
    background: url(img/Dark-part.jpg) no-repeat center center;
    background-size: cover;
}

.cta-group {
    font-size: 2em;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta__primary,
.cta__secondary {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 700;
}

.cta__primary {
    background: var(--secondary);
    color: var(--light);
    border: 2px solid var(--secondary);
}

.cta__secondary {
    background: var(--light);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta__secondary:is(:hover, :focus) {
    background: transparent;
    color: var(--accente);
    border: 2px solid var(--accente);
}

button {
    font-size: 2.3vw;
    color: var(--light);
    font-family: 'Raleway', sans-serif;
}

/* Sinossi */

.content__sinossi {
    background: none;
    height: 100%;
    margin-top: 10vw;
}

.content__sinossi h2 {
    font-size: 3vw;
    grid-column: 1/2;
}

.sinossi__text {
    grid-column: 3/8;
    height: 100%;
    gap: 20px;
    display: flex;
    flex-direction: column;
    padding-bottom: 10vw;
}

.leading {
    width: 100%;
}

/* Capitoli */

.content__cap {
    background: none;
}

.cap {
    grid-column: 1/5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    background: var(--light);
    padding-top: 5vw;
    padding-bottom: 5vw;
}

.capII {
    grid-column: 5/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    background: var(--dark);
    padding-top: 5vw;
    padding-bottom: 5vw;
}

.capII h2,
.capII h3 {
    color: var(--light);
}

.content__cap h2 {
    font-size: 3vw;
}


/* Autore */

.content__autore {
    background: none;
    height: 100%;
}

.content__autore h2 {
    font-size: 3vw;
    grid-column: 1/3;
    margin-bottom: 30px;
}

.clip {
    background: url(img/kandisky.png) no-repeat center center;
    background-size: contain;
    /* height: 100%; */
    clip-path: circle();
    grid-column: 1/5;
    /* height: 100%; */
}

.autore__vita {
    grid-column: 5/8;
}

.autore__vita h3 {
    margin-bottom: 30px;
}

.leadinga {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: 30px;
}

/* Footer */

footer {
    background: var(--accente);
}

.back {
    height: 100%;
    display: flex;
    justify-content: left;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 2.2em;
    gap: 10vw;
    padding: 30px;
    justify-content: center;
    background: var(--accente);
}

.back li {
    color: var(--light);
}

.back a {
    font-size: 11pt;
    color: white;
}

/* ? Tabbar  */

.tabbar {
    width: 100%;
    position: relative;
    /*lo posizione in maniera relativa in modo da poter gestire all interno ulteriori elementi con posizionamento assoluto*/
}

.tabbar__menu {
    display: flex;
    justify-content: center;
    /* position: absolute; */
    bottom: 0;
    width: 100%;
    height: 98px;
    background: transparent;
    padding-top: 35px;

}

.tabbar li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin: 0 5px;
    height: 60px;
    width: 60px;
}

.tabbar a {
    font-size: 2em;
    color: var(--light);
    border-radius: 100%;
    background: var(--accente);
    padding: 15px;
}

.tabbar a:is(:hover, :focus) {
    font-size: 3em;
    transform: translateY(-20px);
    transition: 0.6s cubic-bezier(0, .68, .46, .98);
}

/* media query Small */

@media (max-width: 444px) {

    .grid {
        padding: 30px;
    }

    .cover {
        /* height: 60px; */
        height: 20vw;
        padding-bottom: 10px;
        display: flex;
        align-items: center;
    }

    .cover__logo {
        margin-left: 10px;
        margin-top: 5vw;
        width: 40vw;
        height: 10vw;
    }

    .cover__logo h1 {
        font-size: 10vw;
    }

    .cover__hamburger {
        margin-top: 5vw;
    }

    .nav-toggle-btn .fa-solid {
        font-size: 12vw;
    }

    .cover__menu a {
        margin-top: 50px;
    }

    .mainmenu {
        margin-top: 20%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero {
        position: relative;
        display: flex;
        flex-direction: column;
        padding-top: 20vw;
        height: 100%;
    }

    .hero__cover,
    .hero__coverII {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        /* padding-top: 40px;
        padding-bottom: 40px; */
    }

    .hero img {
        margin-left: auto;
        margin-right: auto;
    }

    .content__sinossi {
        height: 100%;
        position: relative;
    }

    .sinossi__text {
        grid-column: 1/9;
    }

    .content__sinossi h2 {
        font-size: 8vw;
    }

    .content__sinossi p {
        font-size: 5vw;
    }

    .cap,
    .capII {
        grid-column: 1/9;
        gap: 10px;
        text-align: center;
    }

    .content__cap h2 {
        font-size: 8vw;
        margin-bottom: 50px;
    }

    .content__cap h3 {
        font-size: 4vw;
        margin-bottom: 8%;
        width: 60%;
    }

    .content__autore h2 {
        font-size: 8vw;
        margin-bottom: 0px;
    }

    .content__autore p {
        font-size: 5vw;
    }

    .clip {
        grid-column: 2/8;
        height: 80vw;
    }

    .autore__vita {
        grid-column: 1/9;
    }

    .content__newsletter h2 {
        font-size: 8vw;
    }

    #mc_embed_signup {
        grid-column: 1/8;
    }

    .back {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .back li {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .back ul {
        margin-top: 5px;
    }

    .backsu,
    .back2,
    .back3 {
        width: 60vw;

    }

    .btt {
        display: none;
    }
}

@media screen and (min-width: 444px) and (max-width: 767px) {

    .cover {
        height: 60px;
        display: flex;
        align-items: center;
    }

    .cover__logo {
        width: 30vw;
        height: 10vw;
    }

    .cover__logo h1 {
        font-size: 5vw;
    }

    .nav-toggle-btn .fa-solid {
        font-size: 6vw;
    }

}


@media (max-width: 767px) {


    .cover__menu nav {
        height: 100%;
    }

    .cover__menu a {
        margin-top: 50px;
    }

    .mainmenu {
        margin-top: 20%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero img {
        margin-left: auto;
        margin-right: auto;
    }

    .sinossi__text {
        grid-column: 1/9;
    }

    #mc_embed_signup {
        grid-column: 1/8;
    }

    .res {
        width: 70%;
    }

    .back li {
        font-size: 50%;
    }
}

/* media query Medium */
@media (min-width: 767px) {

    .cover,
    .cover.active {
        height: 80px;
        align-items: center;
    }

    .cover__menu {
        all: unset;
    }

    .mainmenu {
        margin-right: 50px;
    }

    .mainmenu li {
        display: inline-block;
        margin: 18px;
    }

    .cover__hamburger {
        display: none
    }

    .hero {
        flex-direction: row;
    }

    .hero__cover,
    .hero__coverII {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50%;
        height: 100%;
    }

    .hero figure {
        margin-top: 5vw;
    }

    /* .hero__cover img {
        margin: 5px auto;
    } */

    .content__newsletter h2 {
        font-size: 3vw;
    }

    #mc_embed_signup {
        grid-column: 3/8;
    }
}

/* Media query Large */

@media (min-width: 992px) {
    .container {
        display: flex;
        flex-direction: column;
    }

    .container {
        height: 100%;
    }

    .cta__primary:is(:hover, :focus) {
        background: var(--light);
        color: var(--accente);
        border: 2px solid var(--accente);
    }

    button:is(:hover, :focus) {
        color: var(--dark);
    }

}

@media (max-width: 992px) {

    .hero {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .hero__cover,
    .hero__coverII {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    button {
        font-size: 6vw;
    }

    .content__cap {
        text-align: center;
    }

    .content__cap h3 {
        width: 80%;
    }

    .clip {
        grid-column: 2/8;
        height: 50vw;
    }

    .autore__vita {
        grid-column: 1/9;
    }

}

@media screen and (min-width: 444px) and (max-width: 992px) {

    .hero {
        padding-top: 80px;
    }
}






/* ! Questa parte è relativa a mailchimp */
/* MailChimp Form Embed Code - Classic - 12/17/2015 v10.7 */

.content__newsletter {
    margin-top: 5vw;
}


#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: var(--secondary);
    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: 100%;
    padding-bottom: 3%;
    min-height: 50px;
}

#mc_embed_signup .size1of2 {
    clear: none;
    float: left;
    display: inline-block;
    width: 100%;
    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;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#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;
}

#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;
}