* {
  margin: 0;
  padding: 0;
}


/*---------------------- Container qui englobe le toutes les sections ------------------------------------------------------------ */
.container {
  height: 100vh;
  overflow: auto;
  position: relative;
  scroll-snap-type: y mandatory;
  -webkit-scroll-snap-type: y mandatory;
  overflow-y: auto;
  width: 100%;
  z-index: 1;
}

/*----------- Container section ------------------------------------------------------------------------------------------------------------------- */

.container .section  {
  background-blend-mode:multiply ; /* a voir dans la doc ce que ca fait */
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  width: 100%;
  background-position: center; /* rend responsive les images */
  background-size: cover;
  z-index: 1;
}

/*---------- Section enfant dans le main -----------------------------------------------------------------------------------------------------  */

.container .section:nth-child(1) {

  background-image:  url("../img/scroll-test.jpg");
  z-index: 1;

}
.container .section:nth-child(2) {

  background-image:  url("../img/scroll-1.jpg");
  z-index: 1;

}
.container .section:nth-child(3) {

  background-image:  url("../img/scroll-2.jpg");
  z-index: 1;

}
.container .section:nth-child(4) {

  background-image: url("../img/scroll-3.jpg");
  z-index: 1;

}
.container .section:nth-child(5) {

  background-image: url("../img/scroll-4.jpg");
  z-index: 1;

}
.container .section:nth-child(6) {

  background-image:  url("../img/c++.png");
  z-index: 1;

}
.container .section:nth-child(7) {

  background-image:  url("../img/scroll-header.jpg");
  z-index: 1;

}

.container .section .content .content-scroll-h2 { 
  top: 50px;
  left: 70px;
  max-width: 700px;
  position: absolute;
  box-sizing: border-box;
  border:#161616 solid 2px;
  z-index: 1;

}
  .container .section .content h2 {
        color: #333;
        font-weight: 600;
        display: inline-block;
        padding: 10px 20px;
        font-size: 2em;
        z-index: 1;

      }
          .color-html {
            background-color: #e54d26;
            z-index: 1;

          }
    
.container .section .content .content-scroll-p {
  position: absolute;
  max-width: 300px;
  right: 50px;
  bottom: 50px;
  left: 25px;
  box-sizing: border-box;
  border:#333 solid 2px;
  z-index: 1;
}

    .container .section .content p {
      color: #333;
      font-weight: 300;
      padding: 10px 20px;
      z-index: 1;

    }
         .p-color-html {
            background-color: #e54d26; 
            z-index: 1;

          }

h1 {
  color: hsla(0, 0%, 100%, 0.60);
  text-shadow: 0.06em -0.03em 0.4em;
  text-align: center;
  padding: 15px;
  z-index: 1;

}


