/* ╔═════════════════════════════════════════════════════╗
    🖥️ ==> HISTORY-HEADER CSS                                  
   ╚═════════════════════════════════════════════════════╝ 
*/

/* -------------------------------------------------------
 * 🛠️ HISTORY WRAPPER
 * ------------------------------------------------------- */
.history-header-wrapper {
  width: 100%;
  position: relative;
}

#history-header {
  width: 1920px;
  height: 690px;
  margin: 0 auto;
  position: relative;
}

/* -------------------------------------------------------
 * 🛠️ IMAGE DE FOND => BACKGROUND
 * ------------------------------------------------------- */
.fond-history-header-img {
  position: absolute;
  width: 1102px;
  height: 100%;
  margin: 0 auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* -------------------------------------------------------
 * 🛠️ HEADER HISTORY
 * ------------------------------------------------------- */

.history-header {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  padding: 145px 0 0 120px;
  z-index: 2;
}

.history-header::before {
  content: "";
  position: absolute;
  top: 85%;
  left: 55%;
  width: 600px;
  height: 500px;
  background: radial-gradient(closest-side, #ffde65, #ffde6500);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

.history-header h2 {
  font-family: "Isidora", sans-serif;
  color: var(--color-black);
  font-size: 80px;
  font-weight: bold;
  margin-bottom: 42px;
  line-height: 1.2em;
  letter-spacing: -2px;
  z-index: 2;
}

/* -------------------------------------------------------
 * 🛠️ BOUTON DE HISTORY-HEADER
 * ------------------------------------------------------- */

.history-button {
  position: relative;
  max-width: 605px;
  width: 100%;
  height: 100px;
  margin: 0 auto;
  background-color: var(--color-black);
  border: none;
  border-radius: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 55px;
  padding-right: 25px;
  z-index: 3;
  cursor: pointer;
  transition: all 350ms ease-out;
}

.history-button:hover {
  transform: scale(1.02);
}

.history-header-text {
  font-family: "Roboto Flex", serif;
  font-size: 25px;
  color: var(--site-color2);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.history-icon-container {
  width: 58px;
  height: 58px;
  background-color: var(--site-color2);
  border-radius: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.history-icon {
  width: 25px;
  height: 33px;
  object-fit: contain;
  animation: wizz-vertical 5s ease-out infinite;
}

/* -------------------------------------------------------
 * 🛠️ placement images chope et frite 
 * ------------------------------------------------------- */
.history-chope {
  position: absolute;
  top: -39%;
  left: 0;
  width: 339px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  animation: 5s ease-in-out 0s infinite normal none running flotte1;
}

.history-frite {
  position: absolute;
  top: -5%;
  right: 0%;
  width: 345px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  animation: 10s ease-in-out 0s infinite normal none running flotte2;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ===> 🖥️ MEDIA QUERY : Max-width 1920px
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@media screen and (max-width: 1920px) {
  /* 🛠️ HISTORY WRAPPER */
  .history-header-wrapper {
    width: 100vw;
  }

  /* 🛠️ HISTORY HEADER */
  #history-header {
    width: 100vw;
    height: 35.937vw;
  }

  /* 🛠️ IMAGE DE FOND => BACKGROUND */
  .fond-history-header-img {
    width: 57.395vw;
  }

  /* 🛠️ HEADER HISTORY */
  .history-header {
    max-width: 62.5vw;
    padding: 7.552vw 0 0 6.25vw;
  }

  .history-header::before {
    content: "";
    width: 31.25vw;
    height: 26.041vw;
  }

  .history-header h2 {
    font-size: 4.166vw;
    margin-bottom: 2.187vw;
    letter-spacing: -0.104vw;
  }

  /* 🛠️ BOUTON DE HISTORY-HEADER */
  .history-button {
    width: 31.51vw;
    height: 5.208vw;
    border-radius: 2.604vw;
    gap: 2.864vw;
    padding-right: 1.302vw;
  }

  .history-header-text {
    font-size: 1.302vw;
    letter-spacing: 0.052vw;
  }

  .history-icon-container {
    width: 3.02vw;
    height: 3.02vw;
    border-radius: 1.51vw;
  }

  .history-icon {
    width: 1.302vw;
    height: 1.718vw;
    animation: wizz-vertical 5s ease-out infinite;
  }

  /* 🛠️ placement images chope et frite */
  .history-chope {
    width: 17.656vw;
  }

  .history-frite {
    width: 17.968vw;
  }
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ===> 🖥️ MEDIA QUERY : Max-width 1000px
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@media screen and (max-width: 1000px) {
  /* 🛠️ HISTORY WRAPPER */

  /* 🛠️ HISTORY WRAPPER */
  .history-header-wrapper {
    margin-top: -100px;
  }
  .history-header-wrapper::before {
    content: "";
    position: absolute;
    top: 60%;
    left: 100%;
    width: 250px;
    height: 250px;
    background: radial-gradient(closest-side, #ffde65, #ffde6500);
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
  }
  #history-header {
    max-width: 450px;
    height: 376px;
  }

  /* 🛠️ IMAGE DE FOND => BACKGROUND */
  .fond-history-header-img {
    width: 100%;
    height: auto;
    top: 90px;
    left: -65px;
    object-fit: cover;
  }

  /* 🛠️ HEADER HISTORY */

  .history-header {
    max-width: 450px;
    padding: 0px;
    top: 153px;
  }
  .history-header::before {
    display: none;
  }

  .history-header h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }

  /* 🛠️ BOUTON DE HISTORY-HEADER */

  .history-button {
    position: relative;
    max-width: 350px;
    width: 100%;
    height: 60px;
    border-radius: 30px;
    gap: 25px;
    padding-right: 15px;
  }

  .history-header-text {
    font-size: 15px;
  }

  .history-icon-container {
    width: 33px;
    height: 33px;
    border-radius: 16.5px;
  }

  .history-icon {
    width: 15px;
    height: 20px;
    object-fit: contain;
  }

  /* -------------------------------------------------------
 * 🛠️ placement images chope et frite 
 * ------------------------------------------------------- */
  .history-chope {
    position: absolute;
    top: 80%;
    left: 0;
    width: 87px;
    height: auto;
    z-index: 0;
    filter: blur(3px);
    pointer-events: none;
    animation: 5s ease-in-out 0s infinite normal none running flotte1;
  }

  .history-frite {
    position: absolute;
    top: -5%;
    right: 0%;
    width: 100px;
    height: auto;
    filter: blur(3px);
    z-index: 1;
  }
}
