*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:white;
}

.portfolio{
    margin:auto;
}

@media (max-width: 768px) {.portfolio{
    margin-top: 60px;
}
}

.index img{
    width:100%;
    display:block;
    object-fit: cover;
    max-height: 400px; /* ajuste selon ton besoin */
}

@media (min-width: 768px) {
.intro{
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:40px;
    padding:40px;
}
}

.intro h1{
    font-size:4rem;
    font-weight:700;
    font-family: "brother-1816", sans-serif;
    line-height: 90%!important;



}


h5{
    font-size:0.8rem;
    color: grey;
    font-weight:700;
    font-family: "brother-1816-printed", sans-serif;
    font-weight: 200;
    margin-top: 0!important;

}

.gallery {
    display: flex;
    gap: 20px;
    padding: 20px;
   
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.column img {
    width: 100%;
    display: block;
}

.explication{
    font-family: "brother-1816", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;



}

.explication b{
    font-family: "brother-1816", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.2rem;
}


@media (max-width: 768px) {

    .gallery {
        flex-direction: column;
    }

    .intro{

    padding:20px;
}

.index{
    object-fit: cover;
}


}


 .nav-projets {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 95%;
      margin: auto;
      margin-top: 10px;
    }

.next-project {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: black;
  font-family: "Satoshi-medium", sans-serif;
  font-size: 1.2vw;
  transition: all 0.3s ease;
}

.next-project svg {
  margin-left: 8px;
  transition: all 0.3s ease;
  stroke: black;
}

.next-project:hover {
text-decoration: underline;
color: black!important;
  transform: translateX(2px);
}

.next-project:hover svg {
  transform: translateX(2px);
}

@media screen and (max-width: 768px) {
  .next-project {
    font-size: 3.5vw;
  }
}

.next-project-l {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: black;
  font-family: "Satoshi-medium", sans-serif;
  font-size: 1.2vw;
  transition: all 0.3s ease;
}

.next-project-l svg {
  margin-right: 8px; /* la flèche est maintenant à gauche du texte */
  transition: all 0.3s ease;
  stroke: black;
}

.next-project-l:hover {
  text-decoration: underline;
  color: black!important;
  transform: translateX(-2px); /* décalage vers la gauche au hover */
}

.next-project-l:hover svg {
  transform: translateX(-2px); /* décalage de la flèche vers la gauche */
}

@media screen and (max-width: 768px) {
  .next-project-l {
    font-size: 3.5vw;
  }

.nav-projets{
    margin: 10px auto 7% auto;
}


