@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,500;0,600;1,300;1,400;1,700');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500');

@font-face {
    font-family: "Cera Pro Bold";
    src: url("fonts/CeraBold.otf") format("opentype");
}
@font-face {
    font-family: "Cera Pro Medium";
    src: url("fonts/CeraMedium.otf") format("opentype");
}
@font-face {
    font-family: "Cera Pro Regular";
    src: url("fonts/CeraRegular.otf") format("opentype");
}

:root {
    --rosso: #B10524;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-collapse: collapse;
}

b {
    font-weight: normal;
    font-family: "Cera Pro Bold", sans-serif;
}

body {
    background-color: black;
    color: white;
    font-family: "Cera Pro Regular", sans-serif;
    z-index: 0;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: "Cormorant Infant", serif;
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    font-size: 1rem;
    line-height: 2rem;
}

/* SCROLLFADE */
.scrollFade {
    opacity: 1;
    pointer-events: all;
}
.scrollFade--hidden {
    opacity: 0;
    pointer-events: none;
}
.scrollFade--visible {
    opacity: 1;
    pointer-events: all;
}
.scrollFade--animate {
    transition: opacity 0.8s ease-in-out;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    z-index: 999999;
    position: relative;
}

header .logotipo {
    position: absolute;
    height: 90px;
    margin-top: -15px;
}

nav a {
    display: inline-block;
    margin-left: 40px;
    margin-right: 10px;
    z-index: 999;
}

nav a.attuale::after {
    content: '';
    display: block;
    height: 120px;
    width: 130px;
    background-image: url("img/segnalibro.svg");
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    z-index: -1;
    top: -1px;
}
nav a:nth-child(1).attuale::after {
    margin-left: -45px;
}
nav a:nth-child(2).attuale::after {
    margin-left: -32px;
}
nav a:nth-child(3).attuale::after {
    margin-left: -27px;
}
nav a:nth-child(4).attuale::after {
    margin-left: -27px;
}
nav a:nth-child(5).attuale::after {
    margin-left: -35px;
}
nav a:nth-child(6).attuale::after {
    margin-left: -30px;
}

h1 {
    font-weight: 600;
}

.container {
    display: block;
    margin: auto;
    width: 85%;
    max-width: 800px;
}
.container.ristretto, .sottotitolo-h2 {
    max-width: 550px;
}

.hoverizzato {
    cursor: pointer;
    transition: opacity .5s ease-in-out;
}
.hoverizzato:hover {
    opacity: .6;
}

footer {
    padding-top: 150px;
    padding-bottom: 50px;
    background: linear-gradient(to bottom, #000, #262626);
}

footer .container {
    display: flex;;
}

footer .container > div:last-child {
    min-width: 200px;
    padding-left: 50px;
}

footer .pentagramma {
    height: 105px;
    margin: auto;
    display: block;
    margin-top: 30px;
    opacity: .5;
}

footer h3 {
    font-size: 1.5rem;
    padding-bottom: 15px;
}

footer p {
    font-size: .9rem;
}

footer a {
    text-decoration: underline;
}

h2, h1 {
    font-size: 2.6rem;
    text-align: center;
    padding-top: 170px;
    padding-bottom: 15px;
}
h1 {
    font-size: 3.2rem;
    padding-top: 120px;
}

p.sottotitolo-h2 {
    text-align: center;
    padding-bottom: 30px;
}

.video-hero-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -3;
}

.hero-home {
    margin-top: -90px;
    height: 100vh;
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 20;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.hero-home h1 {
    margin-left: -5px;
    font-family: "Cinzel", serif;
    font-weight: 500;
    font-size: 5rem;
    text-align: left;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
}
.hero-home .minore {
    font-size: 3.5rem;
    display: block;
    margin-bottom: -20px;
}

.hero-home p {
    max-width: 500px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.griglia-eventi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 0;
}

.box-evento.anticipa-sotto {
    margin-top: 80px;
}

.box-evento .immagine {
    height: 200px;
    background-color: #D8D8D8;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
}

.box-evento .etichetta-data {
    background-color: var(--rosso);
    color: white;
    padding: 20px 30px 20px 30px;
    display: block;
    margin-bottom: 15px;
    margin-left: -15px;
}

.box-evento .titolo {
    font-family: "Cormorant Infant", serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 12px;
    margin-bottom: 5px;
}

.box-evento .luogo {
    opacity: .8;
    font-size: .9rem;
}

.hero-home .riga-social img {
    height: 28px;
    margin-right: 30px;
}

footer .riga-social {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 20px;
}

footer .riga-social a {
    margin: 0 20px 0 20px;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    background-color: var(--rosso);
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .riga-social img {
    width: 18px;
}

.review {
    width: 100%;
    text-align: center;
    padding: 20px 60px;
}

.reviews {
    margin-top: 20px;
}

.f-carousel__dot {
    background-color: white;
}

.citazione {
    font-family: "Cormorant Infant", serif;
    font-style: italic;
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 2.5rem;
    text-align: center;
    padding-top: 10px;
}

.review__image {
    max-width: 150px;
    max-height: 40px;
    margin-top: 30px;
}

.riga-credito-citazione {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.riga-credito-citazione > div:nth-child(1), .riga-credito-citazione > div:nth-child(3) {
    height: 1px;
    background-color: white;
    width: 200px;
    margin: 20px;
}

.riga-credito-citazione img {
    height: 27px;
}

.gruppo-teatro {
    width: 100%;
}

.sotto-gruppo-teatro {
    margin-top: -120px;
    margin-bottom: 200px;
}

.luca-colombo {
    width: 330px;
    margin: auto;
    display: block;
}

.titolo-luca-colombo {
    padding-top: 30px;
}

.sottotitolo-luca-colombo {
    text-align: center;
    font-size: 1.6rem;
    padding-bottom: 20px;
    font-family: "Cormorant Infant", serif;
    font-weight: 500;
}

.bio-strutturata p {
    margin-bottom: 15px;
}

.container-disco {
    display: flex;
    align-items: flex-start;
    gap: 35px;
    margin-top: 30px;
    margin-bottom: 100px;
}

.container-disco > div:first-child {
    width: 220px;
    min-width: 220px;
}
.container-disco > div:first-child > img {
    width: 100%;
    border-radius: 5px;
}

.container-disco .titolo {
    font-family: "Cormorant Infant", serif;
    font-size: 1.9rem;
    padding-bottom: 10px;
}

.container-disco .editore {
    font-family: "Cormorant Infant", serif;
    font-style: italic;
    font-size: 1.3rem;
    padding-bottom: 15px;
}

.compra-amazon {
    color: white;
    display: inline-block;
    background-color: var(--rosso);
    text-transform: uppercase;
    padding: 20px 40px 20px 40px;
    margin-top: 10px;
}

.griglia-contatti {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 100px;
}

.griglia-contatti a {
    border: solid 2px white;
    padding-top: 35px;
    padding-bottom: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-family: "Cera Pro Bold", sans-serif;
    font-size: 1.1rem;
}

.griglia-contatti a img {
    height: 20px;
    margin-right: 20px;
}

.container-sfondo-notizia {
    margin-top: -100px;
    background-color: #aaa;
    background-size: cover;
    background-position: center;
    margin-bottom: 70px;
}

.sfondo-notizia {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
}

.sfondo-notizia h1 {
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 30px;
}

.toggle-menu {
    display: none;
}

.form input, .form button, .form textarea {
    width: 100%;
    display: block;
    border: solid 1px white;
    padding: 15px 20px 15px 20px;
    margin-bottom: 30px;
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    color: inherit;
    border-radius: 5px;
    margin-top: 8px;
}

.form textarea {
    height: 400px;
}

.form button {
    background-color: white;
    color: black;
}

.form label {
    font-size: .9rem;
    opacity: .7;
}

.centra-testo {
    text-align: center;
}

.admin-articolo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 0 10px 0;
    border-bottom: solid 1px #666;
}

.admin-articolo .anteprima {
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    height: 50px;
    width: 80px;
    margin-right: 15px;
}

.tox-tinymce {
    margin-bottom: 30px;
}

.contenuto-articolo img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100vh;
    margin-top: 20px;
    margin-bottom: 20px;
}

.box-articolo-vecchio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #777;
}

.box-articolo-vecchio .titolo {
    font-size: 1.4rem;
    font-family: "Cormorant Infant", serif;
    padding-bottom: 5px;
}

.box-articolo-vecchio .luogo {
    opacity: .8;
    font-size: .9rem;
}

.griglia-post {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.link-post {
    flex: 1;
}

.immagine-post {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: #444;
}

.btn-link-full {
    border: solid 2px white;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    padding: 20px 0;
    margin-bottom: 20px;
}




































/* SOSTIENICI */
.testo-sostienici {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.testo-sostienici p + p {
    margin-top: 1.5rem;
}

.sezione-5x1000 {
    margin-top: 4rem;
    margin-bottom: 5rem;
}

.sezione-5x1000 h2 {
    padding-top: 0;
    text-align: left;
}

.box-codice-fiscale {
    border-left: 3px solid var(--rosso);
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
}

.box-codice-fiscale .label-cf {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 0.6rem;
}

.box-codice-fiscale .numero-cf {
    font-family: "Cinzel", serif;
    font-size: 1.8rem;
    letter-spacing: 0.15em;
}

.box-codice-fiscale .nome-aps {
    margin-top: 0.4rem;
    color: #aaa;
    font-size: 0.9rem;
}

.sezione-donazione {
    margin-top: 0;
    margin-bottom: 5rem;
}

.sezione-donazione h2 {
    padding-top: 0;
    text-align: left;
}

.sezione-donazione p + p {
    margin-top: 1.5rem;
}

.btn-donazione {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.85rem 2rem;
    background-color: var(--rosso);
    color: #fff;
    font-family: "Cinzel", serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-donazione:hover {
    background-color: #a00;
    color: #fff;
}


/* SEZIONE MOBILE */
@media screen and (max-width: 1000px) {

    h2, h1 {
        font-size: 2.3rem;
        padding-top: 80px;
    }

    p {
        line-height: 1.8rem;
    }

    .griglia-eventi {
        display: block;
    }

    nav {
        display: none;
    }

    .hero-home {
        margin-top: -92px;
    }

    .hero-home h1 {
        font-size: 2.5rem;
        padding-top: 20px;
    }
    .hero-home .minore {
        font-size: 2rem;
        padding-bottom: 10px;
    }

    .hero-home p {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .box-evento, .box-evento.anticipa-sotto {
        margin-top: 20px;
        margin-bottom: 40px;
        display: block;
    }

    .citazione {
        font-size: 1.3rem;
        line-height: 2rem;
    }

    .riga-credito-citazione > div:nth-child(1), .riga-credito-citazione > div:nth-child(3) {
        width: 70px;
    }

    footer .container {
        display: block;
    }

    footer .container > div:last-child {
        min-width: auto;
        padding-left: 0;
        margin-top: 50px;
    }

    nav a.attuale::after {
        display: none;
    }

    .toggle-menu {
        display: block;
        margin-right: 20px;
    }
    .toggle-menu::before {
        transition: height .4s ease-in-out, width .4s ease-in-out, margin-left .4s ease-in-out;
        position: absolute;
        content: '';
        height: 100px;
        width: 107px;
        background-image: url("img/segnalibro.svg");
        background-position: top;
        background-size: contain;
        background-repeat: no-repeat;
        margin-left: -35px;
        z-index: -1;
        top: -1px;
    }

    nav {
        transition: opacity .4s ease-in-out, max-height .4s ease-in-out;
        position: absolute;
        top: 120px;
        left: 0;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        display: block;
    }
    nav a {
        display: block;
        padding: 15px;
        text-align: left;
    }
    nav.aperta {
        max-height: 100vh;
        opacity: 1;
    }

    nav.aperta + .toggle-menu::before {
        height: 200vh;
        width: 160vw;
        margin-left: -140vw;
    }

    .sotto-gruppo-teatro {
        margin-top: -80px;
    }

    .luca-colombo {
        max-width: 80vw;
    }

    .container-disco > div:first-child {
        width: 100%;
        padding-bottom: 20px;
    }

    .container-disco {
        display: block;
    }

    .compra-amazon {
        width: 100%;
        text-align: center;
    }

    .griglia-contatti {
        display: block;
    }

    .griglia-contatti a {
        margin-bottom: 20px;
    }

    footer {
        padding-top: 100px;
    }

    .hero-home .riga-social img {
        height: 24px;
    }

    .griglia-post {
        gap: 10px;
    }

    .review {
        padding: 20px 30px;
    }
}