/* Couleurs du titre */
#header-title {
    background: linear-gradient(to bottom,rgb(245,245,220),rgb(245,245,220),rgb(248, 0, 248));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} 

/* Corps de la page */
#myBody {
    background-image:linear-gradient(to bottom right, rgba(216, 72, 216, 0.75), rgba(150, 216, 255, 0.8), rgba(255, 90, 70, 0.75));
}

/* Conteneurs des timelines pour gérer leur origine horizontale et l'alignement */
.upper-timeline, .upper-timeline-2 {
    width: 80%;
    display: flex;
    align-items: center;   
}

/* Les points jonchant les timelines */
.timeline-point, .timeline-point-2, .timeline-point-3 {
    position: absolute;
    transform: translateX(-48%);
    border: 3px solid #fff;
    border-radius: 20px;
    width: 20px;
    height: 20px;
}

/* Contenus associés aux points des timelines */
.timeline-content, .timeline-content-2, .timeline-content-3 {
    position: relative;
    background: white;
    border-radius: 10px;
    padding: 2vh;
    width: 50vw;
    margin-bottom: 10vh;
}

/* Titres, textes et listes incluses dans les contenus en question */
.timeline-content h3, .timeline-content-2 h3, .timeline-content-3 h3, .timeline-content p, .timeline-content-2 p, .timeline-content-3 p, .timeline-content ul, .timeline-content-2 ul, .timeline-content-3 ul {
    margin-bottom: 10px;
    font-size: larger;
    text-align: justify;
}

/* Eléments de listes dans les contenus des timelines */
.timeline-content li, .timeline-content-2 li, .timeline-content-3 li {
    margin: 5px 0 5px 0;
    margin-left: 5vw;
    font-size: large;
}

/* Liens dans les contenus des timelines */
.timeline-content a, .timeline-content-2 a, .timeline-content-3 a {
    color: black;
}

/* Timeline allignée à gauche */
.upper-timeline {
    justify-content: flex-start;
}

/* La timeline elle-même */
.timeline {
    position: relative;
    width: 2px;
    border-radius: 5px;
    background: #ccc;
    height: fit-content;
}

.timeline-container {
    position: relative;
}

/* Points bleus */
.timeline-point {
    background: #3498db;
}

/* Contenus associés aux timelines allignées à gauche */
.timeline-content, .timeline-content-3 {
    left: 25px;
}

/* Titres bleus */
.timeline-content h3 {
    color: #3498db;
}

/* Timeline allignée à droite */
.upper-timeline-2 {
    justify-content: flex-end;
}

/* Points verts */
.timeline-point-2 {
    background: rgb(157, 255, 0);
}

/* Contenus associés aux timelines alignées à droite */
.timeline-content-2 {
    left: -55vw;
}

/* Titres verts */
.timeline-content-2 h3 {
    color: rgb(157, 255, 0);
}

/* Points orange */
.timeline-point-3 {
    background: orangered;
}

/* Titres orange */
.timeline-content-3 h3 {
    color: orangered;
}

/* Fonds des sections */
.exe-1, .exe-2, .exe-3 {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5%;
}

/* Fond bleu */
.exe-1 {
    background-color: rgba(30, 143, 255, 0.5);
    margin-top: 9%;
}

/* Fond vert */
.exe-2 {
    background-color: rgba(130, 192, 31, 0.5);
}

/* Fond orange */
.exe-3 {
    background-color: rgba(255, 184, 30, 0.5);
}

/* Les titres de section */
.exe-title-d, .exe-title-g {
    font-size: xx-large;
    font-family: cursive;
    background-color: rgba(255, 255, 255, 0.8);
    width: fit-content;
    margin: 0 0 8% 0;
}

/* Titre de section en haut à droite */
.exe-title-d {
    padding: 1% 5% 1% 2%;
    border-bottom-left-radius: 30px;
    align-self: flex-end;
}

/* Titre de section en haut à gauche */
.exe-title-g {
    padding: 1% 2% 1% 5%;
    border-bottom-right-radius: 30px;
    align-self: flex-start;
}

@media only screen and (max-width:768px)  {

    .upper-timeline, .upper-timeline-2 {
        width: 90%;
    }

    .timeline-point, .timeline-point-2, .timeline-point-3 {
        width:16px;
        height:16px;
    }

    .timeline-content, .timeline-content-3 {
        left: 4vw;
        width: 70vw;
    }

    .timeline-content-2 {
        left: -78vw;
        width: 70vw;
    }

    .timeline-content h3, .timeline-content-2 h3, .timeline-content-3 h3, .timeline-content p, .timeline-content-2 p, .timeline-content-3 p, .timeline-content li, .timeline-content-2 li, .timeline-content-3 li, b {
        font-size: medium;
    }
}

@media only screen and (max-width:500px)  {

    .timeline-content-2 {
        left: -82vw;
        width: 70vw;
    }

    .exe-title-d, .exe-title-g {
        font-size: x-large;
    }

    .exe-title-d {
        padding: 1% 3% 1% 3%;
    }

    .exe-title-g {
        padding: 1% 3% 1% 3%;
    }
}

@media only screen and (max-width:300px)  {

    .timeline-content-2 {
        left: -86vw;
        width: 70vw;
    }

    .timeline-content, .timeline-content-3 {
        left: 6vw;
    }

    .exe-title-d, .exe-title-g {
        font-size: larger;
    }

    .exe-title-d {
        padding: 1% 3% 1% 5%;
    }

    .exe-title-g {
        padding: 1% 5% 1% 3%;
    }

    .timeline-content h3, .timeline-content-2 h3, .timeline-content-3 h3, .timeline-content p, .timeline-content-2 p, .timeline-content-3 p, .timeline-content li, .timeline-content-2 li, .timeline-content-3 li, b {
        font-size: small;
    }

}