@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
/* header */

.header {
  border-bottom: 1px solid #e2e8f0;
  display: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem;
}

.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #101010;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 30%;
}

.nav-item {
  font-family: "Playfair Display", serif;
  margin-left: 5rem;
}

.nav-link {
  font-size: 18px;
  font-weight: 400;
}

.nav-link:hover {
  color: #e6d9c9;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 500;
  color: #000000;
  font-weight: 600;
  font-family: "Playfair Display", serif;
}

@media only screen and (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    left: 0;
    top: -100%;
    flex-direction: column;
    background-color: #e6d9c9;
    width: 100%;
    border-radius: 10px;
    z-index: 10;
    text-align: center;
    transition: 0.3s ease-in-out;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .header {
    display: block;
  }

  .nav-menu.active {
    top: 10rem;
    position: absolute;
  }

  .nav-item {
    margin: 2rem 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-link,
  .nav-logo {
    color: #000000;
    text-decoration: none;
  }
}

/*universel*/

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.esp-button {
  margin: 1.5rem 0 0 2rem;
  width: 11rem;
  height: 3rem;
  border: 2px solid #e6d9c9;
  font-size: 1.2rem;
  font-weight: 300;
  color: #000000;
  font-family: "Playfair Display", serif;
  box-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 0, 0, 0.200000003);
  background-color: #e6d9c9;
  border-radius: 0.6rem;
}

.a-esp-button {
  text-decoration: none;
  color: #000000;
}

/*nav bar ordi*/

.header-comp,
.nav-comp {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-comp {
  background-color: #ffffff;
}

.nav-comp {
  width: 25%;
}

.nav-comp a {
  text-decoration: none;
  color: #000000;
}

.logo img {
  height: 6rem;
  width: 6rem;
  margin: 1.5rem 0 1.5rem 7rem;
}

.list-nav {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.list-nav:hover {
  color: #e6d9c9;
}

.rectangle-contact {
  width: 10rem;
  height: 3.5rem;
  margin-right: 9rem;
  box-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 0, 0, 0.200000003);
  background-color: #e6d9c9;
  border-radius: 1rem;
  align-items: center;
}

.rectangle-contact a {
  text-decoration: none;
  color: #000000;
}

.rectangle-contact-content {
  height: 100%;
  color: #000000;
  font-size: 1.2rem;
  font-family: "Playfair Display", serif;
}

@media only screen and (max-width: 1024px) {
  .header-comp,
  .main-pic {
    display: none;
  }
}

/* main */

.main {
  background-image: url("../assets/background-main.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.main-content {
  padding-top: 2rem;
  display: flex;
}

.main-text {
  width: 40%;
  margin: 4rem 0 0 10rem;
  color: white;
}

.main-text h1 {
  margin-bottom: 2rem;
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.3;
}
.main-text p {
  width: 35rem;
  font-size: 1.2rem;
  font-family: "Playfair Display", serif;
  font-weight: 300;
  line-height: 1.4;
  word-spacing: 0.5rem;
}
.main-pic {
  width: 50%;
}

@media only screen and (max-width: 768px) {
  .main {
    height: 100%;
    background-size: 100% 105%;
  }
  .main-content {
    padding: 0;
    flex-direction: column;
  }

  .main-pic img {
    width: 95vw;
    padding: 0.5rem;
  }

  .main-text {
    width: 100%;
    margin: 0;
  }
  .main-text h1,
  .main-text p {
    width: 90vw;
    padding: 1rem;
    margin: 0;
    text-align: center;
  }
}

.presentation-article {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.presentation-title > h1,
.main-content-renovation > h1 {
  font-size: 3rem;
  font-weight: 500;
  font-family: "Playfair Display", serif;
  margin: 1rem 0 1rem 0;
}

.presentation-description {
  width: 71%;
  font-family: "Playfair Display", serif;
  color: #000000;
}

.presentation-description > p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
}

.presentation-description > h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

@media only screen and (max-width: 1024px) {
  .presentation-title > h1 {
    text-align: center;
    font-size: 2.5rem;
  }

  .presentation-photos > img {
    scale: 90%;
  }
}

/* produit */

.products-cards {
  display: grid;
  grid-template-columns: 25% 25% 25%;
  margin: 5rem 0 5rem 0;
}

.products-title {
  font-family: "Playfair Display", serif;
  font-weight: bold;
  font-size: 3rem;
  text-align: center;
  margin: 5rem;
}

.product-card {
  margin: 10rem 1rem 1rem 1rem;
  box-shadow: 0 0 1.499rem rgba(0, 0, 0, 0.200000003);
  border-radius: 1.4rem;
  max-height: 28rem;
}

.product-card-pic {
  margin-top: -10rem;
  width: 100%;
  height: 20rem;
  border-radius: 1.4rem 1.4rem 0 0;
}

.product-card-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.our-product img {
  width: unset;
  height: unset;
}

.product-card-text {
  width: 80%;
  font-family: "Playfair Display", serif;
  margin-left: 2rem;
}

#image1,
#image2,
#image3 {
  width: 20rem;
  height: 20rem;
  margin: 1rem;
  border-radius: 1.4rem 1.4rem 1.4rem 1.4rem;
}

.product-card-text h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 1rem 0;
}

.product-card-text p {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 1rem 0;
  line-height: 1.8rem;
}

.button-redirect {
  margin-bottom: 2rem;
}

.boutton-materiaux {
  display: flex;
  justify-content: center;
  margin: 2rem 0 1rem 0;
}

.boutton-materiaux button {
  background-color: #ffffff;
  margin: 1rem;
}

.boutton-materiaux button:hover,
.boutton-materiaux button:focus {
  background-color: #e6d9c9;
}

.fermer-button {
  width: 5rem;
}

@media only screen and (max-width: 1024px) {
  .products-cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .product-card {
    margin: 10rem 1rem 1rem 1rem;
    width: 90%;
  }
  .presentation-photos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  #image1,
  #image2,
  #image3 {
    width: 25rem;
    height: 25rem;
  }
}

/* footer */

footer {
  background-color: #43492d;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  footer {
    padding-top: 100px;
  }
}

.footer-ligne {
  width: 80%;
  margin: 0 10vw 0 10vw;
  height: 0.1rem;
  background-color: #ffffff;
}

.footer-content {
  display: flex;
  background-repeat: no-repeat;
  height: 18rem;
}

.footer-content-1 img {
  width: 8rem;
  height: 8rem;
}

.footer-content-1,
.footer-content-2,
.footer-content-3,
.footer-content-4,
.footer-content-5,
.mentions-legal,
.politique-conf {
  width: 19%;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 3rem 5rem 2rem 5rem;
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffff;
  font-family: "Playfair Display", serif;
}

.footer-list {
  padding: 1rem 0 0rem 0;
}

.footer-list > ul > li {
  display: flex;
  align-items: center;
  margin: 1rem 0 1rem 0;
}

.footer-list > ul > li > svg {
  margin-right: 1rem;
}

.footer-list h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
}

.footer-content-1 img {
  margin-bottom: 2rem;
}
.footer-content-1 p {
  line-height: 1.4;
}

.footer-content-2 a,
.footer-content-3 a,
.footer-content-4 a,
.footer-content-5 a {
  color: #ffffff;
  text-decoration: none;
}

.footer-content-3 img {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
}

.mentions-legal,
.politique-conf {
  padding: 0;
  background: none;
  border: none;
  width: 100%;
}

@media only screen and (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    height: 100%;
  }
  .footer-content-1,
  .footer-content-2,
  .footer-content-3,
  .footer-content-4,
  .footer-content-5 {
    width: 85%;
    padding: 1.8rem;
  }
  .footer-content-1 img {
    margin-bottom: 1rem;
  }
  .footer-list > ul > li {
    margin: 0.2rem 0 1rem 0;
  }
  .footer-ligne {
    width: 80%;
  }
}

.main-content-renovation {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.presentation-renovation {
  width: 100%;
}

.presentation-renovation > h3 {
  text-align: center;
  font-size: 1.8rem;
  margin: 2rem 0 1rem 0;
}

.renovation-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 3rem;
}

.trois-photos {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.deux-photos img {
  margin: 0 6rem 0 6rem;
}

.double-photo img {
  margin: 0 6rem 0 6rem;
}

.renovation-photos p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
}

.renovation-photos img {
  border-radius: 1.4rem;
  height: 23rem;
  width: 23rem;
}

.texte-renovation {
  display: flex;
  align-items: center;
  justify-content: center;
}
.texte-renovation p {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
}

.item-renovation {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (max-width: 1024px) {
  .presentation-renovation > h3 {
    margin: 1rem 0 1rem 0;
  }
  .presentation-renovation {
    width: unset;
  }
  .renovation-photos {
    flex-direction: column;
  }
  .renovation-photos img {
    width: 20rem;
    height: 20rem;
    margin: 1rem 0 1rem 0;
  }
  .double-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.overlay,
.overlay-2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.modal {
  background-color: white;
  width: 50%;
  max-width: 700px;
  height: 70%;
  max-height: 700px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  font-size: 1.5rem;
  overflow: scroll;
  overflow-x: hidden;
}

.title-modal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 1.5rem 0;
}
.title-modal > button {
  margin-top: 0;
}

.closeMentionsLegal .closePolitiqueConf {
  margin-bottom: 1.8rem;
}

.createur {
  padding-top: 24px;
}

.title-modal > h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  font-family: Roboto, "Source Sans Pro";
}
.modal > h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  font-family: Roboto, "Source Sans Pro";
}
.modal > p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
  font-family: Poppins, "Source Sans Pro";
}

@media screen and (max-width: 768px) {
  .modal {
    width: 75%;
    height: 80%;
  }
}

/* display none */

.display-none {
  display: none;
}

#modal-menu {
  position: absolute;
  z-index: 1;
  left: 42%;
  top: 8rem;
  background-color: #e6d9c9;
  border-radius: 1rem;
}

.modal-menu-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 8rem;
  width: 11rem;
}

.modal-menu-content a {
  text-decoration: none;
  color: #000000;
}

.modal-menu-content a:hover {
  color: brown;
}

.modal-menu-content ul {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
}

.modal-menu-content > ul > li {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}
