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;
}

h2 {
  text-align: center;
  font-weight: 200;
  font-size: clamp(25px, 3vw, 30px);
  margin-top: 50px;
}

.divider {
  width: 302px;
  height: 1px;
  background: black;
  margin: 110px auto 70px;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 50px auto;
}

.slider-container:last-of-type {
  margin-bottom: 100px;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.slider img.active {
  opacity: 1;
  pointer-events: auto;
}

.slider img.active {
  display: block;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.arrow img {
  width: 20px;
  height: 20px;
}

.prev {
  left: -60px;
}

.next {
  right: -60px;
}

.arrow:hover {
  opacity: 0.3;
}

.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.main {
  max-width: 90vw;
  max-height: 90vh;
  user-select: none;
  -webkit-user-drag: none;
}

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

.fs-prev,
.fs-next {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 35px;
  cursor: pointer;
  opacity: 0.5;
}

.fs-prev {
  left: 48px !important
}

.fs-next {
  right: 48px !important
}

.close:hover {
  opacity: 0.5;
}

.fs-prev:hover,
.fs-next:hover {
  opacity: 1;
}

.slider:hover img {
  transform: scale(1.5);
  cursor: pointer;
}

.slider img {
  transition: transform 4s ease;
  border-radius: 1%;
  object-fit: cover;
}

@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: 35px;
    text-underline-offset: 10px;
  }

  h2 {
    font-size: 25px;
    margin-top: 30px;
    text-underline-offset: 10px;
  }

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

  .fs-prev {
    left: -0px !important;
    width: 15px;
    height: 25px;
  }

  .fs-next {
    right: 0px !important;
    width: 15px;
    height: 25px;
  }

  .prev {
    left: -35px;
  }

  .next {
    right: -35px;
  }

  .arrow img {
    width: 18px;
    height: 18px;
    right: -35px;
  }

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

  .slider {
    margin-top: -20px;
    margin-bottom: 1px;
  }

  .divider {
    margin-top: 60px;
    margin-bottom: 45px;
  }
}