/*------------------------- importation menu  -------------------------   */
@import "menu.css";

 /*------------------------- general  -------------------------   */

 * {
   padding: 0;
   margin: 0;
 }

 body {
   background-color: #1d1e18; /*grey*/
   font-family: "Quicksand", sans-serif;
   font-style: normal;
   scroll-behavior: smooth;
 }

 main {
   overflow-y: scroll;
   scroll-behavior: smooth;
  -ms-overflow-style: none;  /* IE and Edge*/
   scrollbar-width: none;  /* Firefox*/
 }

 main::-webkit-scrollbar {
    display: none;
  }

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
}

/*------------------------- petit écran  -------------------------   */
 @media (max-aspect-ratio: 1) {
   .photoline {
     display: none;
   }

   .photo {
     margin: -1vw 0;
     padding: 0;
     position: relative;
   }

   .ratioUn {
      width: 100vw;
      height: 149.5vw;
    }

   .nomUn {
     font-family: "Quicksand", sans-serif;
     font-style: normal;
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 150vw;
     display: flex;
     justify-content: center;
     align-items: center;
   }

   .ratioDeux {
      width: 100vw;
      height: 66.7vw;
    }

   .nomDeux {
     font-family: "Quicksand", sans-serif;
     font-style: normal;
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 66.7vw;
     display: flex;
     justify-content: center;
     align-items: center;
   }

   h3 {
     font-weight: 300;
     font-size: 25vw;
     text-align: center;
   }

   h1 {
     font-size: 40px;
     height: 35px;
   }

   h2 {
       font-size: 60px;
   }

 }

/*------------------------- grand écran  -------------------------   */
@media (min-aspect-ratio: 1) {

  .xs {
    display: none;
  }

  main {
    width: 100%;
    height: 100vh;
  }

  h1 {
    font-size: 50px;
    height: 45px;
  }

  h2 {
      font-size: 70px;
  }

  /*------------------------- pictures     */
  .photoline {
    width: 90vw;
    display:flex;
  }

  .bloque {
    display: inline-block;
  }

  @media (max-width: 900px) {
    .photoline {
      display: inline-block;
      margin-left: 24vw;
    }
    .nom {
      font-family: "Quicksand", sans-serif;
      font-style: normal;
      height: 30vw;
    }
    #lastline {
      margin-bottom: 7vh;
    }
  }

  @media (min-width: 900px){
    .photoline {
      margin-left: 2vw;
      margin-top: 2vw;
    }
    .nom {
      height: 20vw;
    }
    #lastline {
      margin-bottom: 25vh;
    }
  }

  .photo {
    margin: 10px;
    padding: 0;
    position: relative;
    display: inline-block;
  }

  .nom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    background-color: #1d1e1880;
  }

  h3 {
    font-weight: 300;
    font-size: 5vw;
    text-align: center;
  }

  img {
    border-radius: 1vw;
  }

  .photo:hover .nom {
    opacity: 1;
  }

  .photo:hover {
    transition: 0.2s;
    transform: scale(1.05);
  }
}

  /*------------------------- title     */

  header {
   position: fixed;
   bottom: 0;
   left: 4vw;
   z-index: 2;
  }

  h1 {
    font-weight: 300;
  }

  h2 {
    font-weight: 300;
  }
