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

a {
    text-decoration: none;
    font-weight: 100;
    font-size: 17px;
    color: var(--dark);
}

li {
    list-style-type: none;
}


/* Utilità */
.res {
    width: 100%;
    max-width: 500px;
}

html,
body {
    max-width: 1450px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Tavolozza colore */
:root {
    --primary: #535353;
    --secondary: rgb(223, 223, 223);
    --accent: #ffaa65;
    --light: #fff;
    --dark: #000000;
}

/* Tipografia */
body {
    font-family: Helvetica, Arial, sans-serif;

}

h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 30px;

}

h4 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: 45px;
}

h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 30px;
    padding-bottom: -70px;
}

h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 30px;
}

p {
    padding-top: 20px;
    font-size: 20px;
}




.title {
    font-family: 'Playfair Display', serif;
    font-weight: 100;
}

.subtitle,
.headline {
    font-family: 'helvetica', 'arial', sans-serif;
    font-weight: 100;
}

.title {
    padding-top: 30px;
    font-size: 120px;
}

.subtitle {
    font-size: 60px;
}

.headline {
    font-size: 30px;
    padding-top: 250px;
}

.evento-arti__text a {
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    font-size: 20px;
}

h2 {
    margin-bottom: -40px;
}

h6 {
    margin-bottom: 0px;

}


.evento-punk__txt a {
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    font-size: 20px;
}

.biopaola__txt a {
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    font-size: 20px;
}

.biopaola__txt h2 {
    margin-left: -1px;
}

.evento-arti__text:hover a {
    text-decoration: underline;
    font-weight: 200;
    color: #777777;
}

.evento-punk__txt:hover a {
    text-decoration: underline;
    font-weight: 200;
    color: #777777;
}

.biobaola__txt:hover a {
    text-decoration: underline;
    font-weight: 200;
    color: #777777;
}

/* Macro */
.wrapper {
    width: 100%;
    border: 0px solid red;
    margin: 0 auto;
}

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




/* header */

.fixed {
    position: fixed;
    background: rgb(223, 223, 223);
    width: 100%;
    z-index: 3;
    margin-top: -4px;
}

.header {
    border: 0px solid red;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 100px;
    background: rgb(223, 223, 223);
    margin-top: -4px;

}


.header__menu,
.header__cta {
    border: 0px solid red;
}

.header__icon {
    display: none;
}

.header__cta,
.header__logo {
    width: 130px;
}

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

.site-nav a {
    padding: 20px;
    border: 0px solid var(--light);
    color: var(--primary);

}


.site-nav li a:hover {
    text-decoration: underline;
}

.evento-punk__img {
    height: 400px;
    width: 300px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.biopaola__img {
    height: 400px;
    width: 300px;

    position: relative;
    overflow: hidden;
    margin-top: -280px;
}

.evento-punk__img img {
    height: 400px;
    width: 300px;
    top: 0px;
    left: 0px;
    opacity: 0.2;
    position: absolute;
    transition: all 0.5s;

}

.evento-punk__img img:hover {
    height: 400px;
    width: 300px;
    top: -2px;
    left: -2px;
    opacity: 1;
}

.biopaola__img img {

    width: 300px;
    left: 0px;
    position: absolute;
}

.spaziopaola {
    margin-top: -60px;
}


.button {
    display: block;
    color: var(--primary);
    border: 1px solid var(--light);
    padding: 10px;
    width: 130px;
    text-align: center;

}

/*cover*/
.cover {
    background: var(--dark) url(img/mod3.jpg) no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    border: 0px solid red;
    position: relative;
}

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

.cover__content {
    position: relative;
    z-index: 2;
    color: var(--light);
    border: 0px solid red;
    text-align: center;
}

.subtitle {
    margin-top: -30px;
}

.headline {
    font-weight: 100;
    color: var(--secondary);
    margin-top: 20px;
    margin-right: 200px;
    margin-left: 200px;
}

/* Hamburger */
.icon-hamburger {
    cursor: pointer;
    width: 2em;
    height: 1.5em;

    position: relative;
    transition: 0.5s;
}

.icon-hamburger span {
    display: block;
    position: absolute;
    left: 0;
    height: 2px;
    width: 100%;
    background: #fff;
}

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

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

.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%;
}


.slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    /* regola l'altezza dello slideshow */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 40px;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* nascondi inizialmente tutti i slide */
    transition: opacity 1s ease-in-out;
    /* animazione di dissolvenza */
}

.slide.active {
    opacity: 1.5;
    /* mostra solo il slide attivo */
}

/* -------------------------------------------------------------------------------- */
/* ! GRID SYSTEM */
/* -------------------------------------------------------------------------------- */

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

.grid h2 {
    grid-column: 1/9;
}

.grid h6 {
    grid-column: 1/9;
}

.evento-arti__text {
    grid-column: 3/7;
}

.evento-arti__img {
    grid-column: 6/9;
}


.evento-punk__img {
    grid-column: 5/9;
}

.evento-punk__txt {
    grid-column: 1/5;
}

.biopaola__img {
    grid-column: 1/3;

}

.biopaola__txt {
    grid-column: 5/9;
}

.evento-tre__text {
    grid-column: 4/7;
}

.evento-tre__img {
    grid-column: 7/9;
}

.grid menu {
    grid-column: 1/9;
}

.paolabarocchi {
    grid-column: 1/3;
}

.fondazione {
    grid-column: 3/5;
}

.rivista {
    grid-column: 5/7;
}

.spes {
    grid-column: 7/9;
}

/*-- 
.slider-container {
    grid-column: 2/8;
}
--*/
.slideshow {
    grid-column: 2/8;
}

.image-container {
    grid-column: 2/8;
}

.wrapper3prova {
    grid-column: 1/4;
}



/* ! MEDIA QUERY MOBILE  */

@media (max-width: 768px) {
    .header__icon {
        display: block;
        color: var(--light);
        z-index: 4;
        margin-right: 20px;
    }

    .header__logo {
        width: 55px;
        overflow: hidden;
        margin-left: 10px;
    }

    .header__menu {
        background: rgba(0, 0, 0, 0.8);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        transition: 0.5s cubic-bezier(.48, 1.13, .19, -0.49);
        z-index: 4;
    }

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

    .site-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

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

    .site-nav a {
        border: none;
        font-size: 2em;
        text-transform: uppercase;
        color: #fff;
        text-decoration-color: var(--secondary);
    }

    .site-nav li a:hover {
        text-decoration: underline;

    }

    .title {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 75px;
    }

    .headline {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        margin-left: 15px;
        margin-right: 15px;
        padding-top: 250px;
    }

    footer {
        flex-direction: column;
    }

    h2 {
        margin-left: 20px;
    }

    h6 {
        margin-left: 60px;
        margin-bottom: 0px;
    }

    /*--
    .slider-container {
        width: 100%;
        max-height: 200px;
    }
--*/
    .slideshow {
        width: 100%;
        max-height: 200px;
    }

    .image-container {
        width: 100%;
        max-height: 200px;

    }

    .slideshow img {
        max-width: 500px;
    }




    /* grid system mobile */

    /*section*/



    .evento-arti__text {
        grid-column: 1/9;
        margin-left: 20px;
        margin-right: 20px;
    }

    .evento-arti__img {
        grid-column: 1/9;
    }

    .evento-punk__txt {
        grid-column: 1/9;
        margin-left: 20px;
        margin-right: 20px;
    }

    .evento-punk__img {
        grid-column: 1/9;
    }

    .biopaola__txt {
        grid-column: 1/9;
        margin-left: 20px;
        margin-right: 20px;
    }

    .biopaola__img {
        grid-column: 1/9;
        margin-top: 30px;
        margin-left: 70px;
    }

    .evento-tre__text {
        grid-column: 1/9;
        margin-left: 20px;
        margin-right: 20px;
    }

    .evento-tre__img {
        grid-column: 1/9;
    }



    /* Riviste */

    .paolabarocchi {
        grid-column: 2/8;

    }

    .fondazione {
        grid-column: 2/8;
    }

    .rivista {
        grid-column: 2/8;
    }

    .spes {
        grid-column: 2/8;
    }

    .cover__content2 {
        flex-direction: column;
    }

    /*--
    .slider-container {
        grid-column: 2/8;
    }
--*/
    .image-container {
        grid-column: 2/8;
    }

    .slide {
        grid-column: 2/8;
        left: -40px;

    }
}


/* Prova 
.slider-container {
    max-width: 800px;
    height: 400px;
    background-color: rgb(0, 0, 0);
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    text-align: center;
    overflow: hidden;
}

.image-container {
    width: 3200px;
    background-color: rgb(0, 0, 0);
    height: 100%;
    clear: both;
    position: relative;
    -webkit-transition: left 1s;
    -moz-transition: left 1s;
    -o-transition: left 1s;
    transition: left 1s;
}

#slider-image-1:target~.image-container {
    left: -400px;
}

#slider-image-2:target~.image-container {
    left: -1200px;
}

#slider-image-3:target~.image-container {
    left: -2000px;
}

.button-container {
    position: relative;
    top: -20px;
}

.slider-change {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 5px;
    background-color: var(--light);
}

fine prova */


/* prova 2 */
.paolabarocchi {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;

}

.paolabarocchi img {
    width: 100%;
    -moz-transition: 800ms;
    -webkit-transition: 800ms;
    -o-transition: 800ms;
    transition: 800ms;
}

.paolabarocchi figcaption {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: .5rem;
    position: absolute;
    -webkit-transition: 800ms;
    -o-transition: 800ms;
    transition: 800ms;
    width: 100%;
    cursor: pointer;
}

.paolabarocchi[data-effect="fade-in"] figcaption {
    top: 0;
    left: 0;
    height: 95%;
    opacity: 0;
}

.paolabarocchi[data-effect="fade-in"]:hover figcaption {
    opacity: 1;
}



.fondazione {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
}

.fondazione img {
    width: 100%;
    -moz-transition: 800ms;
    -webkit-transition: 800ms;
    -o-transition: 800ms;
    transition: 800ms;
}

.fondazione figcaption {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: .5rem;
    position: absolute;
    -webkit-transition: 800ms;
    -o-transition: 800ms;
    transition: 800ms;
    width: 100%;
    cursor: pointer;
}

.fondazione[data-effect="fade-in"] figcaption {
    top: 0;
    left: 0;
    height: 95%;
    opacity: 0;
}

.fondazione[data-effect="fade-in"]:hover figcaption {
    opacity: 1;
}


.rivista {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
}

.rivista img {
    width: 100%;
    -moz-transition: 800ms;
    -webkit-transition: 800ms;
    -o-transition: 800ms;
    transition: 800ms;
}

.rivista figcaption {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: .5rem;
    position: absolute;
    -webkit-transition: 800ms;
    -o-transition: 800ms;
    transition: 800ms;
    width: 100%;
    cursor: pointer;
}

.rivista[data-effect="fade-in"] figcaption {
    top: 0;
    left: 0;
    height: 95%;
    opacity: 0;
}

.rivista[data-effect="fade-in"]:hover figcaption {
    opacity: 1;
}



.spes {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
}

.spes img {
    width: 100%;
    -moz-transition: 800ms;
    -webkit-transition: 800ms;
    -o-transition: 800ms;
    transition: 800ms;
}

.spes figcaption {
    background: black;
    color: #fff;
    padding: .5rem;
    position: absolute;
    -webkit-transition: 800ms;
    -o-transition: 800ms;
    transition: 800ms;
    width: 100%;
    cursor: pointer;
}

.spes[data-effect="fade-in"] figcaption {
    top: 0;
    left: 0;
    height: 95%;
    opacity: 0;
}

.spes[data-effect="fade-in"]:hover figcaption {
    opacity: 0.7;
}

/*fine prova */

/* prova 3 */
/*The webpage has been designed*/
.container3prova * {
    box-sizing: border-box;
}

.container3prova body {
    background-color: #ffffff;
}

/*Basic structure of slider*/
.container3prova {
    width: 500px;
    transform: translate(-50%, -50%);
    top: 30%;
    left: 0%;
    overflow: hidden;
    border: 0px solid #ffffff;
    border-radius: 5px;
    box-shadow: -1px 5px 15px rgb(169, 169, 169);
}

/*Area of images*/
.wrapper3prova {
    width: 100%;
    display: flex;
    animation: slide 12s infinite;
}

.wrapper3prova img {
    width: 100%;
}

/*Animation activated by keyframes*/
@keyframes slide {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(0);
    }

    30% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-100%);
    }

    55% {
        transform: translateX(-200%);
    }

    75% {
        transform: translateX(-200%);
    }

    80% {
        transform: translateX(-300%);
    }

    100% {
        transform: translateX(-300%);
    }
}



/* NEWSLETTER */
.nl {
    background-color: var(--light);
    padding: 80px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.footer_newsletter_title {
    color: black;
    text-align: center;
    font-size: 50px;
    font-weight: 100;
    font-family: 'Playfair Display', serif;
}

.cover__content2 {
    display: flex;
    position: relative;
    z-index: 2;
    color: black;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.signup-btn {
    width: 300px;
    padding: 15px 0;
    text-align: center;
    margin: 10px 10px;
    margin-top: 30px;
    border-radius: 2px;
    border: 1px solid var(--dark);
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.login-btn {
    width: 300px;
    padding: 15px 0;
    text-align: center;
    margin: 10px 10px;
    margin-top: 30px;
    border-radius: 2px;
    border: 1px solid var(--dark);
    background: var(--dark);
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#footer__newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gs-small {
    color: var(--dark);
    text-align: center;
    font-size: 1em;
    font-weight: 300;
    font-family: Arial, Helvetica, sans-serif;
}

/*bottone freccetta*/
.btt {
    position: fixed;
    bottom: 10px;
    right: 10px;

    font-size: 20px;
    z-index: 4;
    padding: 10px;
    border-radius: 10px;

}

.btt__icon {
    color: var(--primary);
}

/* BTT */


/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
    background: var(--secondary);
}

.contatti__elenco,
.policy__elenco {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    font-weight: 100;
    line-height: 18px;
    padding-top: 5px;
}

.contatti,
.policy,
.social {
    padding-left: 100px;
    padding-top: 20px;
}

.social__elenco {
    font-size: 30px;
    padding-top: 5px;
    padding-right: 150px;
}

h3 {
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
}