* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Montserrat, Arial, sans-serif;
    background-color: #000;
    color: white;
    overflow-x: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100vh; */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: opacity 1s ease-in-out;
    opacity: 1;
    z-index: -1;
}

/* Timeline */
.timeline-container {
    position: fixed;
    width: 20%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    top: 0;
    left: 0;
}

.timeline-line {
    position: absolute;
    /*left: 50%;*/
    left: 125px;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
    top: var(--parallax-start, 0);
    height: calc(100% - var(--parallax-start, 0));
}

.timeline-center-dot {
    position: fixed;
    /*left: 10%;*/
    left: 125px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


/* Sezioni */
.parallax {
    position: relative;
    /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}



.bg-color {
    /* background-color: #485aa6; */
    background-color: #003DA6;
}


.white {
    color: white;
}

.timeline-year {
    font-family: Montserrat;
    color: var(--white);
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
    font-size: 7.4375rem;
    line-height: 1;
}

.timeline-title {
    color: var(--white);
    margin-top: 3.125rem;
    margin-bottom: 1.5625rem;
    font-size: 2.375rem;
    line-height: 4.125rem;
}

.timeline-element {
    border-top: 1px solid var(--white);
    width: 45%;
    margin-top: -6.675rem;
    margin-bottom: -6.675rem;
}

/* 
.image-timeline {
    
    aspect-ratio: 512 / 440;
    object-fit: cover;
    width: 100%;
} */


.huge-year {
    z-index: 0;
    opacity: .15;
    color: var(--white);
    text-align: center;
    height: 0;
    margin-top: 10rem;
    margin-bottom: 30rem;
    font-size: 28.3894rem;
    position: sticky;
    top: 10rem;
}


.animate-year {
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-play-state: running;
    animation-name: yearSlide;
    animation-timeline: auto;
    animation-range-start: normal;
    animation-range-end: normal;
}




@media (min-width: 576px) {
    h1 {
       font-size: 16px;
    }
}


@media (max-width: 642px) {
    h1 {
        font-size: 12vw!important;
    }

    h2 {
        font-size: 10vw!important;
    }

    p {
        font-size: 6vw!important;
    }
}

@media (max-width: 991px) {
    .timeline-container {
        display: none;
    }
    .fixed-year {
        padding-right: 0px!important;
        font-size: 30vw!important;
        font-weight: 700;
    }


 


@media (min-width: 1200px) {
    /* CSS per xl */
}

/* XXL - Extra extra large devices (very large screens) */
@media (min-width: 1400px) {
    /* CSS per xxl */
}
