/*  F O N T  */

@font-face {
    font-family: "CyGrotesk";
    font-weight: normal;
    font-style: normal;
    src: url(../font/CyGrotesk-WideRegular.otf) format("opentype");
}


@font-face {
    font-family: "CyGrotesk";
    font-weight: 200;
    font-style: normal;
    src: url(../font/CyGrotesk-WideLight.otf) format("opentype");
}

@font-face {
    font-family: "CyGrotesk";
    font-weight: bold;
    font-style: normal;
    src: url(../font/CyGrotesk-WideDemi.otf) format("opentype");
}


@font-face {
    font-family: "CyGrotesk";
    font-weight: 900;
    font-style: normal;
    src: url(../font/CyGrotesk-WideHeavy.otf) format("opentype");
}

/*____________________________________________________________________________________________________________________________*/


/* GENERALE*/
.container-fluid {
    position: relative;
}

body { 
    background-color: #030E16;
    font-family: "CyGrotesk", sans-serif;
    color: #D9D9D9;
    font-weight: normal; 
    font-size: 20px;
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    overflow-x:hidden;
}

p { 
    margin: 0;
}


/* H E A D E R */

header {
    font-size: 18px;
    position: relative;  
    z-index: 9;
    margin-right: 70px;
    margin-left: 70px;
}

#mobile-menu {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
    padding-left: 20px;
    position: absolute;
    background-color: rgb(3, 13, 20);
    width: 100%;
    left: 0;
}

nav {
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
}

.header-dim {
    width: 120px;
    padding-top: 25px;
    text-align: center;
}

a {
    color:#D9D9D9;
    text-decoration: none;
    transition: 0.2s ease-in-out;
} 

a:hover {
    color: #FF2670;
    transition: 0.2s ease-in-out;
}

a.logo:hover {
    opacity: 85%;
    transition: 0.2s ease-in-out;
}

.header-mob  {
    background-color: rgb(3, 13, 20);
}

#mobile-menu p {
    font-size: 25px;
    padding: 7px 10px;
}

#menu-toggle {
    font-size: 50px;
}

.logo-mobile {
    position: relative;
    width: 50%;
    min-width: 220px;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding-top: 130px;
}

/* H E R O */

.hero {
    background-image: url(../img/sfondo_hero.jpg);
    background-repeat: no-repeat;
    background-size: 1700px;
    background-position-x: center;
    background-position-y: -330px;
    position: relative;
    height: 650px;
    top: -110px;
}

.sfumaturasopra {
    background: rgb(3,14,22);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(3,14,22, 1) 100%);
    width: 100%;
    position: absolute;
    height: 280px;
    top: 0;
    left: 0;   
}

.sfumaturasotto {
    background: rgb(3,14,22);
    background: linear-gradient(0deg, rgba(3,14,22, 1) 0%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    position: absolute;
    height: 280px;
    bottom: 0;   
}

/* SEZIONE 0 */
.sezione0 {
    text-align: center;
    position: relative;
    top: -200px
}
.cta {
    font-size: 18px;
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    padding: 0;
    font-size: 65px;
    font-weight: 900;
    line-height: 1;
}

.sez0-titolo-stroke {
    -webkit-text-stroke: #FF2670;
    -webkit-text-stroke-width: 3px;
    -webkit-text-fill-color: transparent;
}
.sez0-introduzione {
    font-size: 22px;
    padding-top: 10px;
    max-width: 700px;
    margin: 0 auto;
}

/* sezione standard */

.sezione-standard {
    position: relative;
    margin: 150px 0;
}

h4 {
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 200;
    padding-top: 25px;
    position: relative;
    z-index: 10;
}

h2 {
    margin: 0;
    padding: 0;
    font-size: 50px;
    font-weight: 900;
    line-height: 1;
    position: relative;
    z-index: 10;
}

.sez-titolo-stroke {
    -webkit-text-stroke: #FF2670;
    -webkit-text-stroke-width: 2px;
    -webkit-text-fill-color: transparent;    
}

.sez-text {
    margin-top: 30px;
    max-width: 80%;
}

#origini img {
    object-fit: cover;
    border-radius: 25px;
    width: 100%;
    height: 100%;
    object-position: 35% 0;
}

#origini {
    margin: -75px 0;
    overflow-x: hidden;
    overflow-y: hidden;

}


/* SEZIONI CON CARD*/
.sezione-card .sez-titolo-stroke {
    -webkit-text-stroke: #030E16;
    -webkit-text-stroke-width: 2px;
    -webkit-text-fill-color: transparent;    
}

.sezione-card h4 {
    padding-top: 0;
}
    
.sezione-card {
    background-image: url(../img/sfondo_news.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
    position: relative;

    height: max-content;

    position: relative;
    margin-top: 250px;
    margin-bottom: 150px;
    padding: 100px 0;
}

#commenti {
    background-image: url(../img/sfondo_commenti.jpg);
}

.sezcard-gradiente {
    background: rgb(244,61,92);
    background: linear-gradient(90deg, rgba(244,61,92,0.7) 0%, rgba(129,12,145,0.7) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.scroll-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    gap: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;     
}

.scroll-card::-webkit-scrollbar {
    display: none;  
}

.prima.card,
.prima.card-commenti {
    margin-left: 100px;
}

.ultima.card,
.ultima.card-commenti {
    margin-right: 100px;
}
.ultima.card {
    background-color: #d9d9d975;
    color: #030E16;
    transition: 0.3s ease-in-out;
} 

#commenti a.ultima p.t1 {
  margin-top: 0;
}

.ultima.card:hover {
    background-color: #ff266e75;
    color: #D9D9D9;
    transition: 0.3s ease-in-out;
}

.card-grad {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    pointer-events: none;
    z-index: 15;
    opacity: 0.7;
    background: linear-gradient(93deg, rgba(244, 61, 92, 0.30) 2.58%, rgba(244, 61, 92, 0.00) 11.9%, rgba(244, 61, 92, 0.00) 87.94%, rgba(129, 12, 145, 0.30) 97.42%);
}
.card {
    flex: 0 0 auto;
    height: 308px;
    width: 300px;
    background-color: #030E16;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    margin-top: 50px;
}

.t1 {
    font-size: 17px;
    line-height: 1;
}

.t2 {
    font-size: 31px;
    font-weight: bold;
    line-height: 1;
    text-transform: uppercase;
}

.t3 {
    font-size: 14px;
    line-height: 1;
}


.t5 {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    color: #030E16;
    position: relative;
    top: 0;
    text-transform: uppercase;
} /*per card commenti*/

.t6 {
    font-size: 16px;
    width: 250px;
    color: #030E16;
    position: relative;
    margin-top: 10px;
    height: 140px;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
} /*per card commenti*/

#commenti .t1 {
    color: #030E16;
    margin-top: 50px;
}

.card-commenti {
    height: 308px;
    width: 300px;
    background-color: #D9D9D9;
    border-radius: 25px;
    padding: 30px;
    z-index: 10;
    margin-top: 50px;
}

.frecce {
    position: relative;
    width: 120px;
    z-index: 10;
    color: #D9D9D9;
    font-size: 50px;
    transition: 0.3s ease-in-out;
}

.frecce .bi:hover {
    opacity: 50%;
    transition: 0.3s ease-in-out;
}


.bi-arrow-left-circle {
    position: absolute;
    bottom: 0; 
    left: 0;
    line-height: 1;
}

.bi-arrow-right-circle {
    position: absolute;
    bottom: 0;
    right: 0;
    line-height: 1;
}

/* sezione archivio */
#archivio img {
    object-fit: cover;
    border-radius: 25px;
    height: 300px;
    margin: 15px 0;
}

.titolini-archivio {
    height: 100px;
    width: 100%;

    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.titolini-insieme {
    position: relative;
    top: -150px;
}

.archivioimg-mob-2 {
    position: relative;
    top: -35px;
}


/* F O O T E R */
.footer {
    margin-top: 30px;
    background-color: #D9D9D9;
    height: max-content;
    color: #030E16;
}

h5 {
    font-size: 19px;
    font-weight: 200;
    margin-bottom: 20px;
}

.footer-voci {
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 30px;
}

.sostieni .footer-voci {
    margin-top: 0;
    margin-bottom: 0;
}

.infr-cont {
    font-size: 40px;
    font-weight: 900;
}

.footer-voci .bi {
    font-size: 20px;
}

 .footer-sinistra .bi {
    font-size: 40px;
 }

.cookies {
    font-size: 15px;
    font-weight: 200;
    padding-bottom: 15px;
}

.footer a {
    color: #030E16;
    transition: 0.2s ease-in-out;
}

.footer a:hover {
    color: #FF2670;
    transition: 0.2s ease-in-out;
}  /* inserire icone bootstrap al posto di img*/

.footer-destra {
    margin-top: 25px;
}


/* FRECCE DECORATIVE */

.gr-decorativo {
  position: absolute;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  pointer-events: none;
  z-index: 20;
  height: 1000px;
}

.gr-decorativo svg {
    position: absolute;
}

.header-bianca {
    position: absolute;
    top: 31px;
    left: 25%;

}
/* sezione 0 */
.sezione0-rosa-dx {
    top: 547px;
    left: 80%;
}
.sezione0-bianca-dx {
    top: 567px;
    left: 75%;
}
.sezione0-rosa-sx {
    top: 547px;
    left: 20%;
    transform: translateX(-100%); /*fare classe con translateX? penso mi perderei pezzi*/
}
.sezione0-bianca-sx {
    top: 567px;
    left: 25%;
    transform: translateX(-100%);  
}
/* sezione 0 fine */
/* sezione 1 */
.sezione1-rosa-dx {
    top: 890px;
    left: 52%;
}

.sezione1-rosa-sx {
    top: 30px;
    left: 15%;
    position: absolute;
    transform: translateX(-100%);
}
/* sezione 1 fine */

/* sezione 2 */
.sezione2-nera {
    top: 356px;
    left: 15%;
    transform: translateX(-100%);
}
/* sezione 2 fine */

/* archivio */
.sezione3-rosa-top {
    top: 30px;
    left: 15%;
    transform: translateX(-100%);    
}

.sezione3-bianca-ed {
    position: absolute;
    top: 30px;
    left: -7%;
    transform: translateX(-100%);    
}

.sezione3-rosa-ed {
    position: absolute;
    top: 30px;
    left: -5%;
    transform: translateX(-100%);    
}

.relative {
    position: relative;
}
.edizioni {
    margin-top: 15px;
}

.sezione3-bianca-img {
    top: 30px;
    left: 52%;
}

.sezione3-rosa-img {
    top: 370px;
    left: 52%;
}

#archivio {
    overflow-x: hidden;
}
.archivioimg-mob-1,
.archivioimg-mob2 {
    position: relative;
}

.sezione3-mobile-prima {
    position: absolute;
    top: 50px;
    left: 85%;
    transform: translateX(-100%);
    z-index: 15;
}
.sezione3-mobile-seconda {
    position: absolute;
    top: 50px;
    left: 15%;
    z-index: 15;
}

/* sezione 4 */
.sezione4-nera {
    top: 205px;
    left: 15%;
    transform: translateX(-100%);
}
/* sezione 4 fine */

/* sezione footer*/
#footer-dec {
    height: 390px;
}
.sezionefooter-nera {
    top: 15px;
    left: 98%;
    transform: translateX(-100%);    
}

.sezionefooter-nera-sotto {
    top: 350px;
    left: 35%;
    transform: translateX(-100%);
}

.sezionefooter-rosa-1 {
    top: 90px;
    left: 8%;
    transform: translateX(-100%);    
}

.sezionefooter-rosa-2 {
    top: 90px;
    left: 65%;
}

.sezionefooter-rosa-3 {
    top: 180px;
    left: 57%;

}

.sezionefooter-rosa-4 {
    top: 270px;
    left: 65%;
  
}
/*_______________________________________________________________________________________________________________________________*/

@media screen and (max-width: 767px) {

    header {
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 60px;
    }
    nav {
        padding: 0;
    }
    /* SEZIONE 0 */
    .cta {
        font-size: 15px;
    }

    h1 {
        font-size: 35px;
    }

    .sez0-titolo-stroke {
        -webkit-text-stroke-width: 2px;
    }
    .sez0-introduzione {
        font-size: 18px;
        max-width: 450px;
    }

/* H E R O */

.hero {
    background-repeat: no-repeat;
    background-position-y: -120px;
    height: 790px;
}

    /* sezione standard */

    .sezione-standard {
        margin-top: 20px;
    }
    .sezione-card {
        margin-top: 150px;
        margin-bottom: 100px;
    }
    #commenti {
        margin-top: 0;
    }
    #archivio {
        margin-bottom: 0;
    }

    h4 {
        font-size: 13px;
        margin-left: 15%;
    }

    h2 {
        font-size: 35px;
    }

    .sez-titolo-stroke {
        -webkit-text-stroke: #FF2670;
        -webkit-text-stroke-width: 1.5px;
        -webkit-text-fill-color: transparent;    
    }

    .sezione-card .sez-titolo-stroke {
    -webkit-text-stroke: #030E16;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-fill-color: transparent;    
    }

    .sez-text {
        font-size: 16px;
        max-width: none;
    }

    #origini {
        margin-top: -150px;
        margin-bottom: -70px;
    }

    #origini img {
        margin-top: 40px;
        height: 360px;
    }

    /* sezioni card */
    .prima.card,
    .prima.card-commenti {
        margin-left: 40px;
    }

    .ultima.card,
    .ultima.card-commenti {
        margin-right: 40px;
    }

    /* sez archivio */
    #archivio img {
    height: 200px;
    margin: 40px 0;
    opacity: 70%;
    }
    .archivioimg-mob-1 img {
        object-position: 0 20%;
    }

    /* F O O T E R */
    .footer {

        background-color: #D9D9D9;
        height: max-content;
        color: #030E16;
    }

    h5 {
        font-weight: 200;
    }

    .footer-voci {
        font-weight: bold;
        margin-bottom: 15px;
    }

    .sostieni .footer-voci {
        margin-top: 0;
        margin-bottom: 0;
    }
    .footer-sinistra {
        font-size: 40px;
        margin-bottom: 50px;
        margin-top: 50px;
    }
    .cookies {
        margin-top: 50px;
    }
    .infr-cont {
    font-size: 30px;
    font-weight: 900;
}

    /* frecce */
    /* sezione 0 */
.sezione0-rosa-dx {
    top: 595px;
    left: 80%;
}
.sezione0-rosa-sx {
    top: 595px;
    left: 20%;
}
/* sezione 0 fine */
/* sezione 1 */

.sezione1-rosa-sx {
    top: 30px;
    left: 20%;
}
.sezione1-rosa-dx {
top: 70px;
left: 5%;
position: relative;
z-index: 15;
}


/* sezione 1 fine */

/* sezione 2 */
.sezione2-nera {
    top: 255px;
    left: 20%;
}
/* sezione 2 fine */

/* archivio */
.sezione3-rosa-top {
    top: 30px;
    left: 18%;  
}

/* sezione 4 */
.sezione4-nera {
    top: 103px;
    left: 20%;
}
/* sezione 4 fine */

/* sezione footer*/
#footer-dec {
    height: 620px;
}

.sezionefooter-nera-sotto {
    top: 595px;
    left: 70%;
}

.sezionefooter-rosa-1 {
    top: 105px;
    left: 87%;
   
}

.sezionefooter-rosa-2 {
    top: 320px;
    left: 55%;
    transform: translateX(-100%);
}
} /* M O B I L E */

@media screen and (max-width: 420px) {
        h1 {
        font-size: 25px;
    }
    .sez0-titolo-stroke {
        -webkit-text-stroke-width: 1.5px;
    }
    .sez0-introduzione {
        font-size: 17px;
        max-width: 450px;
    }
} /*ridurre alcuni titoli per spazio*/

@media screen and (max-width: 1003px) and (min-width: 768px) {
    h2 {
        font-size: 45px;
    }    
} /*titoli h2 non danno più problemi subito prima del mobile*/

@media screen and (max-width: 1000px) and (min-width: 768px) {
    #origini img {
        margin-top: 20px;
        object-position: 25% 0;
    }
    .archivioimg-desk-1 img {
        object-position: 25% 0;
    }
    .archivioimg-desk-2 img {
        object-position: 80% 0;
    }

    .sezione3-bianca-img {
    top: 30px;
    left: 70%;
    }

    .sezione3-rosa-img {
        top: 370px;
        left: 70%;
    }

    .sezione1-rosa-dx {
    top: 890px;
    left: 62%;
    }

    .sezione3-rosa-top {
    top: 30px;
    left: 18%;
    transform: translateX(-100%);    
}
} /*visualizzazione immagine quando molto verticale*/

@media screen and (min-width: 1700px) {
    .hero {
        background-size: 1920px;
    }
} /*correzione dimensione hero per larghezze ampie*/

@media screen and (min-width:1921px) {
    .sezione-card, .sezcard-gradiente, .card-grad, .footer {
        border-radius: 25px;
    }
} /*soluzione per schermi troppo grandi*/

@media screen and (max-width: 1050px) and (min-width:767px) {
    /* sezione 0 */
.sezione0-rosa-dx {
    left: 90%;
}
.sezione0-bianca-dx {
    left: 85%;
}
.sezione0-rosa-sx {
    left: 10%;
}
.sezione0-bianca-sx {
    left: 15%; 
}
/* sezione 0 fine */
} /*elementi decorativi sistema posizione*/