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

/* Global */
html, body {
  font-family: Open sans, Helvetica, sans-serif;
	background-color:#1d3557;
overflow-x: hidden;
}
body{
	position:relative
}
h1,
h2 {
  font-family: Raleway, sans-serif;
}
.clipped-img-container {
  max-width: 300px;
  margin: 0 auto;
}
.text-section {
  background-color:#1d3557;
  text-align: center;
}

.text-section h1{
font-size: 50px;
  color: #f1f1f1;
	margin: auto;
	line-height: 1.4;
}

.text-section h2 {
  font-size: 18px;
	max-width: 300px;
	margin: auto;
  color: #f1f1f1;
}
.text-section h3{
font-size: 20px;
  color: #f1f1f1;
	margin-bottom: 20px;
}
.text-section h4 {
  font-size: 20px;
  color: #f1f1f1;
	line-height: 2;
	 margin: 20px auto 0;
}
.text-section h5 {
font-size: 10px;
  max-width: 300px;
  color: #f1f1f1;
  margin: 00px auto 0;
}
.text-section h6 {
  font-size: 10px;
  max-width: 300px;
  color: #f1f1f1;
  margin: 00px auto 0;
}
.text-section p {
  max-width: 300px;
  color: #f1f1f1;
  margin: 00px auto 0;
line-height: 1.2;
}

.clipped-section img {
  width: 90%;
margin-left: 130px;
height: 100%;
	overflow-x : clip; 
}

.textpres {
	position:absolute;
	align-content: center;
	padding-left: 10%;
margin-top: 30px;
font: bold;
max-width: 200px;
font-size: 20px;
}

.textpres p { 
	margin-top: 30px;
	line-height: 2;
	font:bold;
	display: inline-block;
	opacity: 0;
	transform: translateY(-30px);
}

.textpres > p:nth-child(1){
	animation: apparition 0.8s 0.6s ease-out forwards;
	}

.textpres > p:nth-child(2){
	animation: apparition 0.8s 0.8s ease-out forwards;
	}
.textpres > p:nth-child(3){
	animation: apparition 0.8s 1.0s ease-out forwards;
	}
.textpres > p:nth-child(4){
	animation: apparition 0.8s 2s ease-out forwards;
	}

.text-section h1{
	opacity: 0;
animation: apparition 0.8s 0.2s ease-out forwards;
}
.text-section h2{
	opacity: 0;
animation: apparition 0.8s 0.4s ease-out forwards;
}
.text-section h3{
	opacity: 0;
animation: apparition 0.8s 1.2s ease-out forwards;
}
.text-section p{
	opacity: 0;
animation: apparition 0.8s 1.4s ease-out forwards;
}
.text-section h4{
	opacity: 0;
animation: apparition 0.8s 1.6s ease-out forwards;
}

.bouton-consult {
	            display: block;
  background-color: #1d3557;
      border-radius: 20px;
         border: 0px double #1d3557;
          color: #FFFFFF;
          text-align: center;
	text-decoration: none;
            font-size: 20px;
	margin-top: 20px;
           padding: 00px;
            width: 250px;
}

@keyframes apparition {
	100%{
		opacity: 1;
		transform: none;
	}
}
/* Page */

.text-section-1 {
  padding: 35px 10px 20px;
  background-color: #1d3557;
}
.clipped-section {
  background-color: #f1faee;
  padding: 20px 10px 20px;
  clip-path: polygon(0 12%, 100% 0%, 100% 88%, 0 100%)
}
.clipped-section h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 35px;
}
.text-section-2 {
  padding: 10px 10px 20px;
}

footer {
	font-size: 10px;
  text-align: center;
  padding: 12px 5px;
}
footer a {
  color: #f1f1f1;
}

.mentleg {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
  color: #000000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.mentleg:target {
    opacity: 1;
    pointer-events: auto;
}
.mentleg > div {
    width: 60%;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    background: #f1faee;

}
.fermer {
    color: #000000;
    font-size: 30px;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 14px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;

}
.fermer:hover {
  color: #000;
}