:root {
    --foncé: black;
    --middle: rgb(63, 64, 64);
    --clair: rgb(186, 186, 186);
}


.UpperPart {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 3;
    background-color: white;
}

.UpperPart-Img {
    padding: 50px;
}

.UpperPart-Img img {
    height: 100%;
    width: 100%;
}

.UpperPart-text {
    height: auto;
    padding: 50px 50px 50px 0px;
    text-align: left;
    line-height: 2;
}

.UpperPart-Title {
    color: var(--foncé);
    padding: 20px;
    font-size: 30px;
    font-weight: 600;
}

.UpperPart-SubTitle {
    color: var(--foncé);
    padding: 20px;
    font-weight: 500;
}

.UpperPart-Description {
    font-size: 20px;
    color: #7D7D7D;
    padding: 20px;
}


/******* this is the upper horizontal and vertical lines *************************************************/
.connection-line {
    height: 30vh;
    width: 50%;
    background-color: white;
    margin-top: -10vh;
    margin-left: 25%;
    margin-right: 25%;
    border-right: 1.2px solid var(--foncé);
    z-index: 3;
}
.horizontal-lines {
    display: block;
    width: 0px;
    height: 1.2px;
    margin-top: 30vh;
    position: absolute;
    background-color: var(--foncé);
    animation-name: animated-line;
    -webkit-animation-name: animated-line;
    -ms-animation-name: animated-line;
    -moz-animation-name: animated-line;
    animation-duration: 3s;
    -webkit-animation-duration: 3s;
    -ms-animation-duration: 3s;
    -moz-animation-duration: 3s;
    animation-delay: 1s;
    -ms-animation-delay: 1s;
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
}

#line-left {
    left: 50%;
}

#line-right {
    right: 25%;
}

#line-center {
    margin: auto;
}

/************************************************************************************/

/********************************************************/

.timeline {
    list-style: none;
    padding-top: 30vh;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 1.5px;
    background-color: var(--clair);
    border: 1.25px solid var(--clair);
    left: 50%;
    height: 100%;
    z-index: -5;
}
:root {
    --translate-distance: 0px;
}
.timeline:after {
    top: 0;
    bottom: 0;
    position: fixed;
    content: " ";
    width: 1.5px;
    background-color: var(--foncé);
    left: 50%;
    transform: translateX(var(--equalizerDistance));
    border: 1.25px solid var(--foncé);
    height: 50vh;
    z-index: -5;
}

/************************************************************************************/

.timeline>li {
    position: relative;
}

/************************************************************************************/

.timeline>li:before, .timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

/************************************************************************************/

.timeline-panel {
    width: 35%;
    height: 500px;
    float: left;
    padding: 50px 25px 50px 25px;
    position: relative;
    text-align: justify;
    color: var(--foncé);
}

/************************************************************************************/

.timeline-panel:before {
    position: absolute;
    top: 29%;
    right: -6vw;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--clair);
    content: " ";
    background-color: white;
    z-index: 99;
}

/************************************************************************************/

.timeline-panel-img img {
    width: 100%;
    height: auto;
    max-width: 40vw;
    max-height: 35vh;
    left: auto;
    right: auto;
}

/************************************************************************************/

.timeline-panel-img:before {
    position: absolute;
    top: 29%;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--clair);
}

/************************************************************************************/

.timeline-panel:after {
    position: absolute;
    top: 31%;
    right: -14.25vw;
    display: inline-block;
    width: 8.3vw;
    height: 1px;
    background-color: var(--clair);
    content: " ";
    z-index: -3;
}

/************************************************************************************/

.timeline-badge.active {
    color: var(--foncé);
    animation-name: lines;
    -webkit-animation-name: lines;
    -ms-animation-name: lines;
    -moz-animation-name: lines;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-delay: 0s;
    -ms-animation-delay: 0s;
    -webkit-animation-delay: 0s;
    -moz-animation-delay: 0s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
}

/************************************************************************************/

.timeline-panel-body {
    opacity: 1;
}

/************************************************************************************/

.timeline-panel.active:after {
    animation-name: lines2;
    -webkit-animation-name: lines2;
    -ms-animation-name: lines2;
    -moz-animation-name: lines2;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-delay: 0.5s;
    -ms-animation-delay: 0.5s;
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
}

/************************************************************************************/

.timeline-panel.active:before {
    animation-name: lines3;
    -webkit-animation-name: lines3;
    -ms-animation-name: lines3;
    -moz-animation-name: lines3;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-delay: 1s;
    -ms-animation-delay: 1s;
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
}

/************************************************************************************/

.timeline-panel-img.active:before {
    animation-name: ani-img;
    -webkit-animation-name: ani-img;
    -ms-animation-name: ani-img;
    -moz-animation-name: ani-img;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-delay: 1s;
    -ms-animation-delay: 1s;
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
}

/************************************************************************************/

.timeline-badge {
    color: var(--clair);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    line-height: 100px;
    font-size: 2em;
    text-align: center;
    position: absolute;
    top: 20%;
    left: 50%;
    margin-left: -50px;
    background-color: white;
    border: 1px solid var(--clair);
    z-index: 100;
}

/************************************************************************************/

.timeline-body p {
    font-size: 1.2em;
    line-height: 2;
    text-align: justify;
}

/************************************************************************************/

.timeline-panel.timeline-inverted, .timeline-inverted>.timeline-panel {
    float: right;
}

.timeline-panel.timeline-inverted:before, .timeline-inverted>.timeline-panel:before {
    left: -6vw;
    right: auto;
}

.timeline-panel.timeline-inverted:after, .timeline-inverted>.timeline-panel:after {
    background-color: var(--clair);
    left: -15.2vw;
    right: auto;
    width: 10vw;
}
.timeline-title{
    font-size: 2.2vw;
    line-height: 1.5;
    text-align: center;
    font-weight: 600;
}

/************************************************************************************/


.endpart {
    position:relative;
    height: 50vh;
    background-color: white;
    z-index: 3;
    margin-top:100px;
    text-align:center;
}
.endpart p{
    padding-top:200px;
}
/************************************************************************************/
@keyframes animated-line {
    0% {
        width: 0px;
    }
    100% {
        width: 25%;
    }
}

@keyframes ani-img {
    0% {
        background-color: var(--clair);
        transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
    }
    50% {
        background-color: var(--middle);
        transform: scale(2, 2);
        -ms-transform: scale(2, 2);
        -webkit-transform: scale(2, 2);
        -moz-transform: scale(2, 2);
    }
    100% {
        background-color: var(--foncé);
        transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
    }
}

@keyframes ani-panel {
    0% {
        color: var(--middle);
    ;
        opacity: 0;
    }
    50% {
        color: var(--middle);
        opacity: 0.5;
    }
    100% {
        color: var(--middle);
        opacity: 1;
    }
}

@keyframes ani-body {
    0% {
        color: var(--clair);
    }
    50% {
        color: var(--middle);
    }
    100% {
        color: var(--foncé);
    }
}

@keyframes lines3 {
    0% {
        border: 1px solid var(--clair);
        transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
    }
    50% {
        border: 1.25px solid var(--middle);
        transform: scale(2, 2);
        -ms-transform: scale(2, 2);
        -webkit-transform: scale(2, 2);
        -moz-transform: scale(2, 2);
    }
    100% {
        border: 1.5px solid var(--foncé);
        transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
    }
}

@keyframes lines {
    0% {
        border: 1px solid var(--clair);
        transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
    }
    50% {
        border: 1.25px solid var(--middle);
        transform: scale(1.5, 1.5);
        -ms-transform: scale(1.5, 1.5);
        -webkit-transform: scale(1.5, 1.5);
        -moz-transform: scale(1.5, 1.5);
    }
    100% {
        border: 1.5px solid var(--foncé);
        transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
    }
}

@keyframes lines2 {
    0% {
        height: 1px;
    }
    50% {
        height: 1.25px;
        background-color: var(--middle);
    }
    100% {
        height: 1.5px;
        background-color: var(--foncé);
    }
}
@media (max-width: 1023px)
and (-webkit-min-device-pixel-ratio:1)
{
    .connection-line {
        display: none;
    }
    .timeline {
        padding-top: 50px;
        margin-left: 0;
    }
    .timeline:before {
        left: 50%;
        display: none;
    }
    .timeline:after {
        left: 50%;
        display: none;
    }
    .timeline>li {
        padding-bottom: 10%;
    }
    .timeline>li>.timeline-badge {
        width: 125px;
        height: 125px;
        border-radius: 50%;
        line-height: 125px;
        font-size: 2em;
        left: 50%;
        top: 0;
        margin-bottom: 50px;
        position: relative;
    }
    .timeline-badge.active {
        color: var(--foncé);
        animation-name: lines-mob;
        -webkit-animation-name: lines-mob;
        -ms-animation-name: lines-mob;
        -moz-animation-name: lines-mob;
        animation-duration: 1s;
        -webkit-animation-duration: 1s;
        -ms-animation-duration: 1s;
        -moz-animation-duration: 1s;
        animation-delay: 0s;
        -ms-animation-delay: 0s;
        -webkit-animation-delay: 0s;
        -moz-animation-delay: 0s;
        animation-fill-mode: forwards;
        -webkit-animation-fill-mode: forwards;
        -ms-animation-fill-mode: forwards;
        -moz-animation-fill-mode: forwards;
        animation-iteration-count: 1;
        -webkit-animation-iteration-count: 1;
        -ms-animation-iteration-count: 1;
        -moz-animation-iteration-count: 1;
    }
    .timeline>li>.timeline-panel {
        width: 100vw;
        height: 55vh;
        float: none;
        left: 0%;
        background-color: white;
        z-index: 5;
        display: block;
        padding: 5%;
        text-align: justify;
    }
    .timeline>li>.timeline-panel.timeline-inverted, .timeline>li.timeline-inverted>.timeline-panel {
        float: none;
    }
    .timeline>li>.timeline-panel::before {
        display: none;
    }
    .timeline>li>.timeline-panel::after {
        display: none;
    }
    .timeline>li>.timeline-panel-img::before {
        display: none;
    }
    .timeline>li>.timeline-panel-img::after {
        display: none;
    }
    .timeline-body p {
        font-size: 90%;
        line-height: 1.25;
    }
    .timeline-title {
        text-align: center;
        font-size: 1.5em;
    }
    .timeline-panel-img img {
        width: 100%;
        height: auto;
        max-width: 90vw;

        left: auto;
        right: auto;
    }


    @keyframes lines-mob {
        0% {
            border: 1px solid var(--clair);
            transform: scale(1, 1);
            -ms-transform: scale(1, 1);
            -webkit-transform: scale(1, 1);
            -moz-transform: scale(1, 1);
        }
        50% {
            border: 1.25px solid var(--middle);
            transform: scale(1.2, 1.2);
            -ms-transform: scale(1.2, 1.2);
            -webkit-transform: scale(1.2, 1.2);
            -moz-transform: scale(1.2, 1.2);
        }
        100% {
            border: 1.5px solid var(--foncé);
            transform: scale(1, 1);
            -ms-transform: scale(1, 1);
            -webkit-transform: scale(1, 1);
            -moz-transform: scale(1, 1);
        }
    }
    .timeline-body p {
        font-size: 1em;
        line-height: 1.4;
        text-align: justify;
    }

}



/* modification Paulin Manteau */



@font-face {
    font-family: 'madeInfinityThin';
    src: url('./fonts/madeInflityFont/MADEINFINITYPersonalUse-Thin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'madeInfinityLight';
    src: url('./fonts/madeInflityFont/MADEINFINITYPersonalUse-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'vokrus';
    src: url('./fonts/Vorkurs/II Vorkurs Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AcuminPro';
    src: url('./fonts/Acumin Pro/Acumin Pro Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

h4 {
    font-family: 'madeInfinityLight' !important;
}

.timeline p {
    font-family: 'madeInfinityThin' !important;
}

#lilSpaceTransition {
    height: 80vh;
    width: 100vw;
    background-color: white;
}

body {
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

.giverSpace:before, .giverSpace:after{
    content : none !important;
}


.activationTimeline {
    /* animation : animationActivationTimeline 0.1s ease-in-out 2s forwards; */
    display : block;
}
