@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: #5c5c5c;
}

/* Base */

body {
  background-color: #1c1c1a;
  overflow-x: hidden;
  position: relative;
}

.produit,
.services,
.picture,
.contact {
  width: 100%;
  margin-bottom: 50px;
  transform: translateY(50%);
  transition: 0.5s;
}

/* Header */

.header h1,
.header2 h1,
.header3 h1,
.header4 h1,
.header5 h1,
.header6 h1,
.header7 h1,
.header8 h1,
.header9 h1,
.header10 h1,
.header11 h1,
.header12 h1,
.header13 h1,
.header14 h1,
.header15 h1,
.header16 h1,
.header17 h1 {
  font-size: 250px;
  text-transform: capitalize;
  font-family: "Poppins", sans-serif;
}

.header .big_title,
.header2 .big_title,
.header3 .big_title,
.header4 .big_title,
.header5 .big_title,
.header6 .big_title,
.header7 .big_title,
.header8 .big_title,
.header9 .big_title,
.header10 .big_title,
.header11 .big_title,
.header12 .big_title,
.header13 .big_title,
.header14 .big_title,
.header15 .big_title,
.header16 .big_title,
.header17 .big_title {
  font-size: 120px;
  color: #fff;
}

.header .small_title,
.header2 .small_title,
.header3 .small_title,
.header4 .small_title,
.header5 .small_title,
.header6 .small_title,
.header7 .small_title,
.header8 .small_title,
.header9 .small_title,
.header10 .small_title,
.header11 .small_title,
.header12 .small_title,
.header13 .small_title,
.header14 .small_title,
.header15 .small_title,
.header16 .small_title,
.header17 .small_title {
  font-size: 45px;
  color: #fff;
}

section:first-child {
  transform: translateY(1);
}
section.active {
  transform: translateY(0);
}

.text {
  display: flex;
  align-items: center;
  flex-direction: column;
}

/* Lien */

a {
  text-decoration: none;
}

/* Logo */

.logo_arc {
  height: 100px;
  width: 100px;
  border: 3px solid #cce315;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 20px;
  top: 20px;
  cursor: pointer;
  box-shadow: 0 0 15px #cce315;
}

/* Bouton */

.btn_style {
  margin-top: 20px;
  text-decoration: 0;
  text-transform: uppercase;
  background-color: #1c1c1a;
  color: #cce315;
  border: 1px solid #cce315;
  padding: 10px 30px;
  transition: 0.5s;
  font-weight: 400;
}

.btn_style:hover {
  background-color: #cce315;
  color: #000;
  box-shadow: 0 0 25px #cce315;
  transform: scale(1.1);
  transition: 0.5s;
}

/* Bouton 2 */

.btn_style2 {
  margin-top: 20px;
  text-decoration: 0;
  text-transform: uppercase;
  background-color: #1c1c1a;
  color: #fff;
  border: 1px solid #cce315;
  padding: 10px 30px;
  transition: 0.5s;
  font-weight: 400;
  opacity: 55%;
}

.btn_style2:hover {
  background-color: #cce315;
  color: #000;
  box-shadow: 0 0 25px #cce315;
  transform: scale(1.1);
  transition: 0.5s;
  opacity: 100%;
}

/* Header */

.header {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloison_fond_ecran.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header2 (realisation) */

.header2 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/commentaire2.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header3 (Newsletter) */

.header3 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloison_vitree3.jpeg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header4 (Conctact) */

.header4 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloisons/H7/H7_Classique/nos_bureaux2.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header5 (Mentions) */

.header5 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloisons/H9/cloison-amobible-hoyez-cloison-bord-a-bord-H9B-cloisons-de-bureaux-amenagement-dune-salle-de-reunion..jpeg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header6 (Conditions) */

.header6 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloisons/H9/cloison-H9-hoyez-remplissage-bois-ossature-blanche-salle-de-reunion-1.jpeg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header7 (cloisons) */

.header7 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloisons/3ec17f25-febb-422e-8b0a-0f4ff8872e9d.jpeg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
  margin-bottom: 30px;
}

/* Header8 (sols et plafonds) */

.header8 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/realisation1.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
  margin-bottom: 30px;
}

/* Header9 (Acoustique) */

.header9 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/Acoustique/ca4cc3d6-ee17-49f7-90b5-7dcdf01bd19b.jpeg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
  margin-bottom: 30px;
}

/* Header10 (Mobiliers) */

.header10 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/Mobiliers/IMG_1370.JPG);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
  margin-bottom: 30px;
}

/* Header11 (Vitrophanie) */

.header11 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/commentaire.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
  margin-bottom: 30px;
}

/* Header12 (CloisonsH5) */

.header12 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloisons/21_HT-Tertial-Lineal_Elite-9-555x500.jpeg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header13 (CloisonsH7) */

.header13 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloisons/H7/H7_Classique/Photo_cloison_H7.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header14 (CloisonsH9) */

.header14 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloisons/H9/cloison-H9-hoyez-vitree-vegetal-bois-amenagement-esprit-green-1.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header15 (CloisonsHT) */

.header15 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloisons/HT/Cloison\ de\ séparation\ 2.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header16 (Cloisons solution H) */

.header16 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/cloisons/Solution_H/20240731_112556.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Header17 (Services) */

.header17 {
  padding: 20px 5%;
  height: 100vh;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: url(../img/9020174710356119071.jpg);
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 25px #cce315;
}

/* Menu */

.menu {
  position: absolute;
  top: 20px;
  left: 5%;
  height: 60px;
  width: 60px;
  border: 3px solid #cce315;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.5s;
  z-index: 2;
}

.menu.show {
  height: 50px;
  width: 50px;
  border: 2px solid #cce315;
  transform: rotate(450deg);
  border-radius: 50%;
}

.menu::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: #cce315;
  border-radius: 6px;
  transform: rotate(45deg);
  transition: 0.5s;
}

.menu::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: #cce315;
  border-radius: 6px;
  transform: rotate(-45deg);
  transition: 0.5s;
}

/* Navigation */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1c1a;
  transform: translateX(-200%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 70px;
  transition: 0.5s;
}

.nav.show {
  transform: translate(0);
}

.nav div {
  display: flex;
  flex-direction: column;
}

.links {
  width: 50%;
}

.image {
  height: 80vh;
  width: 45%;
  padding-right: 20px;
  padding-bottom: 20px;
  border-right: 5px solid #cce315;
  border-bottom: 5px solid #cce315;
}

.image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.nav div a {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #cce315;
  text-decoration: 0;
  transition: 0.5s;
  font-size: 40px;
  width: fit-content;
}

.nav div a:hover {
  padding-left: 25px;
  padding-right: 25px;
  color: #fff;
  border-left: 8px solid #cce315;
  border-right: 8px solid #cce315;
}

.nav div p {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #cce315;
  text-decoration: 0;
  transition: 0.5s;
  font-size: 40px;
  width: fit-content;
}

.nav div p:hover {
  padding-left: 25px;
  padding-right: 25px;
  color: #fff;
  border-left: 8px solid #cce315;
  border-right: 8px solid #cce315;
}

/* menu deroulant nav */

.menu-deroulant > p::after {
  content: ">";
  font-size: 15px;
  margin-left: 7px;
  display: inline-block;
}

.menu-deroulant {
  display: inline-block;
}

.menu-deroulant .sous-menu {
  display: none;
  position: absolute;
  background-color: #242421;
  z-index: 1;
  list-style: none;
  border-radius: 15px;
}

.menu-deroulant:hover .sous-menu {
  display: block;
}

.sous-menu li {
  padding: 8px 16px;
  text-align: left;
}

.sous-menu li a {
  text-decoration: none;
  color: #b2c057;
  display: block;
}

@keyframes rotationfleche {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(90deg);
  }
}

.menu-deroulant:hover > p:after {
  animation: rotationfleche 0.2s linear forwards;
}


.title {
  color: #cce315;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-size: 40px;
  border-bottom: 1px solid #cce315;
  padding-top: 20px;
}

.small_text {
  color: #999;
  font-size: 20px;
  letter-spacing: 0.5px;
  line-height: 26px;
  margin-top: 10px;
  margin-bottom: 35px;
}

/* carte accueil */

.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 30px;

}

.flex-item {
  position: relative;
  width: 350px;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  
}

.flex-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.flex-item .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.flex-item h2 {
  margin: 0;
  font-size: 24px;
  color: #cce315;
}

.flex-item p {
  margin: 10px 0 0;
  font-size: 16px;
  margin-bottom: 30px;
}

.flex-item.expanded {
  height: 550px;
}

.flex-item.expanded img {
  transform: scale(1.2);
}

.flex-item.expanded .content {
  transform: translateY(0);
}

.center-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 24px;
  transition: opacity 0.3s ease;
}

.flex-item.expanded .center-text {
  opacity: 0;
  visibility: hidden;
}

/* picture */
.picture {
  width: 100%;
  padding: 30px 5%;
  height: 80vh;
  overflow: hidden;
  background-color: #242421;
  box-shadow: 0 0 20px #cce315;
  border-bottom: 3px solid #cce315;
  border-top: 3px solid #cce315;
}

.image_content {
  position: relative;
  height: 100%;
  width: 100%;
  background: url(../img/realisation1.jpg);
  background-size: cover;
  background-position: center;
  transition: 0.5s;
  overflow: hidden;
  border-radius: 30px;
}

.image_content .content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  /* background-color: rgba(0, 0, 0, 0.8); */
  background: linear-gradient(#606b0b61, #242421);
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: 0.5s ease-in-out;
}

.image_content:hover .content {
  transform: translateY(0);
}

.picture .content h2 {
  text-transform: capitalize;
  font-size: 70px;
  text-decoration: none;
}

/* services */

.services {
  padding: 50px 5%;
  display: flex;
  flex-direction: column;
}

.services img {
  width: 300px;
  border-radius: 10px;
  transition: 0.5s;
}

.services img:hover {
  transform: scale(1.03);
}

.services h2 {
  font-size: 20px;
  margin-bottom: 20px;
  margin-top: 20px;
  color: #cce315;
}

.list_services {
  display: flex;
  justify-content: space-between;
}

.services .box {
  text-align: center;
  padding: 20px 45px;
}

.services .box img {
  height: 80%;
  width: 50%;
}

.services .box p {
  padding-bottom: 25px;
  color: #fff;
}

/* A propos */

.apropos {
  padding: 70px;
  /* height: 80vh; */
  width: 100%;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-color: #242421;
  /* box-shadow: 0 0 25px #cce315;
  border-bottom: 3px solid #cce315; */
  border-top: 3px solid #cce315;
  margin-bottom: 40px;
}

.title {
  color: #cce315;
  text-transform: capitalize;
  letter-spacing: 1px;
  font-size: 40px;
  border-bottom: 1px solid #cce315;
}

/* contact */

.contact {
  padding: 20px 5%;
  width: 100%;
}

.contact .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.container .form_img {
  width: 50%;
  height: 500px;
  border-radius: 10%;
}

.container .form_img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10%;
}

form {
  /* width: 40%; */
  display: flex;
  justify-content: center;
  flex-direction: column;
}

label {
  padding: 10px 0;
  color: #fff;
}

input,
textarea {
  background-color: transparent;
  border: 1px solid #cce315;
  padding: 10px 5px;
  color: #fff;
  outline: 0;
  resize: none;
  border-radius: 10px;
}

form button {
  width: fit-content;
  margin-top: 20px;
  padding: 10px 20px;
  color: #000;
  background-color: #000;
  color: #cce315;
  border: 0;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1p;
  cursor: pointer;
  transition: 0.5s;
  border-radius: 30px;
}

form button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #cce315;
}


/* contact 2 */

div#eapps-contact-form-7079c4c4-aeaa-4930-a350-b47a713c60c5 {
  padding: 50px;
}


/* footer */

footer {
  text-align: center;
  background-color: #000;
  padding: 30px 0;
  font-size: 15px;
  color: #fff;
}

footer p {
  padding-bottom: 20px;
}

footer p a {
  color: #cce315;
  transition: 0.5s;
}

footer p a:hover {
  color: #fff;
}

/* bouton scroll */

#btn {
  display: block;
  z-index: 6;
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: none;
  border-radius: 50%;
  outline: none;
  height: 60px;
  width: 60px;
  padding: 8px;
  background: #cce315;
}

#btn p {
  font-size: 30px;
}

#btn:hover,
#btn:focus,
#btn:focus-within {
  cursor: pointer;
  transform: scale(1.1);
  box-shadow: 0 0 20px #cce315;
}

/* slide (realisation) */

.slider {
  height: 250px;
  margin: auto;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: calc(250px * 18);
  animation-play-state: running;
  animation: scroll 15s linear infinite;
}

.slide-track:hover{
  animation-play-state: paused;
}
@keyframes scroll {
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(calc(-250px*9));
  }
  
}

.slide {
  height: 250px;
  width: 250px;
  display: flex;
  align-items: center;
  padding: 15px;
  perspective: 100px;
}

.slide img {
  width: 100%;
  transition: transform 1s;
}

.slide img:hover {
  transform: translateZ(20px);
}

.slider::before,
.slider::after {
  background: linear-gradient(
    to right,
    #1c1c1a 0%,
    rgba(255, 255, 255, 0)
  );
  content: "";
  height: 100%;
  position: absolute;
  width: 15%;
  z-index: 2;
  
}

.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.title_part2{
  text-align: center;
  font-size: 35px;
  color: #cce315;
  margin-top: 20px;
  margin-bottom: 20px;
  border-top: #cce315 2px solid;
  }

/* slide (accueil) */

.title_part{
text-align: center;
font-size: 50px;
color: #cce315;
margin-top: 100px;
margin-bottom: 50px;
}


.slider2 {
  height: 300px;
  margin: auto;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slide-track2 {
  display: flex;
  width: calc(250px * 18);
  animation-play-state: running;
  animation: scroll 15s linear infinite;
}

.slide-track2:hover{
  animation-play-state: paused;
}
@keyframes scroll {
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(calc(-250px*9));
  }
  
}

.slide2 {
  height: 250px;
  width: 250px;
  display: flex;
  align-items: center;
  padding: 15px;
  perspective: 100px;
  width: 20%;
  transition: 0.6s;
  
}

.slide2 img {
  /* width: 100%; */
  transition: transform 0.5s;
  border-radius: 5%;
  transition: 0.6s;
}

.slide2 img:hover{
  transform: translateZ(5px);
} 

.slide2 a{
  transition: 0.6s;
}

.slide2 a:hover{
  transform: translateZ(5px);
}

.slider2::before,
.slider2::after {
  background: linear-gradient(
    to right,
    #1c1c1a 0%,
    rgba(255, 255, 255, 0)
  );
  content: "";
  height: 100%;
  position: absolute;
  width: 15%;
  z-index: 2;
  
}

.slider2::before {
  left: 0;
  top: 0;
}

.slider2::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}


/* mention */

.mention {
  padding-left: 25px;
}

/* conditions */

.conditions {
  padding-left: 15px;
}

/* loader */

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c1c1a;
  transition: ease-in-out 1.5s;
  z-index: 3;
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
}

.loader::after {
  content: "";
  width: 75px;
  height: 75px;
  border: 15px solid #dddddd;
  border-top-color: #cce315;
  border-radius: 50%;
  animation: loading 0.75s ease infinite;
}

@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

/***************************** service ***********************************/

/* a propos 1 */

.row img{
  border-radius: 5%;
}
.apropos1 {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.apropos1 h1 {
  font-size: 36px;
  font-weight: 600;
  color: #cce315;
}

.apropos1 img{
  max-height: 250px;
  display: block;
}

.apropos1 p {
  color: #fff;
  font-size: 17px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.apropos1-col {
  flex-basis: 31%;
  background: linear-gradient(#cbe31561, #1b1b1a);
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
  border-top: 2px solid #cce315;
}

.apropos1-col h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
  color: #b2c057;
}


/* a propos 2 */

.apropos2{
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.apropos2 h1 {
  font-size: 36px;
  font-weight: 600;
  color: #cce315;
}

.apropos2 p {
  color: #fff;
  font-size: 17px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.apropos2-col{
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.apropos2-col img{
  width: 100%;
  height: 100%;
  display: block;
}

.layer{
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover{
  background-color: rgba(204, 227, 21, 0.7);
}

.layer h3{
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3{
  bottom: 49%;
  opacity: 1;

}

/* a propos 3 */


.row img{
  border-radius: 5%;
}
.apropos3 {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.apropos3 h1 {
  font-size: 36px;
  font-weight: 600;
  color: #cce315;
}

.apropos3 img{
  max-height: 250px;
  display: block;
}

.apropos3 p {
  color: #fff;
  font-size: 17px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.apropos3-col {
  flex-basis: 31%;
  background: linear-gradient(#1b1b1a,  #cbe31561);
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
  border-bottom: 2px solid #cce315;
}

.apropos3-col h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
  color: #b2c057;
}

/* a propos 4 */

.apropos4{
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../img/cloison_vitree3.jpeg);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}

.apropos4 h1{
  color: #fff;
  margin-bottom: 40px;
  padding: 0;
}


@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }

  .apropos4 h1{
    font-size: 24px;
  }
}

/***************************** fin service ***********************************/



/* a propos (accueil) */

.title_part3{
  text-align: center;
  font-size: 20px;
  color: #cce315;
  margin-top: 20px;
  margin-bottom: 20px;
  border-top: #cce315 2px solid;
  }

.articles{
  margin-top: 80px;
  margin-bottom: 80px;
  padding-left: 80px;
}
.articles .article{
  display: flex;
  flex-wrap:wrap;
  margin-bottom: 30px;
}
.articles .article .left img{
  height: 300px;
  width: 500px;
  border-radius: 30px;
}
.articles .article .right {
  margin-left: 40px;
  max-width: 50%;
}

.articles .article .right p.description{
  color: #ffffff;
}

@media screen and (max-width: 640px){
  
  .articles{
    text-align: center;
    padding-left: 0px;
    padding: 15px;
  }

  .articles .article .left img{
    height: 100%;
    width:100%;
  }
  .articles .article .right{
    margin: 0px;
    max-width: 100%;
  }


}


 /* upscale */

 .carousel-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.carousel {
  flex: 1;
  margin: 10px;
  overflow: hidden;
  position: relative;
}

.carousel-slide {
  position: relative;
}

.carousel img {
  width: 100%;
  height: auto;
  display: block;
}

.upscale-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .carousel {
      flex: 1 1 100%;
  }
}

/* avant apres */

.custom-container {
  position: relative;
  width: 80%;
  max-width: 800px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.custom-image-container {
  position: relative;
  width: 100%;
  height: 500px;
}

.custom-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-image-avant {
  z-index: 1;
}

.custom-image-apres-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  width: 50%; /* Initial width corresponding to the initial slider value */
}

.custom-image-apres {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #abbc6d;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
}

.custom-slider {
  position: absolute;
  bottom: 20px;
  width: 100%;
  z-index: 4;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: linear-gradient(#606b0b61, #242421);
  outline: none;
  cursor: pointer;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #cce375;
  border-radius: 50%;
  cursor: pointer;
}

.custom-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #cce375;
  border-radius: 50%;
  cursor: pointer;
}

/* Responsive 1 */

@media (max-width: 1100px) {

  /* header */

  .header,
  .header2,
  .header3,
  .header4,
  .header5,
  .header6,
  .header7,
  .header8,
  .header9,
  .header10,
  .header11,
  .header12,
  .header13,
  .header14,
  .header15,
  .header16,
  .header17 {
    height: 100vh;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-position: center;
    background-size: cover;
  }

  .header h1,
  .header2 h1,
  .header3 h1,
  .header4 h1,
  .header5 h1,
  .header6 h1,
  .header7 h1,
  .header8 h1,
  .header9 h1,
  .header10 h1,
  .header11 h1,
  .header12 h1,
  .header13 h1,
  .header14 h1,
  .header15 h1,
  .header16 h1,
  .header17 h1 {
    font-size: 35px;
  }

  .header .big_title,
  .header2 .big_title,
  .header3 .big_title,
  .header4 .big_title,
  .header5 .big_title,
  .header6 .big_title,
  .header7 .big_title,
  .header8 .big_title,
  .header9 .big_title,
  .header10 .big_title,
  .header11 .big_title,
  .header12 .big_title,
  .header13 .big_title,
  .header14 .big_title,
  .header15 .big_title,
  .header16 .big_title,
  .header17 .big_title {
    font-size: 35px;
  }

  .header .small_title,
  .header2 .small_title,
  .header3 .small_title,
  .header4 .small_title,
  .header5 .small_title,
  .header6 .small_title,
  .header7 .small_title,
  .header8 .small_title,
  .header9 .small_title,
  .header10 .small_title,
  .header11 .small_title,
  .header12 .small_title,
  .header13 .small_title,
  .header14 .small_title,
  .header15 .small_title,
  .header16 .small_title,
  .header17 .small_title {
    font-size: 20px;
  }

  /* Bouton */

  .btn_style {
    font-style: 12px;
  }

  .menu {
    height: 30px;
    width: 30px;
  }

  .menu.show {
    height: 30px;
    width: 30px;
  }

  /* navigation */

  .nav .image {
    display: none;
  }

  .nav .links {
    height: 100%;
    width: 100%;
    padding-left: 0px;
  }

  .nav .menu-deroulant {
    font-size: 20px;
  }
  .nav .links a {
    font-size: 35px;
    margin: 0;
    padding: 10px;
    width: 100%;
    background-color: #cce315;
    border: 1px solid #1c1c1a;
    color: #000;
  }

  .nav .links a:hover {
    color: #000;
    border-left: 12px solid #1c1c1a;
    border-right: 12px solid #1c1c1a;
  }

  .nav .links p {
    font-size: 35px;
    margin: 0;
    padding: 10px;
    width: 100%;
    background-color: #cce315;
    border: 1px solid #1c1c1a;
    color: #000;
  }

  .nav .links p:hover {
    color: #000;
    border-left: 12px solid #1c1c1a;
    border-right: 12px solid #1c1c1a;
  }
  /* produit */

  .produit {
    margin-top: 100px;
    padding: 10px;
    flex-direction: column-reverse;
  }

  .produit .left,
  .produit .right {
    width: 100%;
  }

  .produit .left {
    margin-top: 25px;
  }

  .image_content {
    height: 450px;
  }

  .title {
    font-size: 29px;
  }

  .produit img {
    max-width: 700px;
    max-height: 300px;
  }

  .picture {
    align-content: center;
  }

  .picture .content h2 {
    font-size: 25px;
  }

  /* service */

  .services {
    margin-top: -100px;
  }
  .list_services {
    flex-direction: column;
  }
  .list_services .box {
    width: 100%;
    margin-top: 50px;
    border: 1px solid #cce315;
  }
  .list_services img {
    width: 100%;
  }

  /* .services .box img {
    height: 100%;
    width: 100%;
  } */
  /* a propos */

  .apropos {
    flex-direction: column;
  }

  .apropos .box {
    display: none;
  }
  
  /* contact */

  form {
    width: 100%;
  }

  .form_img {
    display: none;
  }

  /* footer */

  footer a {
    display: block;
  }

  /* bouton scroll */

  #btn {
    height: 50px;
    width: 50px;
    background: #cce315;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    z-index: 6;
  }

  #btn p {
    font-size: 25px;
  }

  /* slide */

  

  .menu-deroulant > a::after {
    content: ">";
    font-size: 15px;
    margin-left: 7px;
    display: inline-block;
  }

  /* slide acceuil */
  
  .title_part{
    font-size: 40px;
    }

  .slider2 img{
    max-width: 220px;
  }
  
}

/* responsive 2 */

@media (max-width: 375px) {
  
  /* Header (Accueil) */

  .header,
  .header2,
  .header3,
  .header4,
  .header5,
  .header6,
  .header7,
  .header8,
  .header9,
  .header10,
  .header11,
  .header12,
  .header13,
  .header14,
  .header15,
  .header16,
  .header17 {
    height: 100vh;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #cce315;
    background-position: center;
    background-size: cover;
  }
  .header .big_title,
  .header2 .big_title,
  .header3 .big_title,
  .header4 .big_title,
  .header5 .big_title,
  .header6 .big_title,
  .header7 .big_title,
  .header8 .big_title,
  .header9 .big_title,
  .header10 .big_title,
  .header11 .big_title,
  .header12 .big_title,
  .header13 .big_title,
  .header14 .big_title,
  .header15 .big_title,
  .header16 .big_title,
  .header17 .big_title {
    font-size: 35px;
  }

  .header .small_title,
  .header2 .small_title,
  .header3 .small_title,
  .header4 .small_title,
  .header5 .small_title,
  .header6 .small_title,
  .header7 .small_title,
  .header8 .small_title,
  .header9 .small_title,
  .header10 .small_title,
  .header11 .small_title,
  .header12 .small_title,
  .header13 .small_title,
  .header14 .small_title,
  .header15 .small_title,
  .header16 .small_title,
  .header17 .small_title {
    font-size: 20px;
  }

  .header h1,
  .header2 h1,
  .header3 h1,
  .header4 h1,
  .header5 h1,
  .header6 h1,
  .header7 h1,
  .header8 h1,
  .header9 h1,
  .header10 h1,
  .header11 h1,
  .header12 h1,
  .header13 h1,
  .header14 h1,
  .header15 h1,
  .header16 h1,
  .header17 h1 {
    text-align: center;
    font-size: 100px;
  }

  .header img,
  .header2 img,
  .header3 img,
  .header4 img,
  .header5 img,
  .header6 img,
  .header7 img,
  .header8 img,
  .header9 img,
  .header10 img,
  .header11 img,
  .header12 img,
  .header13 img,
  .header14 img,
  .header15 img,
  .header16 img,
  .header17 img  {
    height: 80px;
    width: 80px;
  }

  /* Bouton */

  .btn_style {
    font-style: 12px;
  }

  .menu {
    height: 30px;
    width: 30px;
  }

  .menu.show {
    height: 30px;
    width: 30px;
  }

  /* navigation */

  .nav .image {
    display: none;
  }

  .nav .links {
    height: 100%;
    width: 100%;
    padding-left: 0px;
  }

  .nav .links a {
    font-size: 20px;
    margin: 0;
    padding: 10px;
    width: 100%;
    background-color: #cce315;
    border: 1px solid #1c1c1a;
    color: #000;
  }

  .nav .links a:hover {
    color: #000;
    border-left: 12px solid #1c1c1a;
    border-right: 12px solid #1c1c1a;
  }

  .nav .links p {
    font-size: 20px;
    margin: 0;
    padding: 10px;
    width: 100%;
    background-color: #cce315;
    border: 1px solid #1c1c1a;
    color: #000;
  }

  .nav .links p:hover {
    color: #000;
    border-left: 12px solid #1c1c1a;
    border-right: 12px solid #1c1c1a;
  }

  /* produit */

  .produit {
    margin-top: 100px;
    padding: 10px;
    flex-direction: column-reverse;
  }

  .produit .left,
  .produit .right {
    width: 100%;
  }

  .produit .left {
    margin-top: 25px;
  }

  .image_content {
    height: 450px;
  }

  .title {
    font-size: 29px;
  }

  .produit img {
    max-width: 700px;
    max-height: 150px;
  }

  .picture .image_content {
    width: 100%;
    height: 100%;
  }

  .picture .content h2 {
    font-size: 25px;
  }

  /* service */

  .services {
    margin-top: -100px;
  }
  .list_services {
    flex-direction: column;
  }
  .list_services .box {
    width: 100%;
    margin-top: 50px;
    border: 1px solid #cce315;
  }
  .list_services img {
    width: 100%;
  }

  /* a propos */

  .apropos {
    flex-direction: column;
  }

  .apropos .box {
    display: none;
  }
  /* contact */

  form {
    width: 100%;
  }

  .form_img {
    display: none;
  }

  /* footer */

  footer a {
    display: block;
  }

  /* bouton scroll */

  #btn {
    height: 45px;
    width: 45px;
    background: #cce315;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    z-index: 6;
  }

  #btn p {
    font-size: 20px;
  }

  a {
    font-size: 80%;
  }
  /* slide */

  .slidershow {
    width: 100%;
    height: 80%;
    margin-top: 50px;
  }
  .navigation {
    position: relative;
  }
  .navigation2 {
    position: relative;
  }
  .navigation3 {
    position: relative;
  }
  .navigation4 {
    position: relative;
  }

  .sous-menu li {
    padding: 2px 15px;
    text-align: left;
  }

  /* slide accueil */

  .title_part{
    font-size: 30px;
    }

  .slider2 img{
    max-width: 180px;
  }

}

@media (max-height: 800px){


.picture .image_content{
  height: 100%;
  width: 100%;
}

.nav .links a{
  font-size: 22px;
}

.list_services .box{
  width: 100%;
  height: 100%;
  align-self: center;
}
}

@media (max-height: 375px){
  .header img,
  .header2 img,
  .header3 img,
  .header4 img,
  .header5 img,
  .header6 img,
  .header7 img,
  .header8 img,
  .header9 img,
  .header10 img,
  .header11 img,
  .header12 img,
  .header13 img,
  .header14 img,
  .header15 img,
  .header16 img,
  .header17 img{
  height: 70px;
  width: 70px;
}

.picture .image_content{
  height: 100%;
  width: 100%;
}

.nav .links a{
  font-size: 10px;
}
}