body {	
    background-color: rgb(0, 160, 255);
    background-image: url(../img/bg_body.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-bottom: 8em;
    
    color: lightgray;
    font-family: "Sofia", sans-serif;
    font-size: 112.5%;
    line-height: 1.6em;
}

img.bac{
    height: 15%;
    width: 15%;
    margin-left: 40%;
}

h1{
    color: lightgrey;
    font-size: 50px;
    margin-left: 40%;
}

ul.sommaire{
    color: lightgrey;
    padding: 8px;
}

nav.menu ul li.btn{
    list-style-type: none;
    display: inline-block;
}

nav.menu ul li.btn a{
    color: lightgrey;
    background-color: darkblue;
    text-decoration: none;
    padding: 10px;
    font-size: 20px;
    border-radius: 10px;
}

nav.menu ul li.btn:hover a{
    color: darkblue;
    background-color: lightgrey;
    text-decoration: none;
    padding: 10px;
    font-size: 20px;
    border-radius: 10px;
    transition: 0.3s all;
}

/* ================ The Timeline ================ */
  
ul.timeline {
    position: relative;
    width: 660px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 1em 0;
    list-style-type: none;
}
  
ul.timeline:before {
    position: absolute;
    left: 50%;
    top: 0;
    content: ' ';
    display: block;
    width: 6px;
    height: 100%;
    margin-left: -3px;
    background: gray;
    background: -moz-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
    background: -webkit-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    background: -o-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    background: -ms-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
    
    z-index: 5;
}
  
ul.timeline li {
    padding: 1em 0;
}
  
ul.timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
  
div.direction-l {
    position: relative;
    width: 300px;
    float: left;
    text-align: right;
}
  
div.direction-r {
    position: relative;
    width: 300px;
    float: right;
}
  
div.flag-wrapper {
    position: relative;
    display: inline-block;
    
    text-align: center;
}
  
span.flag {
    position: relative;
    display: inline;
    background: darkblue;
    padding: 12px 16px;
    border-radius: 5px;
    
    font-weight: 500;
    text-align: left;
}
  
div.direction-l span.flag {
    -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}
  
div.direction-r span.flag {
    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}
  
div.direction-l span.flag:before, div.direction-r span.flag:before {
    position: absolute;
    top: 50%;
    right: -40px;
    content: ' ';
    display: block;
    width: 12px;
    height: 12px;
    margin-top: -10px;
    background: #fff;
    border-radius: 10px;
    border: 4px solid rgb(255,80,80);
    z-index: 10;
}

div.direction-r span.flag:before {
    left: -40px;
}
  
div.direction-l span.flag:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(248,248,248);
    border-width: 8px;
    pointer-events: none;
}
  
div.direction-r span.flag:after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(248,248,248);
    border-width: 8px;
    pointer-events: none;
}
  
span.time-wrapper {
    display: flex;
    
    line-height: 1em;
    font-size: 0.66666em;
    color: rgb(250,80,80);
    vertical-align: middle;
}
  
div.direction-l span.time-wrapper {
    float: left;
}
  
div.direction-r span.time-wrapper {
    float: right;
}
  
span.time {
    display: inline-block;
    padding: 4px 6px;
    background: rgb(248,248,248);
}
  
div.desc {
    margin: 1em 0.75em 0 0;
    
    font-size: 0.77777em;
    font-style: italic;
    line-height: 1.5em;
}
  
div.direction-r div.desc {
    margin: 1em 0 0 0.75em;
}
  
/* ================ Timeline Media Queries ================ */
  
@media screen and (max-width: 660px) {
  
    ul.timeline {
        width: 100%;
        padding: 4em 0 1em 0;
    }
    
    ul.timeline li {
        padding: 2em 0;
    }

    div.direction-l, div.direction-r {
        float: none;
        width: 100%;
    
        text-align: center;
    }

    div.flag-wrapper {
        text-align: center;
    }
    
    span.flag {
        background: rgb(255,255,255);
        z-index: 15;
    }

    
    div.direction-l span.flag:before, div.direction-r span.flag:before {
        position: absolute;
        top: -30px;
        left: 50%;
        content: ' ';
        display: block;
        width: 12px;
        height: 12px;
        margin-left: -9px;
        background: #fff;
        border-radius: 10px;
        border: 4px solid rgb(255,80,80);
        z-index: 10;
    }
    
    div.direction-l span.flag:after, div.direction-r span.flag:after {
        content: "";
        position: absolute;
        left: 50%;
        top: -8px;
        height: 0;
        width: 0;
        margin-left: -8px;
        border: solid transparent;
        border-bottom-color: rgb(255,255,255);
        border-width: 8px;
        pointer-events: none;
    }
    
    span.time-wrapper {
        display: block;
        position: relative;
        margin: 4px 0 0 0;
        z-index: 14;
    }
    
    div.direction-l span.time-wrapper {
        float: none;
    }
    
    div.direction-r span.time-wrapper {
        float: none;
    }
    
    div.desc {
        position: relative;
        margin: 1em 0 0 0;
        padding: 1em;
        background: rgb(245,245,245);
        -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
        -moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
        box-shadow: 0 0 1px rgba(0,0,0,0.20);
        
        z-index: 15;
    }
    
    div.direction-l div.desc, div.direction-r div.desc {
        position: relative;
        margin: 1em 1em 0 1em;
        padding: 1em;
        
        z-index: 15;
    }
  
}