/* Header Settings  */


header#siteHeader {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: var(--smooth);
  background-color: var(--black);
}
header#siteHeader .container {
  display: flex;
  justify-content: space-between;
  padding-block: calc(var(--section-padding) / 4.88);
}
a#siteLogo {
  width: 138px;
  display: flex;
  transition: var(--smooth);
}
a#siteLogo svg {
  width: 100%;
}
.header-right {
  display: flex;
  align-items: center;
}
ul.menu-items--list {
  display: inline-flex;
  gap:12px;
}
li.menu-items--single:not(.button-link) {
    position:relative;
}
li.menu-items--single:not(.button-link)::before {
    content:'';
    position: absolute;
    width: 0;
    border-radius: 40px;
    height: 42px;
    background-color: var(--grey-dark);
    transition: var(--smooth);
    top:50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
    opacity: 0;
}
li.menu-items--single:not(.button-link):hover::before{
    width: 100%;
    opacity: 75%;
}
a.menu-items--link {
    color: var(--white);
    transition: var(--smooth);
    font-weight: 300;
    font-size: var(--smaller-size);
    text-align: center;
    position: relative;
    padding-inline: 18px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}
li.button-link a.menu-items--link {
    background-color: var(--grey-dark);
    border-radius: 40px;
    transition: var(--smooth);
}
li.button-link a.menu-items--link:hover {
    background-color: var(--primary-regular);
}

a.menu-items--link:hover {
  font-weight: 400;
}

header#siteHeader.sticky {
  position: fixed;
  background-color: var(--white);
}
header#siteHeader.sticky.up{
  top:-100%;
}
header#siteHeader.sticky.down {
  top:0;
}

header#siteHeader.sticky .container {
  padding-block: calc(var(--section-padding) / 6.88);
}

header#siteHeader.sticky a#siteLogo {
  width: 100px;
  display: flex;
}

header#siteHeader.sticky path#Union_22 {
  fill:var(--grey-dark);
}

header#siteHeader.sticky a.menu-items--link {
  color: var(--grey-dark);
}

header#siteHeader.sticky a.menu-items--link:hover {
  color:var(--white);
}
header#siteHeader.sticky li.button-link a.menu-items--link {
    color:var(--white);
}

header#siteHeader.sticky li.menu-items--single:not(.button-link):hover::before {
  opacity: 100%;
}

/* Responsive */

@media screen and (min-width:2201px) and (orientation: landscape){
    header#siteHeader .container {
        padding-block: calc(var(--section-padding) / 1.68);
    }
    a#siteLogo {
        width: 208px;
    }
    header#siteHeader.sticky a#siteLogo {
        width: 164px;
    }
}

@media screen and (min-width:1921px) and (max-width:2200px) and (orientation: landscape) {
    header#siteHeader .container {
        padding-block: calc(var(--section-padding) / 2);
    }
    a#siteLogo {
        width: 198px;
    }
    header#siteHeader.sticky a#siteLogo {
        width: 152px;
    }
}

@media screen and (max-width: 1440px) and (max-height: 900px) and (orientation: landscape) {
    a#siteLogo {
        width: 118px;
    }
    header#siteHeader.sticky a#siteLogo {
        width: 90px;
    }
}

@media screen and (min-width:1024px) and (max-width:1279px) and (max-height:620px) and (orientation:landscape) {
    header#siteHeader .container {
        padding-block: calc(var(--section-padding) / 4);
    }
    a#siteLogo {
        width: 92px;
    }
    header#siteHeader.sticky a#siteLogo {
        width: 80px;
    }
}

/* NAV MOBILE */

@media screen and (max-width:1024px) and (orientation:portrait){

  nav#siteNav {
    transition: var(--smooth);
    position: fixed;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: var(--black);
    height: 100dvh;
    width: 100%;
    top:0;
    left: 0;
    padding-block: calc(var(--section-padding) * 1.5);
    padding-inline: var(--page-padding);
    transform: translateX(100%);
  }

  li.menu-items--single:not(.button-link)::before {
    content: unset;
  }

  nav#siteNav.active {
    transform: unset;
  }
  
  nav#siteNav > ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    position: relative;
    gap: 4px;
  }
  
  nav#siteNav li {
    width: 100%;
  }
  
  nav#siteNav a.menu-items--link {
    font-size: var(--h3-size);
    color: var(--primary-regular);
    line-height: 85%;
    text-align: left;
    font-weight: 200;
    width: fit-content;
    position: relative;
    padding-inline: 0;
    display: flex;
    padding: var(--column-gap);
    background: var(--grey-dark);
    border-radius: 2px;
  }

  header#siteHeader.sticky a.menu-items--link {
    color: var(--primary-medium);
  }

  a.menu-items--link:hover {
    text-shadow: unset;
  }

  nav#siteNav.active a.menu-items--link {
    opacity: 1;
  }

  nav#siteNav a.menu-items--link::after {
    /* content:''; */
    display: block;
    width: 0;
    height: 2px;
    position:absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-medium);
    transition: all 400ms ease-out;
  }

  nav#siteNav.active a.menu-items--link::after {
    width: 100%;
  }
  
  #mobileMenu {
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 4px;
    background-color: var(--black);
    border-radius: 100px;
    gap: 4px;
    position: relative;
    z-index: 11;
    border: 1px solid var(--primary-regular);
  }
  #mobileMenu::before {
    /* content:''; */
    display: block;
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 50px;
    top:50%;
    left: 0;
    right: 0;
    margin:0 auto;
    transform: translateY(-50%);
    background: #4e5453;
    background: linear-gradient(140deg, rgba(78, 84, 83, 1) 1%, rgba(0, 0, 0, 1) 52%, rgba(55, 59, 58, 1) 100%);
    opacity: 75%;
  }
  
  header#siteHeader.sticky #mobileMenu::before {
    opacity: 25%;
  }
    
  header#siteHeader:not(.sticky) #mobileMenu {
      box-shadow: 0 0 20px rgba(39, 203, 185, 0.55);
  }
  
  #mobileMenu span {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--primary-regular);
    transition: all 0.3s ease;
    border-radius: 10px;
    position: relative;
  }
  
  #mobileMenu.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: var(--grey-dark);
  }
  
  #mobileMenu.active span:nth-child(2) {
    opacity: 0;
  }
  
  #mobileMenu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: var(--grey-dark);
  }
  header#siteHeader.sticky #mobileMenu {
      width: 44px;
      height: 44px;
      background-color: var(--primary-regular);
      border: unset;
  }
  header#siteHeader.sticky #mobileMenu span {
    background-color: var(--black);
  }
  li.button-link a.menu-items--link {
    background-color: unset;
    border-radius: unset;
  }

  svg#mobileLogo {
    min-width: calc(50% + 30px);
    position: absolute;
    right: -30px;
    bottom: -10px;
    opacity: 50%;
  }
  svg#mobileLogo path {
    fill: var(--grey-dark);
  }
}

@media screen and (max-width: 1024px) and (orientation: portrait){
    
    a#siteLogo {
        width: 180px;
    }
    header#siteHeader.sticky .container {
        padding-block: calc(var(--section-padding) / 2);
    }
    header#siteHeader.sticky #mobileMenu:not(.active) {
        background-color: var(--grey-dark);
    }
    header#siteHeader.sticky #mobileMenu:not(.active) span {
        background-color: var(--primary-regular);
    }
    header#siteHeader.sticky a#siteLogo {
        width: 160px;
    }
}

@media screen and (max-width:520px) and (orientation:portrait) {
    header#siteHeader .container {
        padding-block: calc(var(--section-padding) / 4.5);
    }
    a#siteLogo {
        width: 98px;
    }
    #mobileMenu {
        width: 42px;
        height: 42px;
        gap:2px;
        position: relative;
    }
    #mobileMenu span {
      width: 3px;
      height: 3px;
    }
    header#siteHeader.sticky a#siteLogo {
        width: 78px;
    }
    header#siteHeader.sticky #mobileMenu {
        width: 34px;
        height: 34px;
    }
}