@font-face {
              font-family: "Helvetica" ;
              src: url(fonts/HelveticaNeueLTStd-Lt.otf);
              font-weight: 200;
              font-style: normal;
            }

@font-face {
              font-family: "Helvetica" ;
              src: url(fonts/HelveticaNeueLTStd-MdIt.otf);
              font-weight: 100;
              font-style: italic;
            }

@font-face {
              font-family: "Helvetica" ;
              src: url(fonts/HelveticaNeueLTStd-Md.otf);
              font-weight: 400;
              font-style: bold;
            }

@font-face {
              font-family: "EditorialNew" ;
              src: url(fonts/PPEditorialNew-Ultrabold-BF644b21500840c.otf);
              font-style: normal;
            }

  html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      overscroll-behavior-y: none;
    }

    body {
        display : flex;
        flex-direction: column;
        min-height: 100vh; 
        overflow-y: auto;
    }

    main {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
   overflow: visible;
}

#fade {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: black;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    transition: opacity 1s ease;
  }
  #fade.active {
    opacity: 1;
    pointer-events: auto;
  }

  #fade-in {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: black;
    opacity: 1;
    z-index: 100;
    pointer-events: none;
    transition: opacity 1s ease;
  }
  #fade-in.hidden {
    opacity: 0;
  }


    h1 {
        font-family: "EditorialNew";
        text-transform: uppercase;
        font-style: bold;
        font-size: 35px;

        text-shadow: 
          1px 1px 1px #ffffff7f,
        -1px -1px 1px #3f2619,
          1px 1px 1px rgba(0,0,0,0.2);
    }

    h3 {
        font-family: "Helvetica";
        font-style: italic;
        font-weight: 100;
    }

            .wrapper {
               min-height: 100vh;
              flex: 1;
              display: flex;
              flex-direction: column;
              
            }

            .bandeau-wrapper {
              height: 30vh;
              background-color: #BD7958;
              display: flex;
              justify-content: center;
              align-items: center;
              z-index: 32;
            }

                .header,
            .bandeau-wrapper,
            .bandeau-container {
              position: relative;
              z-index: 10;
            }

            .bandeau-container {
              position: relative;
              height: 90%;
              aspect-ratio: 16 / 9
            }

            .bandeau-container img#bandeau {
              height: 100%;
              width: auto;
              display: block;
              transition: filter 0.3s ease;
            }

            .bandeau-container a {
              position: absolute;
              display: block;
            }

            .bandeau-container a img {
              width: 34%;
              height: auto;
              display: block;
              transition: transform 0.3s ease;
            }

            .bandeau-container a:hover img {
              transform: scale(1.2);
            }

                #link_portfolio img {
              width: 38%;
            }

            #link_apropos img {
              width: 50%;
            }

                #link_contact img {
              width: 78%;
            }

            #link_accueil { top: 73%; left: 7%; }
            #link_portfolio { top: 20%; left: 42%; }
            #link_apropos { top: 60%; left: 55%; }
            #link_contact { top: 15%; left: 70%; }

            .background-container {
                position: relative;
                width: 100%;
                max-width: 100%;
                min-height: 100vh;
                display: flex;
                flex-direction: column;
                margin: auto;
                flex: 1;
                overflow: hidden;
              }

              #fond-apropos{
                position: absolute;
                min-width: 100vw;
                min-height: 100vh;
                object-fit: cover;
                object-position: center;
                z-index: -1;
              }

              #apropos-container {
                height: 100vh;
              }

              .background-image {
                position: relative;
                width: 100%;
                height: 100%;
                object-fit: cover;
              }

              .overlay-blanc {
                position: fixed;
                top: 0;
                left: 0;
                width: 100vw;
                height: 100vh;
                background: white;
                mix-blend-mode: screen;
                pointer-events: none;
                opacity: 0.25;
                z-index: 1;  
              }

              .linked-image {
                position: absolute;
                width: 21.5%;
                transform: translate(-50%, -50%);
                transition: transform 0.3s ease
              }

              .linked-image:hover {
                transform: translate(-50%, -50%) scale(1.3);
                z-index: 2
              }

              .linked-image-no-zoom {
                position: absolute;
                width: 21.5%;
                transform: translate(-50%, -50%);
                transition: transform 0.3s ease
              }

              .onglet {
              position: absolute;
              width: 15%;
              transform: translate(-50%, -50%);
              transition: transform 0.3s ease;
            }

            .onglet:hover {
                transform: translate(-50%, -40%);
                z-index: 3;
            }

            .modal {
              position: fixed;
              top: 0; left: 0;
              width: 100vw;  height: 100vh;
              background-color: rgba(0,0,0,0.6);
              display: flex;
              align-items: center;
              justify-content: center;
              z-index: 999;
              gap:20px;
              opacity: 0;
              pointer-events: none;
              transition: opacity 0.3s ease;
              overflow: hidden;
            }

            .modal.visible {
              opacity: 1;
              pointer-events: auto;
            }


            .modal.hidden {
              display: block;
            }

            .modal-content {
              width: 80vw;
              max-width: 1200px;
              height: 85vh;
              display: flex;
              padding: 20px;
              gap: 20px;
              border-radius: 20px;
              overflow: hidden; 
              background-color: transparent;
              transform: translateY(20px);
              opacity: 1;
              transition: transform 0.3s ease, opacity 0.3s ease;
            }

            .modal.visible .modal-content {
              transform: translateY(0);
              opacity: 1;
            }

            .modal-left {
              flex: 0 0 calc(66.67% - 10px);
              color:white;
              position: relative;
              display: flex;
              align-items: center;
              justify-content: center;
              background-color: rgba(0, 0, 0, 0);
              backdrop-filter: blur(10px);
              -webkit-backdrop-filter: blur(10px);
              border-top-left-radius: 20px;
              border-bottom-left-radius: 20px;
            }

            .modal-right {
              flex: 0 0 calc(33.33% - 10px);
              overflow-y: auto;
              background-color: #BD7958;
              border-top-right-radius: 20px;
              border-bottom-right-radius: 20px;
              padding: 20px;
              box-sizing: border-box;
            }

            .modal-text p {
              font-size: 20px;
              font-family: "Helvetica";
              font-weight: 200;
            }

            .modal-text b {
              font-size: 18px;
              font-family: "Helvetica";
              font-weight: 400;
            }

            .carousel-image {
              max-height: 100%;
              max-width: 100%;
              object-fit: contain;
            }

            .carousel-button {
              width: 40px;
              height: 40px;
              background-color: black;
              border-radius: 50%;
              border: none;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
              display: flex;
              align-items: center;
              justify-content: center;
              cursor: pointer;
               z-index: 1;
            }

            .carousel-button::before {
              content: '';
              display: inline-block;
              width: 0;
              height: 0;
              border-style: solid;
            }

            .carousel-button.prev {
              left: 10px;
            }

            .carousel-button.prev::before {
              border-width: 10px 14px 10px 0;
              border-color: transparent white transparent transparent;
            }

            .carousel-button.next {
              right: 10px;
            }

            .carousel-button.next::before {
              border-width: 10px 0 10px 14px;
              border-color: transparent transparent transparent white;
            }

            .carousel-track {
              position: absolute;
              display: flex;
              height: 100%;
              transition: transform 0.6s ease;
              left: 0;
              top: 0;
            }
            
            .carousel-slide {
                flex: 0 0 100%;
              display: flex;
              align-items: center;
              justify-content: center;
            }

            .carousel-container {
              width: 100%;
              height: 100%;
              position: relative;
              overflow: hidden;
            }

            .close-button {
              position: absolute;
              top: 30px;
              right: 30px;
              font-size: 1.5em;
              background: none;
              border: none;
              cursor: pointer;
            }

            .slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.page {
  width: 100%;
  flex-shrink: 0;
  min-height: calc(100vh - 30vh - 10vh);
}

          
.slide-left .slider {
  transform: translateX(-100%);
}

.slide-right .slider {
  transform: translateX(0%);
}

            .bloc_apropos {
              flex: 1;
              display: flex;
              flex-direction: column;
              top: 10vh;
              position: relative;
              margin-left: auto;
              margin-right: auto;
              margin: 0 auto;
              transform: translateX(-7%); 
              width: 57vw;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: flex-start;
              z-index: 5;
              border-top-left-radius: 50px;
              border-top-right-radius: 65px;  

              background-image: url('Links/plancher.png');
              background-size: cover;
              background-repeat: no-repeat;
              background-position: top center;
              background-clip: border-box;
              box-shadow: 15px 10px 30px 0 rgba(0, 0, 0, 0.6);
            }

            .bloc_apropos p {
              font-size: 18px;
              font-family: "Helvetica";
              font-weight: 200;
            }

            .bloc_apropos a {
              color: white;
              text-decoration: none;
            }

            .bloc_apropos a:hover{
              text-decoration:underline;
            }

            .bloc_apropos_metal {
              width: 90%;
              height: 25vh;
              background-color: #7b9aa0;
              margin-top: 3vh;
              position: relative;
              z-index: 3;
              border-radius: 15px;

              background-image: url('Links/Metal.jpg');
              background-size: cover;
              background-repeat: no-repeat;
              background-position: top center;
              background-clip: border-box;
            }

            .bloc_apropos_photo {
              position: absolute;
              top: -15%;
              right: -5%;
              transform: rotate(-8deg);
              width: calc(25vh * 1);
              z-index: 5;
              box-shadow: 0 0.5vh 1vh rgba(0, 0, 0, 0.3);
              overflow: hidden;
            }

            .bloc_apropos_photo img {
              width: 100%;
              height: 100%;
              object-fit: contain;
            }

            .bloc_apropos_ardoise {
              box-sizing: border-box;
              padding-top: 18px;
              padding-left: 40px;
              padding-right: 30px;
              color:white;
              width: 90%;
              min-height: 40vh;
              background-color: #2f2f2f;
              margin-top: 2vh;
              border-top-left-radius: 25px;
              border-top-right-radius: 25px;
              z-index: 2;
              flex: 1;

              background-image: url('Links/Ardoise.jpg');
              background-size: cover;
              background-repeat: no-repeat;
              background-position: top center;

              background-clip: border-box;
              overflow: hidden;
            }

            .apropos-section {
                display: table;
                width: 100%;
                margin-bottom: 1em;
              }

            .apropos-title {
              display: table-cell;
              width: 150px;
              vertical-align: top;
              font-weight: bold;
            }

            .apropos-content {
              display: table-cell;
            }

            .apropos-content p {
              margin: 0;
            }

                      .contact-container {
            position: relative;
            display: flex;
            justify-content: center;
            gap: 15vw;
            padding: 40px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            gap: 15vw;
            padding: 40px;
            height:120%
          }

          #fond-contact {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
          }

.form-left {
  margin-left: 10vw;
}

.form-right {
  width: 30vw;
}

.form-background {
  background-image: url('Links/vieux\ poster.png');
  transform: rotate(-6deg);
  background-size: cover;
  height: 612px;
  width: 443px;
  padding-top: 50px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 30px;
  color: black;
}

.form-background h2 {
  margin-bottom: 20px;
}

.form-background form {
  display: flex;
  flex-direction: column;
}

.form-background input,
.form-background textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.form-background textarea {
  height: 150px;
  resize: vertical;
}

.form-background button {
  padding: 8px 16px;
  border: none;
  background-color: #000000;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  align-self: flex-end;
  width: auto;
}

.poster {
  position: relative;
  width: 450px;
  margin: 0 auto;
  transform: rotate(-5deg);
}

.poster-img {
  width: 100%;
  display: block;
}

.poster-content {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  text-align: left;
  color: black;
  padding-left: 40px
}


.newsletter-block h2,
.reseaux-sociaux h2 {
  margin-bottom: 15px;
}

.newsletter {
  display: flex;
  border: 2px solid white;
  background-color: black;
  border-radius: 30px;
  overflow: hidden;
  width: fit-content;
  padding: 5px;
}

.newsletter input {
  background: transparent;
  border: none;
  color: white;
  padding: 10px 15px;
  outline: none;
  font-size: 16px;
  width: 200px;
  
}

.newsletter input::placeholder {
  color: #ccc;
}

.newsletter button {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  padding: 0 15px;
  cursor: pointer;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: white;
  background-color: black;
  border: 2px solid white;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 16px;
  width: 15vw;
  box-sizing: border-box;
}

.mail-text {
  display: inline-block;
  transition: transform 0.2s ease;
  transform-origin: left;
}

.mail-link:hover .mail-text {
  transform: scale(1.25);
}

.social-buttons a {
  display: inline-block;
  margin-right: 10px;
  padding: 10px;
  background-color: #000000;
  color: white;
  text-decoration: none;
  border-radius: 20px;
}

.social-buttons img {
  width: 75px;
  height: 75px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s;
}

.social-buttons img:hover {
  transform: scale(1.2);
}
          
            .footer {
              margin-top: auto;
              flex-shrink: 0;
              width: 100%;
              font-family: "Helvetica";
              background-color: #BD7958;
              color: #6d2a2a;
              text-align: left;
              padding: 4.5vh;
              z-index: 10;
              box-shadow: 10px -10px 20px 10px rgba(0, 0, 0, 0.5);
            }

            .footer-menu {
              display: flex;
              justify-content: left;
              align-items: center;
              gap: 3.23vw;
            }
            
            .footer-menu a {
              color: #6D402A;
              text-decoration: none;
              font-weight: 500;
            }

            .footer-menu a:hover {
                color: white;
            }
            .footer-logo {
              width: auto;
              max-height: 100%;
              height : 80px
            }