html {
    background-color: #D3D3D3;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #4B4B4B;
    letter-spacing: 0.1rem;
    line-height: 1.1rem;
}

footer { 
    display: block;
    position: absolute;
    margin: 5rem -2rem;
    max-width: 850px;
    height: 150px;
    width: 100%;
    font-size: 0.8rem;
    background-color: #D3D3D3;
    text-align: center;
        font-weight: 400;
    line-height: 1.4rem;
    letter-spacing: 0.00rem;
}

body {
    margin: 25px auto;
    padding: 2rem 2rem 4rem;
    max-width: 850px;
    color: #4B4B4B;
    background-color: #F5F5F5;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
}



header {
	display: block;
    background-color: #F5F5F5;
	border: 0px solid;
	border-bottom-width: 0px;
	margin: 0px auto  -30px;  
}



content {
    font-size: 1rem;
    display:block;
    font-weight: normal;
    max-width: 750px;
    margin: auto;
    text-align: justify;
}

h1{
    display: block;
    color: #4B4B4B;
    font-size: 2rem;
    font-weight: 200;
    line-height: 1.1rem;
    vertical-align: bottom;
    letter-spacing: 0.1rem;
    
}


h2 {
    display: inline-block;
    width: 90%;
    margin-top: 0rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: lighter;
    line-height: 1.5rem;
    letter-spacing: 0.08rem;
}



h3, h4, h5, h6 {
    font-weight: lighter;
    line-height: 1.9rem;
    letter-spacing: 0.08rem;
}

h3 {
    color: #156470;
    display:inline;
    text-align: right;
    font-size: 1.3rem;
    line-height: 1.9rem;
    margin-right:3rem;
    margin-top: 0rem;
    margin-bottom: 0rem;
    font-weight: normal;
}

h4 {
    margin-top: 0;
    margin-bottom: 0.2rem;
    font-weight: 300;
    line-height: 1.8rem;
    font-size: 1.2rem;
    letter-spacing: 0.06rem;
}
h5 {
    color: #156470;
    margin-top: 0;
    margin-bottom: 0.2rem;
    font-weight: 300;
    line-height: 1.5rem;
    letter-spacing: 0.06rem;
    text-align: left;
}

a {
    color: #156470;
}

p {
  margin-top: 0;
  margin-bottom: 0;
    font-weight: 300;
    line-height: 1.5em;
    letter-spacing: 0.06rem;
}

button {
    font-weight: 105;
    padding:10px 50px;
    border:0 #a6a9a9;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 20px;
    font-size: 1.5rem;
    color: #4B4B4B;
    margin-top: 2rem;
   margin-bottom: 2rem;
    background: linear-gradient( #DADAD9, #B2B2B1);
    text-shadow: 0px 1px 0px rgba( 255, 255, 255, 0.4);
    box-shadow: 0 0 5px rgba( 0, 0, 0, 0.5), 0 -1px 0 rgba( 255, 255, 255, 0.4);
}
button:hover{
     text-shadow: 0px 1px 0px rgba( 255, 255, 255, 0.2);
     background: linear-gradient( #BBB, #888);
}

button:active{
     text-shadow: 0px 1px 0px rgba( 255, 255, 255, 0.2);
     background: linear-gradient( #AAA, #999);
     box-shadow: 1px 1px 10px black inset, 
                 0 1px 0 rgba( 255, 255, 255, 0.4);
}

.short-text { display: none; }

.strangeNumbers {
  word-spacing: -0.1rem;
  white-space:nowrap;
}

* {
  box-sizing: border-box;
}


/* ******************* Navigation ****************** */
.nav .logo {
    padding: 0.2rem 0.2rem 0.2rem 0.2rem;
} 

nav {
    width: 80%;
    margin:-4rem -2rem 4rem;
    font-size: 1.2rem;
    font-weight: lighter;
    letter-spacing: 0.1rem;
/*    background-color: #888;*/
        }

.nav li {
    display:inline-block;
    position: relative;
/*    background-color: #888;*/
}


.nav a{
    color: #666;
    text-decoration: none;
    padding: 2rem 1rem 2rem 1rem;
    vertical-align: middle;
    display:inline-block;
}

.nav a:hover{
	background-color: #888;
	color: #ffffff;
}
.nav .current a {
    background-color: #ededed;
}  
    
    
/* ******************* Page index ****************** */
/* Place the container to the left */

 .iconDetails {
 margin-left:0%;
padding: 0% 7%; 
position: relative;
width:45%; 
     opacity: 0.2;
     display: block;
} 

.diagram {     
display: grid;
/*text-align: center;*/
grid-template-columns: repeat(1, 1fr);     
align-items: center;     
justify-content: space-evenly;    
padding: 2rem; 
column-gap: 0px;
}

.diagram > div { 
display:flex;
align-items:center;
padding: 5% 0%; 
    justify-content: center;
    width:120%;
    margin-left:-10%;
    
} 

.diagram > div > .idxright { 
    position:relative;
    left:-10%;
} 

.diagram > div > .idxleft{ 
    position:relative;
    left:+10%;
} 


/* ******************* Page prestation ****************** */
.PrestaContainer {
  position: relative;
    display:inline-block;
  width: 40%;
  min-width: 250px;
    margin: 2rem;
}

.image {
  display: inline-block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute; 
  bottom: 0; 
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1; 
  width: 100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 0.7rem;
  padding: 1rem;
  text-align: center;
  letter-spacing: 0.1rem;
}

.PrestaContainer:hover .overlay {
  opacity: 1;
}







/* ******************* Page CV ****************** */
/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Container around content */
.CVcontainer {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
}


/* Place the container to the left */
.left {
  width: 55%;
  left: 0;
}

/* Place the container to the right */
.right {
  width: 45%;
  left: 55%;
}


/* The actual content */
.contentCV {
  padding: 10px 15px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* The overlay effect - lays on top of the container and over the image */
.overlayCV {
  display: none;
  transition: .5s ease;
  margin-top: 0rem;
  margin-bottom: 0rem;
  font-weight: 300;
  line-height: 1.5rem;
  letter-spacing: 0.06rem;
    
}
.iconCV {
  position: relative;
  display:flex;
  float:right;
  height: auto; 
  width: auto; 
  max-width: 15%; 
  max-height: 3em;
  margin-bottom: -1.5rem;
}

.contentCV ul {
  font-size: 0.7rem;
}

/* defines what apprears after the normal content of a contentCV div (and that indicates more can be displayed when hoovered)*/
.contentCV::after {
  /*background-image: url('img/arrow.png');
  background-size: 3rem 1rem;
  display: inline-block;
  width: 3rem; 
  height: 1rem;
  margin-left: 85%;*/
  content:"...";
}

.contentCV h2 {
  font-size: 0.9rem; 
  line-height: 1rem;
}
.contentCV h5 {
  font-size: 0.9rem; 
}

/* When you mouse over the container, fade in the overlay title */
.contentCV:hover .overlayCV {
   display: inline-block; 
}

.contentCV:hover::after {
    content:"";  
}

/* When you mouse over the container, fade in the overlay title */
.contentCV:hover .underlayCV {
   display: none; 
}

/* When you mouse over the container, fade in the overlay title */
.left:hover {
  width: 100%;
}
.right:hover {
  width: 100%;
    left: 0;
}

svg {
  width: 100%;
}

/* The actual timeline (the vertical ruler) */
.timelineMB {
    width: 100%;
  position: absolute;
    float:right;
}




/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 850px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
      width: 100%;
  }

/* Full-width containers */
  .CVcontainer {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .CVcontainer::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
    
.overlayCV {
  width: 100%;
  left:+0%;
}
.right .overlayCV {
  left:0%;
    width:+100%
}

.PrestaContainer {
    width: 80%;
}

}



@media screen and (max-device-width: 850px){
    /* Ici du code s'appliquant aux écrans de moins de 480 pixels de large */
    html {
    font-size: 30px;
    font-weight: 700;
}
    
    footer { 
    max-width: 90%;
}
    body {
    max-width: 100%;
    margin: 0px;
}
    header {
	margin: 0px;  
}

    .diagram {      
padding: 0rem; 
}

.diagram > div { 
padding: 0%; 
} 

.short-text { display: inline-block; }
.full-text { display: none; }
    
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
      width: 100%;
  }

/* Full-width containers */
  .CVcontainer {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .CVcontainer::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
    
.overlayCV {
  width: 100%;
  left:+0%;
}
.right .overlayCV {
  left:0%;
    width:+100%
}
.PrestaContainer {
    width: 80%;
}
    
}

/*
@media (any-hover: none) {
.contentCV: .overlayCV {
   display: inline-block; 
}

.contentCV:active::after {
    content:"";  
}

.contentCV:active .underlayCV {
   display: none; 
}
}*/