*,
*::before,
*::after {
   box-sizing: content-box;
}


/* Remove default padding and margin */
* {
  margin: 0;
  padding: 0;
}


/* Default anchor tag styling */
a {
   text-decoration: none;
   color: black;
}


a:hover {
   cursor: pointer;
}



/* Body styling */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  max-width: 98%;

}

body {
    font-family: 'DM Serif Display', sans-serif;
    font-size: 2rem;
  }
  
  
  .head-content {
    width: 100%;
    margin: auto;
    overflow: hidden;
    text-align: center;
  }

  .content {
    min-height: 100%;
    box-sizing: border-box;
    padding-bottom: 100px; /* Ajout d'un padding en bas pour le footer */
  }
  
  .container {
    padding:0.2rem 1rem;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    grid-gap: 1rem;
 }

 .container3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  text-align: center;
}

 .container2 {
  padding:0.2rem 1rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-gap: 1rem;
}
.head-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr 0.7fr;
  grid-gap: 1rem;
}
.head-image2 {
padding-top: 50%;
width: auto;
}
.head-image1{
  padding-top: 0%;
  width: fit-content;
  }
   
.container > div {
  top: auto;
  height: auto; /* This allows the div to grow with the content */
}
.container2 > div {
  top: auto;
  height: auto; /* This allows the div to grow with the content */
}
section {
  flex-grow: 1; /* Sections take up available space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.swiper-slide img {
  display: block;
  width: 100%; /* Make sure the image fills its container */
  height: auto; /* Allow the height to adjust proportionally */
  object-fit: cover; /* Ensure the image covers the entire container */
  aspect-ratio: 3 / 2; /* Set the aspect ratio to 3:2 */
}

/* Adjustments for specific containers if necessary */
.container .swiper-slide img,
.container2 .swiper-slide img {
  aspect-ratio: 3 / 2; /* Override aspect ratio if needed */
}

div.project_content {
  justify-items: center;
  align-items: center;
}
.project_content h1,h2, p {
  padding: 0.2rem 1rem;
}


.project_container img {
  height: 50%;
}


/* Swiper container stylng */
.swiper {
  right: 1rem;
  width: 100%;
  height: auto; /* Adjust swiper height */
}


.swiper-slide {
  text-align: center;
   /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}




.card-single {
  margin: 1%;
  padding: 1%;
  width: auto;
  height: auto;
  background: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.card-single {
  display: none; /* Hide all cards initially */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.title-container {
  font-size: 3rem; 
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap; /* Prevent line breaks */
}

.title-container h2 {
  margin-right: 1rem; 
  white-space: nowrap;/* Adjust the spacing between titles */
}
.card-single.active {
  display: block; /* Show only the active card */
  opacity: 1;
}


.divider-image2 {
  width: 50%; /* This will make the image width match the text width */
  height: auto;
  text-align: center; /* Ensure the image doesn't exceed the container width */
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Change to a 4-column grid */
  gap: 20px;
  margin: 2vh;
}

.icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.icon-circle {
  width: 3vh;
  height: 3vh;
  border-radius: 50%;
  border: 1px solid #ff0080;  
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.icon-container img {
  max-width: 90%;
  max-height: 90%;
  width: 2vh;  /* Adjust the width of the icons relative to their container */
  height: auto;
}

.icon-container p {
  font-size: 2rem;
  margin: 0;
  text-align: center;
}
.project_content p {
  font-size: 2rem; /* Réduire la taille de la police pour les paragraphes */
}
h2 {
    font-family: "Mrs Saint Delafield";
    font-weight: 550;
    line-height: 1.2;
    font-size: 5.8rem;
    color: #ff0080;
  }
  .project_content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: url(/underline.svg) center center no-repeat;
}
  h1 {
    font-family: "DM Serif Display";
    font-weight: 400;
    line-height: 1.2;
    color: #333;
  }
  h3 {
    font-family: "DM Serif Display";
    font-weight: 400;
    line-height: 1.2;
    color: #333;
  }
  body.dark-mode #prix-minimum strong {
    color: #ff79c6;
    font-weight: 700; /* Changed from #03dac6 to match the new accent color */
  }
  
  p {
    font-family: "DM Serif Display";
    font-weight: 400;
    line-height: 1.2;
    color: #333;
  }
  
  header {
    background: #fff;
    color: #333;
    padding: 1vh 0;
  }
  
  header #branding > img {
    width: 30%;
    height: auto;
  }
  
  .banner {
    color: #333;
    min-height: auto;
    text-align: center;
  }
  
  .callout {
    color: #333;
    padding: 15px;
    text-align: center;
  }
  
  .divider-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
  }

  .footer2 {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  
  .footer2 .item {
    padding-right: 10%;
    padding-left: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the left */
    margin-bottom: 1rem;
    border-right: #333;
  }
  
  .footer2 p {
    margin: 0;
    display: flex;
    justify-content: space-between; /* Distribute description and price */
    width: 100%;
    text-align: center;

  }
  
  .footer2 small {
    color: #666;
    font-size: 2rem;
  }
  
  .price {
    font-weight: bold;
    margin-left: auto; /* Push the price to the right */
  }
  
  .english-text {
    text-align: left; /* Align English text to the left */
    margin-left: 0; /* Remove any left margin */
  }

  
  footer {
    flex-shrink: 0; /* Prevent footer from shrinking */
    background: #333;
    color: #fff;
    padding: 1vh 0;
    text-align: center;

    
  }
  .divider {
    width: 100%;
    }
    
    .divider-image{
      width: 100%;
      }
      
    


  
  /* Responsive design adjustments */
  @media (max-width: 768px) {

  
    header, footer {
      padding: 10px 0;
    }
  
    .banner {
      min-height: 200px;
    }


    .head-grid {
      grid-template-columns: 1fr; /* Stack elements on top of each other */
      text-align: center;
    }
  
    .head-image, .head-image2 {
      padding-top: 30%; /* Reduce the padding to shrink the images on smaller screens */
    }
  
    .head-content, .banner, .callout {
      max-width: 100%; /* Allow content to take full width */
    }
  
    h1, h2, h3 {
      font-size: 5vw; /* Increase the font size for better readability on small screens */
    }
  
    header #branding > img {
      max-width: 50%; /* Increase the size of the branding logo */
    }
  }

  .carousel {
    display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  }
  
  .carousel-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); /* Added */
  }
  
  .carousel-item {
    opacity: 0.5;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); /* Adjusted */
    margin: 0 20px;
    flex: 0 0 20%;
  }
  
  .carousel-item.active {
    opacity: 1;
    transform: scale(1.2);
    flex: 0 0 40%;
  }
  
  .carousel-card {
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    max-width: 100%;
  }
  
  .carousel-card img {
    max-width: 100%;
    height: auto;
  }