/* body {
  font-family: Riforma, sans-serif;
  font-weight: normal;
  font-size: 100%;
  margin: 0px;
} */

#corps {
  position: fixed;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
}

#back-img{
  position:fixed;
  height: -webkit-calc(100% + 100px);
  height: -moz-calc(100% + 100px);
  height: -o-calc(100% + 100px);
  height: -ms-calc(100% + 100px);
  height: calc(100% + 100px);

  width: -webkit-calc(100% + 100px);
  width: -moz-calc(100% + 100px);
  width: -o-calc(100% + 100px);
  width: -ms-calc(100% + 100px);

  top:-50px;
  left:-50px;
  transition: 0.5s ease;
}

.toggle-container{
  height: -webkit-calc(100% + 100px);
  height: -moz-calc(100% + 100px);
  height: -o-calc(100% + 100px);
  height: -ms-calc(100% + 100px);
  height: calc(100% + 100px);

  width: -webkit-calc(100% + 100px);
  width: -moz-calc(100% + 100px);
  width: -o-calc(100% + 100px);
  width: -ms-calc(100% + 100px);

  top:-50px;
  left:-50px;
  transition: 0.5s ease;
}


.half-control{
  position: relative;
  width:50%;
  height:80%;
  display: inline-block;
}


#goleft{
  float:left;
  cursor: w-resize;
}
#goright{
  float:right;
  cursor: e-resize;
}

#control-about {
  position: absolute;
  width:100%;
  height:20%;
  top:80%;
}

.swiper-container {
  height:100%;
  max-height: -webkit-calc(100% - 100px);
  max-height: -moz-calc(100% - 100px);
  max-height: -o-calc(100% - 100px);
  max-height: -ms-calc(100% - 100px);
  max-height: calc(100% - 100px);
  width:100%;
  margin-top:50px;
  position: fixed;
}

.background-container {
  height:100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  /* max-width: -webkit-calc(100% - 20px); */
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.carousel img{
  max-height: 100%;
  /* max-width:100%; */
  max-width: -webkit-calc(100% - 20px);
  object-fit: contain;
  background: initial;
}


.papier-peint img{
  min-width: 100%;
  min-height: 100%;
  filter: blur(50px);
}

#buttons{
  position:fixed;
  top:50px;
  height: -webkit-calc(100% - 50px);
  height: -moz-calc(100% - 50px);
  height: -o-calc(100% - 50px);
  height: -ms-calc(100% - 50px);
  height: calc(100% - 50px);
  width:100%;
  z-index: 200;
}

.controlers{
  display:inline-block;
  width:50%;
  height:80%;
  outline:0;
}

.controlers p{
  position: absolute;
  top:40%;
  font-size: 2.5em;
  transform: translateY(-50%);
}

.go-right{
  float:right;
  cursor: e-resize;
  text-align: right;
}

.go-left{
  cursor: w-resize;
  text-align: left;
}

#button-about{
  height:20%;
  bottom:0px;
  width:100%;
}

#button-about p{
  position: absolute;
  bottom:0px;
  width: 100%;
  text-align: center;
  transition: 0.2s ease;
  cursor: pointer;
}

#toggle-about{
  display: none;
  opacity: 0;
  position:fixed;
  width:100%;
  height: 100%;
  background-color: white;
  top:0%;
  /* cursor:url(less-cursor.png) 36 11, auto; */
  transition: 0.5s ease;
  z-index: 300;
}

#toggle-img{
  opacity: 0.5;
  position:fixed;
  height: -webkit-calc(100% + 100px);
  height: -moz-calc(100% + 100px);
  height: -o-calc(100% + 100px);
  height: -ms-calc(100% + 100px);
  height: calc(100% + 100px);

  width: -webkit-calc(100% + 100px);
  width: -moz-calc(100% + 100px);
  width: -o-calc(100% + 100px);
  width: -ms-calc(100% + 100px);
  filter: blur(50px);
  top:-50px;
  left:-50px;
}

#toggle-infos{
  position: absolute;
  left:0px;
  width: 100%;
  height: 100%;
  display: table;
}

#toggle-about h1{
  width: 100%;
  text-align: center;
  top: 50px;

}
#toggle-about p{
  padding:0px 100px;
  font-size: 2.5em;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}


@media screen and (max-width: 724px){

  #toggle-infos{
    position: absolute;
    left:0px;
    width: 100%;
    display: table;
    top:50px;
    height: -webkit-calc(100% - 50px);
    height: -moz-calc(100% - 50px);
    height: -o-calc(100% - 50px);
    height: -ms-calc(100% - 50px);
    height: calc(100% - 50px);
  }

  #toggle-about p {
    padding: 0px 20px;
    font-size: 2em;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
  }
}

@media screen and (max-width: 480px){
  #toggle-about p {
    font-size: 16px;
  }
}
