:root {
  --heritageBlack: #040409;
  --heritageWhite: #fbfbff;
  --heritageBlue: #2a2e74;
  --heritageRed: #a31924;
  --body-font-family: "Montserrat", Sans-serif;
  --body-font-size: 16px;
  --body-font-weight: 400;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: var(--heritageBlack);
  color: var(--heritageWhite);
  width: 100vw;
  overflow-x: hidden;
  scrollbar-color: var(--heritageWhite) var(--heritageBlack);
}

main {
  padding: 0px;
  padding-top: 110px;
}

#Contenant-Main {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
}

#Contenant-Main > .indexElement {
  width: 300px;
  height: 500px;
  background-color: transparent;
  color: var(--heritageBlack);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.indexElement {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
  background: none;
  box-shadow: none;
}

.elementor-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  gap: 10px;
}

.elementor-icon svg {
  display: block;
  margin: 0 auto;
}

.elementor-icon div {
  text-align: center;
}

.index-element-img-wrapper {
  position: relative;
  width: 300px;
  height: 500px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 100px;
}

.index-element-img-wrapper img {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 2%;
  object-fit: cover;
  display: block;
}
.index-element-img-wrapper .indexElementLink {
  position: relative;
  color: var(--heritageWhite);
  background: var(--heritageBlack);
  padding: 12px 28px;
  min-width: 140px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.index-element-img-wrapper .indexElementLink:hover {
  background: var(--heritageWhite);
  color: var(--heritageBlack);
  box-shadow: 0 8px 24px rgba(36, 33, 76, 0.25);
  transform: scale(1.05);
  text-shadow: 1px 1px 8px #8b8b8b;
  cursor: pointer;
}
.index-element-img-wrapper .indexElementText {
  color: var(--heritageWhite);
  padding: 12px 28px;
  min-width: 140px;
  font-weight: bold;
  text-align: center;
  z-index: 2;
  margin: 0;
}
.Trait-Barber {
  margin-top: 20px;
  margin-bottom: 20px;
  height: 20px;
  background-image: url("https://labarbedepapa.fr/useehuva/2020/11/pattern-1bap.svg");
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: auto 100%;
}

.imgsalon-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
}

#ImgSalon {
  width: 100%;
  height: auto;
  display: block;
}

.imgsalon-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--heritageWhite);
  background: var(--heritageBlack);
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: none;
  text-align: center;
  z-index: 2;
}
@media screen and (min-width: 800px) {
  .imgsalon-center-text {
    font-size: 2.2rem;
  }
}
.button {
  box-sizing: border-box;
  display: block;
  text-align: center;
  width: 100%;
  color: white;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: var(--body-font-size);
  font-family: var(--body-font-family);
  font-weight: var(--body-font-weight);
  padding: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.primaryButton {
  border-color: var(--heritageBlue);
  background-color: var(--heritageBlue);
}
.primaryButton:hover {
  background-color: white;
  color: var(--heritageBlue);
}
.secondaryButton {
  border-color: var(--heritageRed);
  background-color: var(--heritageRed);
}
.secondaryButton:hover {
  background-color: white;
  color: var(--heritageRed);
}
.tricolorLine {
  height: 2px;
  width: 100%;
  display: block;
  background: linear-gradient(
    to right,
    var(--heritageBlue) 33%,
    var(--heritageWhite) 33%,
    var(--heritageWhite) 66%,
    var(--heritageRed) 66%
  );
  position: absolute;
  bottom: 0;
  left: 0;
}
.topTricolor > .tricolorLine {
  top: 0;
}
.innerIconContainer {
  height: 35px;
  width: 35px;
  background-color: var(--heritageWhite);
  border: 1px solid var(--heritageBlack);
  border-radius: 50%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
.innerIconContainer > img {
  height: 80%;
  width: 80%;
  object-fit: contain;
}
