
.hero {
  position:sticky;
  inset: 0;
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(6,auto);

  background: #ffffff; 
  padding: 40px;

  z-index: -1;
  pointer-events: none; 
}

img{
  max-width: 100%;
}

/* Style du texte */
.h {
  font-size: clamp(2rem, 8vw, 7rem);
  font-weight: 600;
  color: black;
  line-height: 1;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


.this {
  grid-column: 1;
  grid-row: 1;
}

.is {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.a {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
}

.graphic {
  grid-column: 1 / 4;
  grid-row: 3;
}

.portfolio {
  grid-column: 1 / 4;
  grid-row: 4;
}

.by {
  grid-column: 1;
  grid-row: 5;
}

.agua {
  grid-column: 2 / 4;
  grid-row: 6;
  justify-self: end;
}

.content {
  position: relative;
  z-index: 3;          
  background: white;
  padding: 40px;
  margin-top: 0;   /
}

.hero + .content {
  margin-top: 40px;
}

body {
    margin: 0;
    background: rgb(255, 255, 255);
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* MENU GAUCHE */
.menu {
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
}

/* Lignes */
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    
}

.menu li {
    border-bottom: 1px solid black !important;
    width: 100%;
    box-sizing: border-box;
}


/* liens */
.menu a {
    display: block;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    transition: background-color .25s ease, color .25s ease;
    padding: 14px 0; 
}

.menu li.c1:hover a {
  color: rgb(76, 76, 76);
}
.menu li.c2:hover a {
  color: blueviolet;
}
.menu li.c3:hover a {
  color: rgb(84, 82, 85);
}
.menu li.c4:hover a {
 color: rgb(17, 132, 65);
}
.menu li.c5:hover a {
 color: rgb(86, 60, 144);
}
.menu li.c6:hover a {
  color: rgb(63, 63, 63);
}
.menu li.c7:hover a {
 color: rgb(38, 0, 255);
}
.menu li.c8:hover a {
 color: rgb(218, 15, 15);
}
.menu li.c9:hover a {
 color: rgb(218, 177, 15);
}
.menu li.c10:hover a {
 color: rgb(208, 15, 218);
}






/* Mobile */
.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  
  grid-auto-flow: dense;
}


@media (min-width: 800px) {
  .grid {
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 200px;
  }

  .long { grid-column: 1/-1; grid-row: span 2; }
  .grand { grid-column: span 3; grid-row: span 3; }
  .moyen { grid-column: span 2; grid-row: span 2; }
  .grandmoyen { grid-column: span 2; grid-row: span 3; }
  .moyenlong { grid-column: span 3; }
  .grandlong { grid-column: 1/-1; grid-row: span 3; }
}

/* ----- GRID ----- */
/*.grid {
  display: grid;
  gap: 12px;
  width: 100%;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
}

@media (min-width:700px){
  .grid {
      grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1300px) {

  .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .grid > * {
    width: 100% ;
    height: 200px ;
  }

  .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }


   .grand,
  .moyen,
  .long,
  .grandmoyen,
  .moyenlong,
  .grandlong {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}




  

  @media (min-width: 1280px){
    .long { grid-column: 1/-1; grid-row: span 2; }
    .grand { grid-column: span 3; grid-row: span 3; }
    .moyen { grid-column: span 2; grid-row: span 2; }
    .grandmoyen {grid-column: span 2 ; grid-row: span 3;}
    .moyenlong { grid-column: span 3; }
    .grandlong { grid-column: 1/-1; grid-row: span 3;}
    }*/
  h1{
    font-family:"Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;;
  font-size: 5rem;       /* taille très grande */
  font-weight: 700;      /* gras */
  margin: 0;}

  .texte2 {
 max-width: 70ch ;
 font-family:"Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
 line-height: 1.5;

}




.item {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
   font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
   color: rgb(255, 255, 255);
   font-size: 2em;
}

/*.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}*/

.fx1 .item p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .2s;
}

.fx1 .item:hover p { opacity: 1; }

/*.item:hover img {
  opacity: 0.2;
  filter: grayscale(1);
}*/

.fx1 .item:hover img{ filter: grayscale(0);}

.fx1 .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition:filter .2s ease;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;}



/*campanule*/

.site-topbar {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-title {
    font-family:"Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    color: black;
}

.topbar-line {
    margin-top: 10px;
    border: none;
    border-bottom: 1px solid black;
}

footer {
  padding: 20px 0;
  font-family: Arial, sans-serif;
  text-align: right;   
}

footer hr {
  border: none;
  border-top: 1px solid #000;
  width: 100%;
  margin-bottom: 15px;
}

footer p {
  margin: 4px 0;
  font-size: 14px;
  margin-right: 20px;  
}

a{
  color: #000;
}