@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-Black.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-BlackOblique.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-BlackOblique.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-HeavyOblique.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-HeavyOblique.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-BookOblique.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-BookOblique.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-LightOblique.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-LightOblique.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-Light.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-Book.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-Heavy.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-Heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-MediumOblique.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-MediumOblique.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-Roman.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-Roman.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-Oblique.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-Oblique.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("../fonts/AvenirLTStd-Medium.woff2") format("woff2"),
    url("../fonts/AvenirLTStd-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.background-image {
  /* background: #000 url("/images/alliage.png") no-repeat top; */
  /* background-size: cover; */
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  /* animation: zoomInBackground 8s infinite ease-in-out; */
}

.content {
  position: absolute;
  left: 0;
  bottom: 0;
  min-height: 35.46296296vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: linear-gradient(to right, #25211e 35%, rgba(37, 33, 30, 0) 100%);
  opacity: 0.916; /* Match the SVG opacity */
  padding: 20px;
  border-radius: 10px;
  padding-left: 7.34375vw;
  padding-right: 4.79166667vw;
  z-index: 1;
}

img {
  position: absolute;
  bottom: 0;
  left: 0;
  max-height: 35.46296296vh;
  width: 100%;
  height: 100%;
  z-index: 0;
}

img.image_bg {
  top: 0;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  animation: smoothZoom 20s ease-in-out infinite; /* Applying the animation */
}

h1 {
  font-size: 1.88em;
  margin-bottom: 10px;
  font-family: "Avenir LT Std";
  font-weight: 500;
  color: #ffffff;
}

svg {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease-out;
}

/* svg:hover {
  transform: scale(1.1);
} */

@media (max-width: 1100px) {
  .content {
    padding-left: 4.79166667vw;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  svg {
    max-width: 343px;
    height: auto;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.58em;
  }

  svg {
    max-width: 243px;
    height: auto;
  }
}

@keyframes smoothZoom {
  0% {
    transform: scale(1); /* Initial scale */
  }
  50% {
    transform: scale(1.06); /* Zoomed-in scale */
  }
  100% {
    transform: scale(1); /* Back to initial scale */
  }
}

/* Define the keyframes for the zoom-in effect */
/* @keyframes zoomInBackground {
  0% {
    background-size: 100%;
  }
  50% {
    background-size: 105%;
  }
  100% {
    background-size: 100%;
  }
} */
