:root{
    --txt_color: black;
    --txt_color_dark: #282828;
    --radius: 20px;
}
@font-face{
    src: url('../fonts/InterTight.ttf');
    font-family: 'InterTight';
    font-weight: 100 900;
    font-style: normal;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'InterTight';
    color: var(--txt_color);
    font-weight: 400;
    font-size: 18px;
}
header, section, footer{
    padding: var(--pd_ltrt);
}
p{
    line-height: 25px;
}
p.description, ul.description li{
    font-size: 20px;
    letter-spacing: .5px;
}
b{
    font-weight: 600;
}
ul.description{
    padding-left: 20px;
}
.light{
    font-weight: 300;
}
.xt_bold{
    font-weight: 800;
}
.flex{
	display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */    
    flex-flow: row wrap;
    align-content: center;
    justify-content: center;
}
img.cover{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.clear_10{
    clear: both;
    height: 10px;
}
.clear_20{
    clear: both;
    height: 20px;
}
.clear_40{
    clear: both;
    height: 40px;
}
header{
    padding: var(--pd_ltrt);
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    z-index: 50;
}
header a{
    color: inherit;
    text-decoration: none;
}
header .menu{
    display: flex;
    list-style-type: none;
    gap: 40px;
    font-weight: 600;
}
header .menu li{
    cursor: pointer;
}
header .logo{
    width: 180px;
    cursor: pointer;
}
.parallax_text_img{
    height: 170svh;
    position: relative;
}
.parallax_text_img .text{
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 5;
    background-color: white;
    padding-bottom: 50px;
    display: flex;
}
.parallax_text_img .text::after{
    content: '';
    position: absolute;
    background-color: white;
    z-index: 8;
    transform: rotate(45deg);
}
.parallax_text_img img{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    object-fit: cover;
}
.colored_box{
    padding: var(--pd_ltrt);
    background-color: var(--txt_color_dark);
    color: white;
}
.grid_2box{
    display: grid;
}
.grid_2box > div:first-of-type{
    position: relative;
}
.grid_2box > div:first-of-type::after{
    content: '';
    position: absolute;
    right: -26.5px;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: white;
}
/* ========== SCROLLER ========== */ 
.scroller{
    display: flex;
    gap: 20px;
    align-items: center;

    overflow-x: auto;
    overflow-y: hidden;

    /*-webkit-overflow-scrolling: touch;*/
    scrollbar-width: none;
    cursor: grab;
    user-select: none;

    touch-action: pan-y;              /* lascia scroll verticale pagina */
    overscroll-behavior-x: contain;   /* evita rimbalzi/chaining orizzontale */
    touch-action: pan-y;
    will-change: scroll-position;
}
.scroller::-webkit-scrollbar{ 
    display: none; 
}
/* feedback durante il drag */
.scroller.dragging{ 
    cursor: grabbing; 
}
.scroller_track{
    display: flex;
    flex: 0 0 auto;
    gap: var(--gap);
    min-width: 100%;
    animation: scorrimento 110s linear infinite;
}
.scroller_track > div{
    flex: 0 0 auto;   
    margin: 0;
    white-space: nowrap;
    padding: 0 40px;
}
/* Animazione: trasla esattamente la metà, perché abbiamo due copie identiche */
@keyframes scorrimento{
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
/* spegni l'animazione quando usi lo scroll driven via JS */
.scroller.js-scroll .scroller_track{
  animation: none;
}
/* Pausa al passaggio del mouse (opzionale) */
.scroller:hover .scroller_track{
  animation-play-state: paused;
}
.scroller.text_img p{
    font-weight: 800;
    opacity: .8;
    letter-spacing: 1px;
}
/* ========== END SCROLLER ========== */

.bck_img{
    position: relative;
}
.bck_img figure.bck{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}
.bck_img .filter_top{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50svh;
    background: linear-gradient(
    to top,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 100%
    );
    z-index: -2;
}
.bck_img .filter_bottom{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50svh;
    background: linear-gradient(
    to top,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: -2;
}
.bck_img .info{
    padding: var(--pd_ltrt);
    padding-top: 100px;
    padding-bottom: 100px;
    max-width: 800px;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.bck_img .info p{
    font-size: 33px;
    font-weight: 300;
    line-height: normal;
}

/********** LOGOS_GRID ********/
.logos_grid{
    display: grid;
    gap: 1px;
    background-color: #dadada;
}
.logos_grid .item{
    background-color: white;
}
.logos_grid img{
    width: 100%;
}
/********** END LOGOS_GRID ********/

.box2_eq {
    display: flex;
}
.box2_eq p{
    font-weight: 300;
    line-height: normal; 
}
.link {
    text-decoration: underline;
    cursor: pointer;
}

footer{
    background-color: var(--txt_color_dark);
    color: white;
}
footer .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}
footer .logo {
    width: 250px;
    margin-bottom: 10px;
}
footer p {
    line-height: 29px;
}
footer svg {
    width: 40px;
}
footer a{
    color: inherit;
}
