.eko {
    height: 100px;
    margin-bottom: 2em;
}


:root {
    --red: #ffffff;
    --dark-blue: #ffffff;
    --turquoise: #ffffff;
    --white: #ffffff;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
}

body {
    padding-bottom: 50px;
    margin: 0;
    overflow-x: hidden;
    position: relative;

}

.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.1s linear;
}

#slika-pozadina {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -3;
}

.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    opacity: 0;
    pointer-events: none;
    z-index: -2;
    transition: opacity 0.1s linear;
}



/* INTRO SECTION
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.intro {
    color: var(--white);
    background: var(--white);
    padding: 100px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.item-inner{
     background: rgba(0, 0, 0, 0.5);
     margin-left: 0.6em;
}
.item-inner:hover {
     background-color: rgba(0, 0, 0, 0.2);
     transform: scale(1.02);
    box-shadow:
        0px 0px 20px rgba(71, 128, 209, 0.8),
        0 0 25px rgba(41, 215, 198, 0.5),
        0 0 30px rgba(37, 69, 66, 0.3);
    transition: width 0.8s linear;
 }

.timeline {
    padding: 250px 20px;
    margin: 0 auto;
    max-width: 1000px;
    color: var(--white);
}

.timeline ol {
    position: relative;
    list-style: none;
}

.timeline ol::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--white);
     box-shadow:
        0px 0px 20px rgba(71, 128, 209, 0.8),
        0 0 25px rgba(41, 215, 198, 0.5),
        0 0 30px rgba(37, 69, 66, 0.3);
    transition: width 0.8s linear;
}

.timeline ol li .item-inner {
    padding: 20px 180px;
    margin-bottom: 10vh;
}

.timeline ol li .time-wrapper {
    position: relative;
    font-size: 4em;
    font-weight: bold;
    line-height: 1.5;
    text-shadow:  0px 0px 20px rgba(71, 128, 209, 0.8),
        0 0 25px rgba(41, 215, 198, 0.5),
        0 0 30px rgba(37, 69, 66, 0.3);;
        
}

.timeline ol li .time-wrapper::before,
.timeline ol li .time-wrapper::after {
    content: "";
    position: absolute;
    background: var(--white);
}

.timeline ol li .time-wrapper::before {
    top: 50%;
    left: -180px;
    transform: translateY(-50%);
       width: 120px;
    height: 3px;
    transition: width 0.8s linear;
     box-shadow:
        0px 0px 20px rgba(71, 128, 209, 0.8),
        0 0 25px rgba(41, 215, 198, 0.5),
        0 0 30px rgba(37, 69, 66, 0.3);
    transition: width 0.8s linear;
  
     
}

.timeline ol li .time-wrapper::after {
    top: calc(50% - 8px);
    left: -60px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    transform: scale(0);
    transform-origin: left center;
    transition: all 0.4s linear;
      box-shadow:
        0px 0px 20px rgba(71, 128, 209, 0.8),
        0 0 25px rgba(41, 215, 198, 0.5),
        0 0 30px rgba(37, 69, 66, 0.3);
    transition: width 0.8s linear;
}

.timeline ol li time,
.timeline ol li .details>* {
    opacity: 0;
    transition: 0.5s;
}

.timeline ol li time {
    display: inline-block;
    transform: translateY(-30px);
}

.timeline ol li .details>* {
    transform: translateY(30px);
}

.timeline ol li .details h3 {
    font-size: 2.5em;
    line-height: 1;
    margin-top: 0.2em;
    margin-bottom: 1em;
   text-shadow:  0px 0px 20px rgba(71, 128, 209, 0.8),
        0 0 25px rgba(41, 215, 198, 0.5),
        0 0 30px rgba(37, 69, 66, 0.3);;
}





/* ANIMATION STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ol li.in-view .time-wrapper::before {
    width: 120px;
}

.timeline ol li.in-view .time-wrapper::after {
    transition-delay: 0.8s;
    transform: scale(1.5);
}

.timeline ol li.in-view time,
.timeline ol li.in-view .details>* {
    opacity: 1;
    transform: none;
}

.timeline ol li.in-view time {
    transition-delay: 0.5s;
}

.timeline ol li.in-view .details h3 {
    transition-delay: 0.3s;
}

.timeline ol li.in-view .details p {
    transition-delay: 0.7s;
    font-size: 1em;

}
.timeline ol li.in-view .details h4 {
   font-size: 1.5em;
   text-shadow:  0px 0px 20px rgba(71, 128, 209, 0.8),
        0 0 25px rgba(41, 215, 198, 0.5),
        0 0 30px rgba(37, 69, 66, 0.3);

}





/* MQ STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 768px) and (max-width: 1024px) {

    .timeline ol li .details h3 {
    font-size: 2em;
    margin-top: 0.2em;
}
    .timeline ol li .time-wrapper {
    font-size: 3em;
        
}

.timeline ol li.in-view .details p {
    transition-delay: 0.7s;
    font-size: 1.2em;

}
.timeline ol li.in-view .details h4 {
   font-size: 1.6em;

}

}

@media (max-width: 700px) {
    .timeline ol li .item-inner {
        padding: 20px 10px;
    }

    .timeline ol li .time-wrapper::before {
        display: none;
    }


    .timeline ol li.in-view .time-wrapper::after {
        transition-delay: 0s;
    }

    .timeline ol li.in-view time {
        transition-delay: 0.5s;
    }

    .timeline ol li.in-view .details h3 {
        transition-delay: 0.3s;
    }

    .timeline ol li.in-view .details p {
        transition-delay: 0.7s;
    }




    .timeline ol li .time-wrapper {
    font-size: 2.5em;
        
}

.timeline ol li .details h3 {
    font-size: 1.8em;
    margin-top: 0.2em;
}

.timeline ol li.in-view .details p {
    transition-delay: 0.7s;
    font-size: 1em;

}
.timeline ol li.in-view .details h4 {
   font-size: 1.2em;

}

.details{
    margin-left: 0.3em;
}


.timeline ol li .time-wrapper::after {
   transform-origin: center;
    left: -0.4em;
   height: 10px;
   width: 10px;
}
}