/* =========================
   HEADER
========================= */

.site-header {
  width: 100%;
  max-width: 100%;

  padding: 18px 70px;

  background: #fff;

  position: relative;
  z-index: 1000;

  overflow-x: hidden;
}

/* =========================
   STRUCTURE
========================= */

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;

  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* =========================
   LOGO
========================= */

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 72px;
  width: auto;
  max-width: 100%;

  display: block;
}

/* =========================
   NAVIGATION DESKTOP
========================= */

.main-nav {
  position: absolute;
  left: 50%;

  transform: translateX(-50%);

  max-width: 100%;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 70px;

  list-style: none;

  margin: 0;
  padding: 0;

  max-width: 100%;
}

.main-nav li {
  min-width: 0;
}

.main-nav a {
  position: relative;

  display: inline-block;

  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 1px;

  color: #111;
  text-decoration: none;

  white-space: nowrap;
}

/* =========================
   SOULIGNEMENT
========================= */

.main-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -4px;

  width: 0%;
  height: 1px;

  background: #111;

  transition: width 0.35s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* =========================
   BURGER
========================= */

.burger-btn {
  display: none;

  width: 42px;
  height: 42px;

  border: 0;
  background: transparent;

  cursor: pointer;

  position: relative;

  padding: 0;

  flex-shrink: 0;
}

.burger-btn span {
  position: absolute;
  left: 0;

  width: 100%;
  height: 2px;

  background: #111;

  transition: 0.3s ease;
}

.burger-btn span:first-child {
  top: 14px;
}

.burger-btn span:last-child {
  bottom: 14px;
}

/* =========================
   CROIX
========================= */

.burger-btn.active span:first-child {
  transform: rotate(45deg);
  top: 20px;
}

.burger-btn.active span:last-child {
  transform: rotate(-45deg);
  bottom: 20px;
}

/* =========================
   MOBILE
========================= */

@media screen and (max-width: 1100px) {
  body {
    padding-top: 98px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    padding: 20px 24px;

    background: #fff;

    z-index: 9999;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
  }

  .logo img {
    height: 58px;
  }

  /* =========================
     BURGER
  ========================= */

  .burger-btn {
    display: block;

    position: relative;
    z-index: 10002;
  }

  /* =========================
     MENU MOBILE
  ========================= */

  .main-nav {
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: #fff;

    z-index: 10001;

    padding-top: 120px;

    overflow-y: auto;

    transform: none !important;
  }

  .main-nav.active {
    display: flex;

    justify-content: center;
    align-items: center;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 42px;

    margin: 0;
    padding: 0;

    list-style: none;
  }

  .main-nav li {
    margin: 0;
    padding: 0;
  }

  .main-nav a {
    font-family: "Bebas Neue", sans-serif;
    font-size: 38px;
    line-height: 1;

    color: #111;
    text-decoration: none;

    text-align: center;
  }
}
