/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Header
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */
#masthead {
  min-height: 94px;
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.35) !important;
}

.admin-bar #masthead {
  top: 32px;
}

#masthead .main-header {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 5px 0;
}

#masthead .site-branding {
  min-width: 100px;
  line-height: 0;
}
#masthead .site-branding a {
  line-height: 0;
}
#masthead .site-branding img {
}
.main-navigation {
  max-width: 100%;
}

header#masthead .container {
  max-width: 1250px;
}
header#masthead::after {
  content: "";
  max-width: 1400px;
  width: 100%;
  height: 1px;
  background-color: #cee5eb;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Menu btn */
#masthead .main-navigation a {
  color: black;
  font-family: var(--font-helvetica);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 81%;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 35px 0;
  transition: opacity 0.6s ease;
}

#masthead .main-navigation a:hover {
  opacity: 0.6;
}

.main-navigation ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav#site-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.ac a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 !important;
}

.ac img {
  margin-top: -6px;
}
.main-header.main-header-mobile {
  display: none !important;
}

/* Toggle menu */
.toggle-menu {
  display: none;
}
.toggle-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.toggle-menu-inner span {
  width: 30px;
  height: 3px;
  background-color: var(--white);
  transition: transform 0.25s linear;
}
.toggle-menu.active span:first-child {
  transform: translateY(9px) rotate(45deg);
}

.toggle-menu.active span:nth-child(2) {
  opacity: 0;
}

.toggle-menu.active span:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

#masthead.homepage-header {
  background-color: transparent;
  background-image: linear-gradient(
    180deg,
    var(--off-black) 0%,
    #00000000 100%
  );
  transition: all 0.25s linear;
}

#masthead.homepage-header .site-branding img {
  max-height: 66px;
  width: 38px;
  transition: all 0.25s linear;
}

#masthead.homepage-header.scrolled {
  background-color: var(--off-black);
}

#masthead.homepage-header.scrolled .site-branding img {
  width: 110px;
}

#masthead.homepage-header.scrolled .main-header {
  padding: 10px 0;
}

/* Navigation */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Footer
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */
/* ==================== FOOTER ====================  */

footer {
  background-color: #6d6b6b;
  color:#000;
}

.footer-menu {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 542px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: black;
  list-style: none;
}

/* *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *
** Responsive Design
** *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** *  *** */
/* =========================================================
        Responsive Design
   ========================================================= */

/* =========================== 1200px ============================== */
@media screen and (max-width: 1200px) {
  /* Header  */
  .main-navigation ul {
    gap: 15px;
  }
  #masthead .site-branding {
    min-width: 45px;
  }
}

/* =========================== 1024px ============================== */
@media screen and (max-width: 1024px) {
  /* Header  */
  #masthead .main-header {
    gap: 15px;
  }
  .main-navigation ul {
    gap: 5px;
  }
  .toggle-menu {
    display: flex;
  }
  .site-branding img {
    max-width: 70%;
  }

  .main-header.main-header-mobile {
    display: flex !important;
  }

  .menu-primary-menu-container,
  .ac {
    display: none;
  }

  .main-header-mobile .menu-primary-menu-container,
  .main-header-mobile .ac {
    display: flex;
    width: 100%;
    padding: 0 30px;
  }
  #masthead .main-navigation a {
    font-size: 16px;
  }

  .main-header-mobile {
    background-color: #000;
  }
  .main-header-mobile #primary-menu {
    flex-direction: column;
    gap: 35px;
    align-items: flex-start;
  }
  #masthead .main-navigation a {
    padding: 0px 0;
  }
  .main-header {
    justify-content: space-between;
    padding: 15px 0;
  }
  nav#site-navigation {
    max-width: max-content;
  }

  .main-header.main-header-mobile {
    display: flex;
    gap: 30px;
    position: fixed;
    max-width: 300px;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 30px 50px;
    transition: all 0.3s linear;
    translate: -300px 0;
    z-index: 9;
  }

  .main-header.main-header-mobile.active {
    translate: 0 0;
  }

  .main-header-mobile nav#site-navigation {
    flex-direction: column;
    gap: 80px;
    max-width: 100%;
    padding-top: 150px;
  }

  .menu-btn {
    width: 100%;
  }

  .menu-btn a {
    padding: 15px 30px;
    text-align: center;
  }

  .main-navigation a {
    font-size: 20px;
  }
}

/* =========================== 998px ============================== */
@media only screen and (max-width: 998px) {
  /* HEADER */

  /* FOOTER */
}

/* =========================== 767px ============================== */
@media only screen and (max-width: 767px) {
  /* HEADER */
  #masthead,
  .header-adjust {
    min-height: 70px;
  }

  #masthead.homepage-header .site-branding img {
    width: 100%;
    max-width: 106px;
  }

  #masthead.homepage-header.scrolled .site-branding img {
    max-width: 80px;
  }

  #primary-menu {
    height: auto;
    padding: 40px 20px 50px;
    max-width: 100%;
    translate: 0 -200%;
    transition: translate 0.4s linear;
    top: 69px;
  }

  .active #primary-menu {
    translate: 0 0;
  }

  .site-header.homepage-header #primary-menu {
    top: 100px;
  }

  .site-header.homepage-header.scrolled #primary-menu {
    top: 60px;
  }

  .main-navigation a {
    font-size: 36px;
  }

  /* FOOTER */

}

/* =========================== 467px ============================== */
@media only screen and (max-width: 467px) {
  /* HEADER */

  .menu-toggle {
    /* display: none; */
  }

  .main-navigation ul {
    display: flex;
  }

  /* FOOTER */

}
