html {
  --image-size: 64vw auto;
  --color: black;
}

body {
  margin: 0px !important;
  padding: 0px;
  background-color: white;
}


#img1 {
  background-image: url(images/1.png);
  background-size: var(--image-size);
  position: absolute;
  bottom: 50px;
}

#img2 {
  background-image: url(images/2.png);
  background-size: var(--image-size);
}

#img3 {
  background-image: url(images/3.png);
  background-size: var(--image-size);
}

#img4 {
  background-image: url(images/4.png);
  background-size: var(--image-size);
}

#img5 {
  background-image: url(images/5.png);
  background-size: var(--image-size);
}

#img6 {
  background-image: url(images/6.png);
  background-size: var(--image-size);
}

#img7 {
  background-image: url(images/7.png);
  background-size: var(--image-size);
}

#img8 {
  background-image: url(images/8.png);
  background-size: var(--image-size);
}

#img9 {
  background-image: url(images/9.png);
  background-size: var(--image-size);
}

#img10 {
  background-image: url(images/10.png);
  background-size: var(--image-size);
}

#img11 {
  background-image: url(images/11.png);
  background-size: var(--image-size);
}

#img12 {
  background-image: url(images/12.png);
  background-size: var(--image-size);
}

#img13 {
  background-image: url(images/13.png);
  background-size: var(--image-size);
}

#img14 {
  background-image: url(images/14.png);
  background-size: var(--image-size);
}

#img15 {
  background-image: url(images/15.png);
  background-size: var(--image-size);
}

#img16 {
  background-image: url(images/16.png);
  background-size: var(--image-size);
}

#img17 {
  background-image: url(images/17.png);
  background-size: var(--image-size);
}

#img18 {
  background-image: url(images/18.png);
  background-size: var(--image-size);
}

#img19 {
  background-image: url(images/19.png);
  background-size: var(--image-size);
}

#img20 {
  background-image: url(images/20.png);
  background-size: var(--image-size);
}

#img21 {
  background-image: url(images/21.png);
  background-size: var(--image-size);
}

#img22 {
  background-image: url(images/22.png);
  background-size: var(--image-size);
}

#img23 {
  background-image: url(images/23.png);
  background-size: var(--image-size);
}

#img24 {
  background-image: url(images/24.png);
  background-size: var(--image-size);
}

#img25 {
  background-image: url(images/25.png);
  background-size: var(--image-size);
}

#img26 {
  background-image: url(images/26.png);
  background-size: var(--image-size);
}

#img27 {
  background-image: url(images/27.png);
  background-size: var(--image-size);
}

#img28 {
  background-image: url(images/28.png);
  background-size: var(--image-size);
}

#img29 {
  background-image: url(images/29.png);
  background-size: var(--image-size);
}

#img30 {
  background-image: url(images/30.png);
  background-size: var(--image-size);
}

#img31 {
  background-image: url(images/31.png);
  background-size: var(--image-size);
}

#img32 {
  background-image: url(images/32.png);
  background-size: var(--image-size);
}

#img33 {
  background-image: url(images/33.png);
  background-size: var(--image-size);
}

#img34 {
  background-image: url(images/34.png);
  background-size: var(--image-size);
}

#img35 {
  background-image: url(images/35.png);
  background-size: var(--image-size);
}

#img36 {
  background-image: url(images/36.png);
  background-size: var(--image-size);
}

#img37 {
  background-image: url(images/37.png);
  background-size: var(--image-size);
}

h1 {
  font-family: helvetica;
  font-style: bold;
  font-size: calc(12px + 4vw);
  font-weight: 400;
  display: flex;
  justify-content: center;
  margin-top: 100px;
  text-align: center;
  color: var(--color);
}

section {
  width: 100%;
  height: var(--section-height);
}

@media screen and (min-width: 1000px) {

      body {
        --section-height: 370px;
      }

      section {

        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed; 
      }

      #button-1 {
        display: none;
      }

      #button-1 + label {
        display: none;
      }

}

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

      body {
        --section-height: 200px;
      }

      section {

        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed; 
      }

      #button-1 {
        display: none;
      }

      #button-1 + label {
        display: none;
      }

      #button-1 + #label {
        font-family: helvetica;
        font-weight: 500;
        font-size: 1.6em;
        color: grey;  
        display: block;
        display: flex;
        justify-content: center;
        margin-top: 20px;
        text-align: center;

/*       italic reverse : -moz-transform: skew(15deg, 0deg);
          -webkit-transform: skew(15deg, 0deg);
          -o-transform: skew(15deg, 0deg);
          -ms-transform: scale(1) skew(15deg, 0deg);
          transform: skew(15deg, 0deg);*/

/*       text reverse : -webkit-transform:rotateY(180deg);
        -moz-transform:rotateY(180deg);
        -o-transform:rotateY(180deg);
        -ms-transform:rotateY(180deg);*/
      }

      #button-1 + #label #projeter{
        display: none;
      }

        #img1 {
        position: absolute;
        bottom: 40vh;
      }


      #button-1:checked + #label #projeter{
        display: block;
      }

      #button-1:checked + #label #rembobiner{
        display: none;
      }

      #button-1:checked + #label {
        transform: none;
      /*  background-color: blue;*/
      }

      #button-1:checked ~ article {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 0px;
        margin: 30px;
        display: flex;
        flex-direction: column-reverse;
      }

      #button-1:checked ~ article section{
        height: 200px;
        width: 100%;
        grid-column: span 1;
        background-position: center;
        background-attachment: inherit;
        background-size: cover !important;
      }

      #button-1:checked ~ article #img1 {
        position: inherit;
      }
}

@media screen and (min-width: 500px) and (max-width: 1000px) {

article {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 5px;
  grid-row-gap: 0px;
  margin-left: 10px;
  margin-right: 10px;
}

body {
  --section-height: 140px;
}
section {
  grid-column: span 1;
  background-position: center;
  background-attachment: inherit;
  background-size: contain !important;
  background-repeat: no-repeat;
}

#img1 {
  position: inherit;
}

#button-1 {
  display: none;
}

#button-1 + label {
  display: none;
}

}






