body, main {
    background-color: #1d1d1b;
}

a:hover {
    text-decoration: underline white;
}

p, h1, h2, h3 h4, h5, h6, strong, span, a {
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
}

video {
    /*position: fixed;*/
    z-index: -100;
}

.parallax-container {
    height: 1080px;
}

#bin01, #logo {
    float: right;
}

/*Qui suis-je*/

#first {
    padding-inline-end: 12%;
    padding-inline-start: 5%;
}

/*Que fais-je*/

.collapsible-header {
    background-color: transparent;
    color: white;
    border: none;
}

#second {
    padding-inline-start: 12%;
    padding-inline-end: 5%;
}

#thirst {
    padding-inline-start: 5%;
    padding-inline-end: 12%;
    padding-block-start: 5%;
}

.collapsible {
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

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


/* .section SECTION
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.section {
    padding: 50px 0;
}

.timeline h2 {
    text-align: center;
}

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

.section h1 {
    font-size: 2.5rem;
}

.section h2 {
    font-size: 1.3rem;
}


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

.timeline {
    white-space: nowrap;
    overflow-x: hidden;
}

.timeline ol {
    font-size: 0;
    width: 100vw;
    padding: 250px 0;
    transition: all 1s;
}

.timeline ol li {
    position: relative;
    display: inline-block;
    list-style-type: none;
    width: 160px;
    height: 3px;
    background: #fff;
}

.timeline ol li:last-child {
    width: 280px;
}

.timeline ol li:not(:first-child) {
    margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 1px);
    bottom: 0;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: white;
}

.timeline ol li div {
    position: absolute;
    left: calc(100% + 7px);
    width: 280px;
    padding: 15px;
    font-size: 1rem;
    white-space: normal;
    color: black;
    background: white;
}

.timeline ol li div::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline ol li:nth-child(odd) div {
    top: -16px;
    transform: translateY(-100%);
}

.timeline ol li:nth-child(odd) div::before {
    top: 100%;
    border-width: 8px 8px 0 0;
    border-color: white transparent transparent transparent;
}

.timeline ol li:nth-child(even) div {
    top: calc(100% + 16px);
}

.timeline ol li:nth-child(even) div::before {
    top: -8px;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent white;
}

.timeline time {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}


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

.timeline .arrows {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.timeline .arrows .arrow__prev {
    margin-right: 20px;
}

.timeline .disabled {
    opacity: .5;
}

.timeline .arrows img {
    width: 45px;
    height: 45px;
}


/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 599px) {
    .timeline ol,
    .timeline ol li {
        width: auto;
    }

    .timeline ol {
        padding: 0;
        transform: none !important;
    }

    .timeline ol li {
        display: block;
        height: auto;
        background: transparent;
    }

    .timeline ol li:first-child {
        margin-top: 25px;
    }

    .timeline ol li:not(:first-child) {
        margin-left: auto;
    }

    .timeline ol li div {
        width: 94%;
        height: auto !important;
        margin: 0 auto 25px;
    }

    .timeline ol li div {
        position: static;
    }

    .timeline ol li:nth-child(odd) div {
        transform: none;
    }

    .timeline ol li:nth-child(odd) div::before,
    .timeline ol li:nth-child(even) div::before {
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        border: none;
        border-left: 1px solid white;
        height: 25px;
    }

    .timeline ol li:last-child,
    .timeline ol li:nth-last-child(2) div::before,
    .timeline ol li:not(:last-child)::after,
    .timeline .arrows {
        display: none;
    }
}

/*Projets*/

#case01, #case02, #case03, #case04 {
    padding: 0;
    display: flex;
    justify-content: space-between;
    padding-block-start: 2%;
    padding-block-end: 2%;
    padding-inline-start: 2%;
    padding-inline-end: 2%;
}

#case01 p strong, #case02 p strong, #case03 p strong, #case04 p strong {
    font-weight: 600;
    font-size: large;
}

#case01 a, #case02 a, #case03 a, #case04 a {
    background-color: white;
    border: 0;
    color: #1d1d1b;
    border-radius: 0;
}

#case01 {
    border-right: 1px solid white;
}

#case02 {
    border-bottom: 1px solid white;
}

#case03 {
    border-right: 1px solid white;
    border-top: 1px solid white;
}

/*Footer*/

ul li a {
    position: relative;
    bottom: 18px;
    background-color: white;
    color: #1d1d1b;
    font-size: large;
    padding: 6px;
}

#modal p, #modal h5,#modal  h2,#modal  a {
    color: #1d1d1b;
}

.waves-effect.waves-light.btn.modal-trigger {
    background-color: white;
    color: #1d1d1d;
    position: absolute;
    margin: 1%;
}

@media screen and (max-width: 500px) {
    #index-banner video {
        display: none;
    }

    #index-banner {
        background-image: url("https://severine-noel.fr/assets/img/Home_smatphone_1334x750px.jpg");
        background-repeat: no-repeat;
        background-size: contain;
    }

    .parallax-container {
        height: 805px;
    }

    #logo {
        float: unset;
        display: block;
        margin: auto;
        padding-bottom: 8%;
    }

    #case01 {
        border-right: 0;
        border-bottom: 1px solid white;
    }

    #case02 {
        border-bottom: 1px solid white;
    }

    #case03 {
        border-right: 0;
        border-top: 0;
        border-bottom: 1px solid white;
    }

    #case01, #case02, #case03, #case04 {
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
    }

    #case01 p, #case02 p, #case03 p, #case04 p {
        padding-bottom: 5%;
    }

    #case01 a, #case02 a, #case03 a, #case04 a {
        margin-bottom: 3%;
    }
}

@media screen and (max-width: 380px) {
    .parallax-container {
        height: 661px;
    }
}