/* 
* ----------[DIVI HEADER STYLES]--------*
*/
#header {
}

#menu-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.5vw;
}

ul#menu-main-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2.5vw;
  padding: 0;
}

ul#menu-main-menu li {
  list-style-type: none;
}

ul#menu-main-menu li a {
  font-weight: 300;
}

ul#menu-main-menu li.menu-item a {
  text-transform: uppercase;
  color: var(--nu-blue);
  font-size: var(--copyFontLarge);
  padding: 0;
  line-height: 1;
}

ul#menu-main-menu li.menu-item a:hover {
  color: var(--black);
  transition: color 0.3s ease;
}

ul#menu-main-menu li.menu-btn {
  background-color: var(--flame);
  border-radius: var(--border-xl);
  font-size: var(--copyFontLarge);
  padding: 7px 7px 7px 25px;
  display: inline-flex;
  cursor: pointer;
}

ul#menu-main-menu li.menu-btn:hover {
  background-color: var(--jasper);
  transition: all 0.3s ease;
}

ul#menu-main-menu li.menu-btn a,
ul#menu-main-menu li.menu-btn a:hover {
  color: var(--white);
  line-height: 2;
}

ul#menu-main-menu li.menu-btn::after {
  content: "";
  margin-left: 14px;
  width: 42px;
  height: 42px;
  background-color: var(--white);
  border-radius: 50%;
  background-image: url("../img/black-arrow.svg");
  background-size: 17px 18px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  cursor: pointer;
}

ul#menu-main-menu li.menu-btn:hover::after {
  background-image: url("../img/blue-arrow.svg");
  transition: all 0.3s ease;
}

#account-icon {
  cursor: pointer;
}

/*
* ----------[NOTIFICATION BAR]--------*
*/
#polybar {
  display: none; /* Disabled */
  width: 100%;
  background: var(--yellow);
  color: var(--white);
  font-size: var(--copyFontSmall);
  text-align: center;
  z-index: 99999;
  padding: 6px;
  justify-content: center;
  align-items: center;
  font-family: var(--museo);
}
#polybar .message-text {
  flex: 1 1 auto;
  font-size: var(--copyFontSmall);
  padding: 0 10px 0 50px;
}
#polybar .message-text a {
  color: var(--white);
  font-weight: 700;
}
#polybar .close-btn {
  margin-right: 20px;
  margin-left: 20px;
  position: relative;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
#polybar .close-btn:before {
  content: "";
  position: absolute;
  background-color: var(--white);
  height: 2px;
  top: 50%;
  left: 50%;
  width: 14px;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.3s ease-in-out;
}
#polybar .close-btn:after {
  content: "";
  position: absolute;
  background-color: var(--white);
  width: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  height: 14px;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
  #header-mobile {
    position: relative;
    z-index: 1000;
  }

  #header-col-mobile {
    display: flex;
    align-items: center;
  }

  #mobile-menu-icon {
    border-radius: 50%;
    cursor: pointer;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
  }

  #mobile-menu-icon.closed {
    background-color: var(--flame);
  }

  #mobile-menu-container {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    width: 100%;
    max-height: 0;
    height: calc(100vh - var(--mobile-header-height));
    overflow: hidden;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.4s ease-in-out,
      opacity 0.3s ease-in-out,
      visibility 0.3s;
  }

  #header-mobile.menu-open + #mobile-menu-container {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--mobile-header-height));
    opacity: 1;
    visibility: visible;
  }

  #mobile-menu-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  #header-mobile.menu-open #account-icon {
    display: none;
  }

  #header-mobile.menu-open #mobile-logo {
    filter: brightness(0) invert(1);
  }

  #mobile-menu-icon {
    transition: background-color 0.3s ease;
  }

  #header-mobile {
    background-color: var(--floral-white);
  }

  #header-mobile.menu-open {
    background-color: var(--jasper);
  }

  #header-mobile.menu-open #mobile-menu-icon {
    background-color: var(--nu-blue);
  }

  /* Hamburger to X animation */
  #mobile-menu-icon svg rect {
    transition: transform 0.3s ease;
    transform-origin: center;
  }

  #header-mobile.menu-open #mobile-menu-icon svg rect:first-child {
    transform: translateY(3px) translateX(-3px) rotate(45deg);
  }

  #header-mobile.menu-open #mobile-menu-icon svg rect:last-child {
    transform: translateY(-3px) translateX(-3px) rotate(-45deg);
  }

  #mobile-menu .custom-menu {
    height: 36vh;
    max-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
  }

  #mobile-menu .custom-menu li {
    list-style: none !important;
    list-style-type: none !important;
    line-height: 1;
  }

  #mobile-menu li a {
    display: block;
    color: var(--white);
    font-size: clamp(5rem, 15vw, 6rem);
    line-height: 1;
    text-transform: uppercase;
  }

  #mobile-menu-socials .social-links-container {
    display: grid;
    grid-template-columns: repeat(2, auto);
    row-gap: 22px;
    column-gap: 22px;
    justify-content: start;
  }

  #mobile-menu-socials .social-icon {
    filter: brightness(0) invert(1);
  }

  #mobile-menu-button .et_pb_text_inner {
    width: 100%;
  }
}
