.menuTitle {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-tag);
  font-weight: var(--font-weight-main);
  text-decoration: none;
}

.mainMenu {
  list-style-type: none;
  font-size: var(--font-size-base);
  justify-content: space-between;
  width: 25vw;

  gap: var(--spacing-lg);
}

.menuItem {
  position: relative;
  display: inline-block;
  padding: 0px 10px;
  margin: -1px -10px; /* Prevent layout shift */
  /* transition: transform var(--transition-main-very-slow), opacity var(--transition-main-very-slow); */
  color: var(--color-white);
  
  opacity: 1;
}

.mainFooter {
  display: flex;
  flex-direction: row;
  width: 80vw;
  justify-content: space-between;
  margin-left: 10vw;
  margin-right: 10vw;
  margin-bottom: 30px;
  
}

.footer-contact {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-socials {
  height: 25px;
  display: flex;
  gap: var(--spacing-md);

}

.footer-socials a img {
  height: 18px;
  
}

.footer-socials a {
  padding: 5px;
  margin: -5px;
  
}

.menuItem {
    position: relative;
    display: inline-block;
      padding: 4px 6px;
      margin: -4px -6px; /* So it doesn't change layout */
      transition: var(--transition-main);
    
    }
    
    .menuItemTitle {
        position: relative;
        display: inline-block;
          padding: 4px 6px;
          margin: -4px -6px; /* So it doesn't change layout */        
        }
    
    .menuItem::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        width: 100%;
        height: var(--line-tickness);
        background-color: white;
        transition: var(--transition-main);
      }
      
      .menuItem:hover {
        transform: translateY(-0.35em);
      }
      
      .menuItem:hover::after {
        transform: translateX(-50%) scaleX(1);
      }



      #footerContainer {
        width: 100%;
      }
      
      

      /* Menu */



      .scrollHintCircle {
        display: none;
      }
      .arrowIcon {
        display: none;
      }



@media (max-width: 900px) { 
     .mainMenu {
      width: auto;
     }

 }




.timemachine {
  gap: var(--spacing-sm);
  margin-left: var(--spacing-lg);
}




/* Hide the checkbox (but keep it functional) */
.mobileMenuToggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hamburger button */
.menuHamburger {
  display: none; /* mobile only */
  margin-left: var(--spacing-md);

  width: 50px;
  position:fixed;
  top: 10px;
  right: var(--mobile-margin);
  z-index: 9999;
  height: 50px;
  border-radius: 50px;
  background-color: var(--color-bg-secondary);
}

.menuHamburger img {
  width: 28px;
  height: 28px;
  display: block;

}

/* Overlay closed by default */
.mobileMenuOverlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: var(--spacing-lg);
  background: rgba(0, 0, 0, 0.55);
}

/* Show overlay when checkbox is checked */
.mobileMenuToggle:checked ~ .mobileMenuOverlay {
  display: flex;
}

/* Popup */
.mobileMenuPopup {
  width: min(520px, 92vw);
  max-height: 90vh;
  border-radius: var(--border-radius-pill);
  border: var(--border-thin);
  box-shadow: var(--box-shadow-soft); 
  background: var(--color-white);
  color: var(--color-black);
  padding: var(--spacing-lg);
}

/* Clicking inside popup should NOT close (overlay is a label) */
.mobileMenuPopup {
  pointer-events: auto;
}
.mobileMenuOverlay {
  cursor: none;
}
.mobileMenuPopup {
  cursor: none;
}

/* Header */
.mobileMenuHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.mobileMenuTitle {
  margin: 0;
}

.mobileMenuClose {
  /* cursor: pointer; */
  font-size: 2rem;
  line-height: 1;
  color: var(--color-black);
}

/* Links */
.mobileMenuPopup a {
  color: var(--color-black);
  text-decoration: none;
}

.mobileMenuLinks a h3 {
  margin: 0 0 var(--spacing-md) 0;
}
.mobileMenuLinks a:last-child h3 {
  margin-bottom: var(--spacing-lg);
}

/* Footer */
.mobileMenuFooter {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: var(--spacing-md);
}

.mobileMenuFooter p {
  margin: 0 0 var(--spacing-sm) 0;
  font-weight: var(--font-weight-main);
}

.mobile-footer-socials {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.mobile-footer-socials img {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0);
}

/* Responsive */
@media (max-width: 768px) {
  .desktopMenu {
    display: none;
  }

  .menuHamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

