@charset "UTF-8";
body {
  background-color: black !important;
  font-family: "Cinzel Decorative" !important;
  color: white !important;
}
main{
  margin-top: 100px;
}

.titrepage{
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: normal;
}

img{
  user-select: none;
}

h1{
  text-align: center;
  margin-bottom: 75px !important;
}

h2{
  margin-top: 50px;
  text-align: center;
  margin-bottom: 50px;
}


.mySwiper {
 margin-top: 30px;
 margin-bottom: 30px;
  width: 30vw;
  height: 35vw;
  min-width: 228px;
  min-height: 266px;
  max-width: 311px;
  max-height: 363px;
  user-select: none;
} 

swiper-slide {
  /* width: 100px;
  height: 400px; */
  /* background-color: red; */
  /* border: 2px solid #5B0613; */
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;  */
  border-radius: 18px;
  font-size: 22px;
  /* font-weight: bold; */
  /* color: #fff; */
}
swiper-slide:nth-child(n) {
  background-color:black;
  border: 2px solid #5B0613;
  border-radius: 25px;
  color:white;
}
/* 
swiper-slide:nth-child(2n) {
  background-color:black;
  border: 2px solid #5B0613;
}

swiper-slide:nth-child(3n) {
  background-color:black;
  border: 2px solid #5B0613;
} */

.commitmentsTitre{
  font-size: clamp(20px, 2vw, 30px);
  margin-top: 25px;
  text-align: center;
  font-weight: bold;
}

.commitmentsTxt{
  font-size: clamp(15px, 2vw, 20px);
  margin: 25px;
  text-align: center;
}

.sectionMaterials{
  text-align: center;
  background-image: url("../img/espace.webp");
  background-size: cover;
  background-position: center;
  height: 60vw;
  max-height: 80vh;
  min-height: 400px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blackSquare{
  width: 50%;
  height: 55%;
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1000px) {
  .blackSquare{
gap: 2vw;
  }
  
}

@media screen and (max-width: 810px) {
  .blackSquare{
width: 60%;
  }
}

@media screen and (max-width: 750px) {
  .blackSquare{
width: 70%;
  }
}

@media screen and (max-width: 700px) {
  .blackSquare{
width: 80%;
  }
}

@media screen and (max-width: 610px) {
  .blackSquare{
width: 90%;
  }
}

@media screen and (max-width: 440px) {
  .blackSquare{
height: 65%;
  }
}

@media screen and (max-width: 370px) {
  .blackSquare{
height: 75%;
  }
}

#txtMaterials{
  margin: 10px;
  /* font-size: clamp(9px, 2vw, 20px); */
  font-size: clamp(15px, 3vw, 17px);
}

.multirow{
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Style de base pour toutes les sections */
.section {
  margin-top: 100px;
    margin-bottom: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    margin: 20px 0;
    padding: 20px;
}

.section img {
    /* flex: 0 0 40%; Image occupe 40% de la largeur disponible */
    /* margin-right: 20px; */
    max-width: 100%;
    height: auto;
}

.section .content {
    flex: 1; /* Le reste de l'espace est pour le contenu (titre et description) */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section h3 {
    margin-top: 0; /* Supprime la marge supérieure par défaut du titre */
}

@media screen and (max-width: 768px) {
  /* Alternance des positions */
  .section.odd {
      flex-direction: column; /* Par défaut, image à gauche */
  }
  
  .section.even {
      flex-direction: column; /* Image à droite pour les sections paires */
  }
  .section img {
    margin-left: 10px; 
    margin-bottom: 40px;
    width: 50vw;
    height: auto;
  }
  .imgMetal{
    width: 90vw;
    height: auto;
    margin-left: -25px;
  }
  
  .txtSection{
    width: 40vw;
    height: auto;
    max-width: 400px;
    min-width: 300px;
    font-size: clamp(15px, 3vw, 16px);
  }
  
  .titreMetal{
    margin-bottom: 25px;
    width: 50vw;
    height: auto;
    max-width: 400px;
    font-size: clamp(25px, 5vw, 35px);
    font-weight: bold;
  }
  }

@media screen and (min-width: 768px) {
.section{
  gap: 8vw;
}

/* Alternance des positions */
.section.odd {
    flex-direction: row; /* Par défaut, image à gauche */
}

.section.even {
    flex-direction: row-reverse; /* Image à droite pour les sections paires */
}
.section img {
  margin-right: 0px; 
  width: 20vw;
    height: auto;
}
.imgMetal{
  width: 50vw;
  height: auto;
}

.txtSection{
  width: 40vw;
  height: auto;
  max-width: 400px;
  font-size: clamp(16px, 3vw, 17px);
}

.titreMetal{
  margin-bottom: 25px;
  width: 40vw;
  height: auto;
  max-width: 400px;
  font-size: clamp(25px, 5vw, 35px);
  font-weight: bold;
}
}

#titreMaterials{
  margin-bottom: 0px;
  width: 40vw;
  height: auto;
  max-width: 400px;
  font-size: clamp(25px, 5vw, 35px);
  font-weight: bold;
}

.content {
    text-align: center;
    max-width: 500px;
}

