/* Reset base */
* {
    box-sizing: border-box;
    transition: all 0.3s ease-out;
}

*:focus {
    outline: none;
}

/* Stili generali */
html,
body {
    scroll-behavior: smooth;
}

/* 
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
*/

body {
    font-family: "avenir-next-lt-pro", sans-serif;
    background-color: #ACCEA1;
    color: #FFF;
    margin: 0;
    padding: 0;
    z-index: 0;
    position: relative;
    overflow-x: hidden;
    transition: all 0.35s;
}


/* TOP BAR */

.top-bar {
    height: 50px !important;
}

.faN {
    width: 30px !important;
    height: 30px !important;
}

article,
section,
div,
p,
h2,
h3 {
    width: 100%;
}


article {
    max-width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.sfondi-decorativi {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.sfondo_sfumato_grigio {
    background: radial-gradient(circle,
            rgba(125, 124, 121, 1) 0%,
            /*  rgba(125, 124, 121, 1) 20%, */
            rgba(125, 124, 121, 0) 100%);
    filter: blur(50px);
    border-radius: 50%;
    position: absolute;
    overflow: hidden;
}

.sfumato_70 {
    width: 70vw;
    height: 70vw;
    left: -35vw;
}

.sfumato_40 {
    width: 40vw;
    height: 40vw;
    right: -20vw;
}

.sfondo_molecola_benzene {
    width: 30vw;
    height: 30vw;
    background: transparent url(../img/molecola_benzene.svg) center / contain no-repeat;
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

#sfumato_header {
    top: -50%;
    z-index: -1;
}

#sfumato_header_mobile_bottom {
    display: none;
}

/* HEADER */


header {
    width: 100%;
    height: 100vh;
    position: relative;
    background: transparent url(../img/molecola_benzene.svg) center / contain no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div.header_title {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    z-index: 10;
}

h1 {
    width: 100%;
    font-family: "avenir-next-lt-pro", sans-serif;
    font-weight: 600;
    font-size: 96px;
    line-height: normal;
    letter-spacing: 8px;
    text-align: left;
}

.sommario {
    width: 100%;
    color: white;
    font-family: "avenir-next-lt-pro", sans-serif;
    text-align: left;
    font-weight: 900;
    font-size: 64px;
    line-height: normal;
    letter-spacing: 3;
}

.sommario span {
    color: #DA9D99;
}

.firma {
    margin-top: 70px;
    font-family: "avenir-next-lt-pro", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: normal;
    font-style: italic;
}

.data {
    font-size: 1.1rem;
    font-weight: 700;
    padding-top: 10px;
}


/* Elementi */


section {
    max-width: 750px;
    margin: 50px auto 20px;
}

section:first-of-type {
    margin-top: 20px;
}

h2 {
    font-family: "avenir-next-lt-pro-condensed", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: normal;
    letter-spacing: 2px;
    text-align: left;
}

h3 {
    font-family: "avenir-next-lt-pro-condensed", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: normal;
    letter-spacing: 2px;
    margin: 1rem 0 0.2rem;
    text-align: left;
}

p {
    font-family: "avenir-next-lt-pro", sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 30px;
}

p.intro {
    font-size: 32px;
    line-height: normal;
}

a:link {
    color: #FFF;
    text-decoration: underline;
}

a:visited {
    color: #FFF;
    text-decoration: underline;
}

a:hover {
    color: #7D7C79;
    text-decoration: underline;
}

a:active {
    color: #7D7C79;
    text-decoration: underline;
}

.grafico_sommario {
    font-family: "avenir-next-lt-pro-condensed", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: normal;
    letter-spacing: 2px;
    text-align: left;
    margin: 0.6rem 0 1.2rem;
}

.grafico_fonte {
    font-family: "avenir-next-lt-pro-condensed", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 2px;
    padding-top: 10px;
    opacity: .8;
}

.grafico_embed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.grafico_embed img {
    width: 100%;
    height: auto;
}


p.nota {
    padding: 100px 0;
    font-family: "avenir-next-lt-pro", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 18px;
    line-height: normal;
}

/* Figure */
figure {
    margin: 2.5rem 0;
}

img.full-width {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}


/* Responsive design */
@media screen and (min-width: 1280px) {
    .grafico_spiega_cnt {
        position: absolute;
        /*         top: 50%;
        transform: translateY(-50%); */
        top: 0;
        left: 800px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        max-width: 200px;
    }



    .grafico_spiega {
        font-family: "avenir-next-lt-pro", sans-serif;
        font-size: 20px;
        font-weight: 400;
        line-height: normal;
        font-style: italic;
        text-align: left;
        margin-top: 50px;
        border-left: 1px solid #FFF;
        padding-left: 15px;
    }
}




@media screen and (max-width: 1280px) {
    .grafico_spiega_cnt {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }


    .grafico_spiega {
        font-family: "avenir-next-lt-pro", sans-serif;
        font-size: 20px;
        font-weight: 400;
        line-height: normal;
        font-style: italic;
        text-align: left;
        margin: 20px auto;
        border-left: 1px solid #FFF;
        padding-left: 15px;
    }
}

@media only screen and (max-width: 480px) {
    article {
        max-width: 100%;
        padding: 0 15px;
    }

    #sfumato_header {
        top: -10%;
        z-index: -1;
        width: 50vh;
        height: 50vh;
    }

    #sfumato_header_mobile_bottom {
        display: block;
        bottom: -20%;
        left: 60vw;
        z-index: -1;
        width: 30vh;
        height: 30vh;
    }

    header {
        height: 70vh;
        padding: 0;
    }

    .header_title {
        max-width: 100%;
    }

    h1 {
        font-size: 42px;
        max-width: 100%;
    }


    section {
        margin-top: 20px;
        max-width: 100%;
    }


    .sommario {
        font-size: 38px;
    }

    .firma {
        margin-top: 0;
        font-size: 20px;
        line-height: 28px;
    }

    p {
        font-size: 20px;
        line-height: 28px;
    }

    p.intro {
        font-size: 26px;
    }

    .grafico_sommario {
        font-size: 22px;
        ;
    }

    .grafico_spiega {
        font-size: 18px;
    }

    #grafico_sarroch_cnt {
        width: 100%;
        overflow-x: scroll;
        display: block;
    }

    #grafico_sarroch_cnt img {
        width: 550px;
    }
}