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

a {
    text-decoration: none;
}

li {
    list-style-type: none;
}

body {
    background: var(--light);
    font-style: var(--dark);
}

h1 {
    margin: 0;
}

/* Utilità */

.res {
    width: 100%;

}

html {
    scroll-behavior: smooth;
}

/* Tavolozza colori */

:root {
    --primary: #660A00;
    --secondary: #e1cec8;
    --accents: #4cb6c2;
    --light: #fdf6f3;
    --dark: #494646;
}

/* Tipografia */
body {
    font-family: "Roboto", sans-serif;
}

/* 
La Dark Mode
body.dark section {
    background: var(--dark);
    color: var(--light);
} */

.title,
.subtitle,
.headline {
    font-family: "Lexend", sans-serif;
}

.title {
    font-size: 120px;
}

.subtitle {
    font-size: 60px;
}

.headline {
    font-size: 30px;
}

p {
    font-size: 1.3em;
    line-height: 1.3em;
}

/* Macro */
.wrapper {
    width: 100%;
    margin: 0 auto;
}

section {
    /* serve a sommare nel margine in alto la testata fixed */
    scroll-margin-top: 60px;
}


/* Header */

.fixed {
    position: fixed;
    background: var(--secondary);
    width: 100%;
    z-index: 3;
}

.header {
    position: relative;
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    height: 130px;
}

.header__logo,
.header__menu,
.header__cta {

    margin-bottom: 20px;
}

.header__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__cta,
.header__logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__menu {
    display: flex;
    justify-content: center;
    font-family: Montserrat;
    font-weight: 700;
}

.header__logo {
    margin-top: 20px;
}



/* Navigazione primaria */
.site-nav li {
    display: inline-block;
}

.site-nav a {
    padding: 20px;
    color: var(--dark);
}

/* Cover */

.cover {
    background: var(--dark) url(img/05museum-labels-2-superJumbo.webp) no-repeat center center;
    height: 100vh;
    background-size: cover;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover::before {
    content: ' ';
    width: 100%;
    height: 100%;
    background: var(--light);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.7;
    z-index: 1;

}

.cover__content {
    position: relative;
    z-index: 2;
    color: var(--dark);
    text-align: center;
    font-family: Montserrat;
}


/* -------------------------------------------------------------------------------- */
/* ! Grid System */
/* -------------------------------------------------------------------------------- */

.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid h2 {
    grid-column: 4/6;
    text-align: center;
    margin-top: 80px;
    color: var(--dark);
    margin-bottom: 40px;
}

.evento-arti_text {
    grid-column: 5/8;
    margin-top: 50px;
    font-size: 0.9em;
    color: var(--dark);
    grid-row: 2;
    margin-left: 40px;
}

.evento-arti_img {
    grid-column: 1/5;
    max-width: 100%;
    grid-row: 2;
}

.button-fondazione {
    margin-left: 20px;
    grid-column: 5/7;
    grid-row: 2;
    margin-top: 300px;
    padding: 20px;
    height: fit-content;
    color: var(--accents);
}

.button-fondazione:is(:hover, :focus) {
    background-color: var(--accents);
    color: var(--light);
}

.button-founder {
    margin-left: 20px;
    grid-column: 5/7;
    grid-row: 2;
    margin-top: 370px;
    padding: 20px;
    height: fit-content;
    color: var(--accents);
}

.button-founder:is(:hover, :focus) {
    background-color: var(--accents);
    color: var(--light);
}

.button-archive {
    margin-left: 20px;
    grid-column: 5/7;
    grid-row: 2;
    margin-top: 440px;
    padding: 20px;
    height: fit-content;
    color: var(--accents);
}

.button-archive:is(:hover, :focus) {
    background-color: var(--accents);
    color: var(--light);
}

.button-spes {
    margin-left: 20px;
    grid-column: 5/7;
    grid-row: 2;
    margin-top: 510px;
    padding: 20px;
    height: fit-content;
    color: var(--accents);
}

.button-spes:is(:hover, :focus) {
    background-color: var(--accents);
    color: var(--light);
}

.evento-due_img1 {
    grid-column: 1/3;
    grid-row: 2;
}

.evento-due_img2 {
    grid-column: 3/5;
    grid-row: 2;
}

.evento-due_img3 {
    grid-column: 5/7;
    grid-row: 2;
}

.evento-due_img4 {
    grid-column: 7/9;
    grid-row: 2;
}

.evento-due_img5 {
    grid-column: 1/3;
    grid-row: 3;
}

.evento-due_img6 {
    grid-column: 3/5;
    grid-row: 3;
}

.evento-due_img7 {
    grid-column: 5/7;
    grid-row: 3;
}

.button-ricerche {
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    grid-column: 7/9;
    grid-row: 3;
    margin-top: 100px;
    padding: 20px;
    height: fit-content;
    color: var(--accents);
}

.button-ricerche:is(:hover, :focus) {
    background-color: var(--accents);
    color: var(--light);
}


.evento-punk_img {
    grid-column: 2/5;
    max-width: 420px;
    align-items: center;
}

.evento-punk_text {
    grid-column: 5/8;
    margin-top: 50px;
    font-size: 0.9em;
    color: var(--dark);
    grid-row: 2;
    margin-left: 40px;
}

.button-riviste {
    width: fit-content;
    align-items: center;
    justify-content: center;
    grid-column: 5/7;
    grid-row: 2;
    margin-top: 510px;
    padding: 20px;
    height: fit-content;
    color: var(--accents);
    margin-left: 60px;
}

.button-riviste:is(:hover, :focus) {
    background-color: var(--accents);
    color: var(--light);
}

.button-arte {
    width: fit-content;
    align-items: center;
    justify-content: center;
    grid-column: 7/9;
    grid-row: 2;
    margin-top: 510px;
    padding: 20px;
    height: fit-content;
    color: var(--accents);
    margin-left: -80px;
}

.button-arte:is(:hover, :focus) {
    background-color: var(--accents);
    color: var(--light);
}

/* Newsletter */

.content__newsletter {
    padding-top: 100px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.content__newsletter h2 {
    color: var(--accents);
}

.footer__newsletter__form {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bottone__bianco {
    border: 1px solid var(--dark);
    background: var(--light);
    color: var(--dark);
    font-family: Montserrat;
}

.bottone__nero {
    border: 1px solid var(--light);
    background: var(--accents);
    color: var(--light);
    font-family: Montserrat;
}


.gs-small {
    font-family: Montserrat;
    font-size: 0.9em;
    width: 70%;
    text-align: center;
    margin: auto;
    color: var(--dark);
}

#iscriviti {
    width: 80%;
    height: 3.75rem;
    text-align: center;
    text-indent: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.75rem;
    box-sizing: border-box;
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: 20px;
    cursor: pointer;
}


/* Footer */

footer {
    background: var(--dark);
    height: 400px;
}

.footer__logo {
    padding-top: 30px;
    justify-content: center;
    display: flex;
}

footer * {
    background-color: var(--secondary);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: var(--dark);
    justify-content: space-between;
    padding: 0px;


}

.footer__logo {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
}

.footer__menu {

    color: var(--light);
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.footer__editore {
    justify-content: center;
    gap: 30px
}

.footer__editore h4 {
    width: 100%;
    justify-content: center;
    margin-top: 40px;
    font-family: Montserrat;
}

.actessud {

    gap: 20px;
    margin-bottom: 70px;
    width: 50%;
    text-align: center;

}

.social {
    justify-content: center;

}

.social__link {
    gap: 60px;
    margin-bottom: 70px;
}

footer hr {
    display: block;
    border: 1px;
    height: 1px;
    background-color: var(--light);
}

.container__legal {
    display: flex;
    align-items: center;
    flex-direction: row;
    text-align: left;
    font-size: 0.7em;
    gap: 10px;
    padding: 30px;
}

.legal__info2 {
    font-size: 0.7em;
    padding: 30px;
}

/* -------------------------------------------------------------------------------- */
/* ! Media Query Mobile*/
/* -------------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .header__icon {
        display: flex;
        color: var(--dark);
        z-index: 4;
        margin-left: 40px;
    }

    .header__logo {
        width: 100%;
    }

    .header {
        height: fit-content;
        display: flex;
    }

    .header__menu {
        background: rgba(241, 221, 213, 0.8);
        position: fixed;
        top: 20;
        left: 20;
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        transition: 0.5s cubic-bezier(.64, .02, .39, .99);
        z-index: 4;
    }

    body.open .header__menu {
        transform: translateX(0);
    }

    /* Hamburger */
    .icon-hamburger {
        cursor: pointer;
        width: 1.5em;
        height: 1.5em;
        position: relative;
        transition: 0.5s cubic-bezier(.17, .67, .37, .97);

    }

    .icon-hamburger span {
        display: block;
        position: absolute;
        left: 0;
        height: 2px;
        width: 100%;
        background: var(--light);
    }

    .icon-hamburger span:nth-child(1) {
        top: 0;
    }

    .icon-hamburger span:nth-child(2),
    .icon-hamburger span:nth-child(3) {
        top: 10px;
        width: 60%;
    }

    .icon-hamburger span:nth-child(4) {
        top: 20px;
    }

    /* Hamburger in apertura */
    .open .icon-hamburger {
        transform: rotate(180deg);
    }

    .open .icon-hamburger span:nth-child(1),
    .open .icon-hamburger span:nth-child(4) {
        width: 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;
        height: 100%;
    }

    .site-nav li {
        margin-bottom: 3em;
    }

    .site-nav a {
        border: none;
        font-size: 2em;
        text-transform: uppercase;
    }

    /* grid system mobile */

    .grid {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        gap: 10px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .grid h2 {
        grid-column: 4/6;
        text-align: center;
        margin-top: 80px;
        color: var(--dark);
        margin-bottom: 40px;
        grid-row: 1;
    }

    .evento-arti_text {
        grid-column: 2/8;
        margin-top: 50px;
        font-size: 0.9em;
        color: var(--dark);
        grid-row: 3;
        margin-left: 40px;
    }

    .evento-arti_img {
        grid-column: 3/7;
        max-width: 100%;
        grid-row: 2;
    }

    .button-fondazione {
        margin-left: 20px;
        grid-column: 2/5;
        grid-row: 4;
        margin-top: 0px;
        padding: 20px;
        height: 40px;
        color: var(--accents);
    }

    .button-fondazione:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .button-founder {
        margin-left: 20px;
        grid-column: 5/8;
        grid-row: 4;
        margin-top: 0px;
        padding: 20px;
        height: 40px;
        color: var(--accents);
    }

    .button-founder:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .button-archive {
        margin-left: 20px;
        grid-column: 2/5;
        grid-row: 5;
        margin-top: 0px;
        padding: 20px;
        height: 40px;
        color: var(--accents);
    }

    .button-archive:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .button-spes {
        margin-left: 20px;
        grid-column: 5/8;
        grid-row: 5;
        margin-top: 0px;
        padding: 20px;
        height: 40px;
        color: var(--accents);
    }

    .button-spes:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .evento-due_img1 {
        grid-column: 1/3;
        grid-row: 2;
    }

    .evento-due_img2 {
        grid-column: 3/5;
        grid-row: 2;
    }

    .evento-due_img3 {
        grid-column: 5/7;
        grid-row: 2;
    }

    .evento-due_img4 {
        grid-column: 7/9;
        grid-row: 2;
    }

    .evento-due_img5 {
        grid-column: 1/3;
        grid-row: 3;
    }

    .evento-due_img6 {
        grid-column: 3/5;
        grid-row: 3;
    }

    .evento-due_img7 {
        grid-column: 5/7;
        grid-row: 3;
    }

    .button-ricerche {
        width: fit-content;
        align-items: center;
        justify-content: center;
        margin-left: 0px;
        grid-column: 7/9;
        grid-row: 3;
        margin-top: 0px;
        padding: 20px;
        height: fit-content;
        color: var(--accents);
    }

    .button-ricerche:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }


    .evento-punk_img {
        grid-column: 2/5;
        max-width: 420px;
        align-items: center;
    }

    .evento-punk_text {
        grid-column: 2/8;
        margin-top: 50px;
        font-size: 0.9em;
        color: var(--dark);
        grid-row: 3;
        margin-left: 0px;
    }

    .button-riviste {
        width: fit-content;
        align-items: center;
        justify-content: center;
        grid-column: 5/9;
        grid-row: 2;
        margin-top: 0px;
        padding: 20px;
        height: fit-content;
        color: var(--accents);
        margin-left: 60px;
    }

    .button-riviste:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .button-arte {
        width: fit-content;
        align-items: center;
        justify-content: center;
        grid-column: 7/9;
        grid-row: 2;
        margin-top: 100px;
        padding: 20px;
        height: fit-content;
        color: var(--accents);
        margin-left: -80px;
    }

    .button-arte:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }


}


/* -------------------------------------------------------------------------------- */
/* ! Media Query Medium*/
/* -------------------------------------------------------------------------------- */

@media (max-width: 1140px) {

    /* grid system Medium */

    .grid {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        gap: 10px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px;
    }

    .grid h2 {
        grid-column: 4/6;
        text-align: center;
        margin-top: 80px;
        color: var(--dark);
        margin-bottom: 40px;
        grid-row: 1;
    }

    .evento-arti_text {
        grid-column: 2/8;
        margin-top: 50px;
        font-size: 0.9em;
        color: var(--dark);
        grid-row: 5;
        margin-left: 40px;
    }

    .evento-arti_img {
        grid-column: 3/7;
        max-width: 100%;
        grid-row: 2;
    }

    .button-fondazione {
        margin-left: 20px;
        grid-column: 2/5;
        grid-row: 3;
        margin-top: 0px;
        padding: 20px;
        height: 40px;
        color: var(--accents);
        text-align: center;
    }

    .button-fondazione:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .button-founder {
        margin-left: 20px;
        grid-column: 5/8;
        grid-row: 3;
        margin-top: 0px;
        padding: 20px;
        height: 40px;
        color: var(--accents);
        text-align: center;
    }

    .button-founder:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .button-archive {
        margin-left: 20px;
        grid-column: 2/5;
        grid-row: 4;
        margin-top: 0px;
        padding: 20px;
        height: 40px;
        color: var(--accents);
        text-align: center;
    }

    .button-archive:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .button-spes {
        margin-left: 20px;
        grid-column: 5/8;
        grid-row: 4;
        margin-top: 0px;
        padding: 20px;
        height: 40px;
        color: var(--accents);
        text-align: center;
    }

    .button-spes:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .evento-due_img1 {
        grid-column: 1/3;
        grid-row: 2;
    }

    .evento-due_img2 {
        grid-column: 3/5;
        grid-row: 2;
    }

    .evento-due_img3 {
        grid-column: 5/7;
        grid-row: 2;
    }

    .evento-due_img4 {
        grid-column: 7/9;
        grid-row: 2;
    }

    .evento-due_img5 {
        grid-column: 1/3;
        grid-row: 3;
    }

    .evento-due_img6 {
        grid-column: 3/5;
        grid-row: 3;
    }

    .evento-due_img7 {
        grid-column: 5/7;
        grid-row: 3;
    }

    .button-ricerche {
        width: fit-content;
        align-items: center;
        justify-content: center;
        margin-left: 0px;
        grid-column: 7/9;
        grid-row: 3;
        margin-top: 0px;
        padding: 20px;
        height: fit-content;
        color: var(--accents);
        text-align: center;
    }

    .button-ricerche:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }


    .evento-punk_img {
        grid-column: 2/5;
        max-width: 420px;
        align-items: center;
    }

    .evento-punk_text {
        grid-column: 2/8;
        margin-top: 50px;
        font-size: 0.9em;
        color: var(--dark);
        grid-row: 3;
        margin-left: 0px;
    }

    .button-riviste {
        width: fit-content;
        align-items: center;
        justify-content: center;
        grid-column: 6/8;
        grid-row: 2;
        margin-top: 400px;
        padding: 20px;
        height: fit-content;
        color: var(--accents);
        margin-left: 0px;
        text-align: center;
    }

    .button-riviste:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }

    .button-arte {
        width: fit-content;
        align-items: center;
        justify-content: center;
        grid-column: 6/8;
        grid-row: 2;
        margin-top: 460px;
        padding: 20px;
        height: fit-content;
        color: var(--accents);
        margin-left: 0px;
        text-align: center;
    }

    .button-arte:is(:hover, :focus) {
        background-color: var(--accents);
        color: var(--light);
    }


}