body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
}

.header {
  height: 77px;
  border-bottom: 1.9px solid black;
  display: flex;
  align-items: center;
}

.fleche img {
  width: clamp(80px, 10vw, 140px);
  margin-left: 28px;
}

.fleche:hover {
  opacity: 0.4;
}

h1 {
  text-align: center;
  font-weight: 200;
  font-size: clamp(40px, 5vw, 60px);
  margin-top: 70px;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 220px);
  gap: clamp(40px, 8vw, 160px);
  width: fit-content;
  margin: 150px auto;
}

.grid img {
  width: 220px;
  height: 350px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 4px 4px 4px rgba(100, 100, 100, 0.2);
  filter: blur(4px);
  transition: filter 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.grid img:hover {
  filter: blur(0);
  cursor: pointer;
}

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(50, 50, 50);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen img {
  max-width: 90vw;
  max-height: 90vh;
  user-select: none;
  -webkit-user-drag: none;
}

.ligne {
  border-bottom: 1.9px solid black;
  width: 800px;
  margin: 0 auto 150px;
}

.close {
  position: absolute;
  top: 0px;
  right: -50px;
  width: 200px;
  height: auto;
  cursor: pointer;
  opacity: 1;
}

.close:hover {
  opacity: 0.5;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .header {
    display: flex;
    align-items: center;
    padding: 0 20px;
  }

  .fleche img {
    margin-left: 0;
  }

  h1 {
    font-size: 32px;
    margin-top: 40px;
    text-underline-offset: 10px;
  }

  .grid {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 60px 0;
    justify-items: center;
    gap: 30px;
  }

  .grid img {
    width: 90%;
    height: auto;
    filter: none;
    box-shadow: 4px 5px 4px rgba(0, 0, 0, 0.4);
    border-radius: 1%;
  }

  .ligne {
    width: 90%;
    margin: 60px auto;
  }

  .fullscreen {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    padding: 20px;
  }

  .fullscreen img.main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-left: -40px;
  }

  .close {
    width: 250px;
    top: -15px;
    right: -40px;
  }
}