html {
}

body {
  background-image: url("bg2.jpg");
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

main {
	padding-top: 10vh;
	margin: 0 auto;
	text-align: center;
	min-height: 50vh;
}

footer{
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    width: 100vw;
    padding-top: 40px;
    color: #fff;
    vertical-align: bottom;
    text-align: center;
    font-size: 11px;
}
.addr {
	color: #666666;
}

.logo{
    height: 20vh;
    width: auto;
    max-height: 400px;
}

.txt {
    height: 20vh;
    width: auto;
    max-height: 209px;
}


h1 {
	padding-top: 2vh;
	color:#0204A8;
}
h2 {
	color:#aa3101;
}
h3 a {
	color:#aa3101;
}
a {
	color:#0204A8;
}
p {
    color:#000000;
    max-width: 80%;
    margin: 0 auto;
    text-justify: auto;
}

@media only screen and (max-width: 680px) {
  body { font-size: 14px; }
  .logo{
 	height: auto;
	max-width: 40%;
  }
  .txt{
	height: auto;
	max-width: 80%;
  }
  h1 {
	font-size: 1.5em;
  }
  h2 {
	font-size: 1.2em;
  }
  h3 {
    font-size: 1.0em;
  }
}


@media only screen and (max-width: 400px) {
  body { font-size: 14px; }
  .logo{
 	height: auto;
	max-width: 40%;
  }
  .txt{
	height: auto;
	max-width: 80%;
  }
  h1 {
	font-size: 1.0em;
  }
  h2 {
	font-size: 0.8em;
  }
  h3 {
    font-size: 0.6em;
  }
}

.centered {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.img-comp-container {
  position: relative;
  height: 300px; /*should be the same height as the images*/
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow:hidden;
}

.img-comp-img img {
  display:block;
  vertical-align:middle;
  height: 300px;
}

.img-comp-slider {
  position: absolute;
  z-index:9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 40px;
  height: 40px;
  background-color: #2196F3;
  opacity: 0.7;
  border-radius: 50%;
}

.before-overlay::after {
  content: "Avant";
  position: absolute;
  bottom: 20px;
  white-space: pre;
  left: 15px;
  font-weight: bold;
  text-align: right;
 	color:#dddddd;
font-size: 18px;
}

.after-overlay::after {
  content: "Après";
  position: absolute;
  bottom: 20px;
  right: 15px;
  font-weight: bold;
  text-align: right;
 		color:#dddddd;
 font-size: 18px;
}
