/*

Usage:
@include breakpoint(laptop) {
  // styles for laptop and wider
}
@include breakpoint(laptop, 800px) {
  // styles for laptop width and screens up to 800px tall
  // useful for targeting shorter laptop screens
}

@include breakpoint(desktop, 900px) {
  // styles for desktop width but shorter screens
}
  */
/*-----------------------
EASING 
---------------------- */
section.event-navigation-menu {
  display: block;
  z-index: 20;
  position: relative;
}
section.event-navigation-menu nav {
  position: absolute;
  left: var(--padding-horizontal);
  top: 0;
  display: block;
  min-width: 14rem;
}
section.event-navigation-menu .event-navigation-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
  padding: 2rem;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  /* Old mobile styles
  display:flex;
  flex-direction:column;
  margin:0;
  width:100%;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  background: transparent;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  */
}
@media (min-width: 1024px) {
  section.event-navigation-menu .event-navigation-list {
    gap: 0.7rem;
    position: static;
    align-items: flex-start;
    justify-content: flex-start;
    top: auto;
    left: auto;
    transform: none;
    z-index: auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    overflow-y: visible;
  }
}
section.event-navigation-menu .event-navigation-item {
  display: block;
  text-align: center;
}
@media (min-width: 1024px) {
  section.event-navigation-menu .event-navigation-item {
    margin: 0;
  }
}
section.event-navigation-menu .event-navigation-link {
  width: 14rem;
  --button-height:4rem;
  justify-content: center;
  background-color: transparent;
  color: var(--color-white);
}
section.event-navigation-menu .event-navigation-link.active {
  background-color: rgba(var(--color-black-rgb), 0.5);
  color: var(--color-white);
}
@media (min-width: 1024px) {
  section.event-navigation-menu .event-navigation-link {
    background-color: rgba(var(--color-white-rgb), 0.6);
    color: var(--color-black);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
  }
}
section.event-navigation-menu button.event-nav-mobile-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  padding: 0;
  line-height: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--color-black-rgb), 0.5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: var(--color-white);
  transition: all 0.3s ease;
}
section.event-navigation-menu button.event-nav-mobile-toggle .icon-plus {
  transition: transform 0.3s ease;
}
section.event-navigation-menu button.event-nav-mobile-toggle .icon-plus svg {
  width: 14px;
  height: 14px;
}
section.event-navigation-menu button.event-nav-mobile-toggle .icon-plus svg path {
  fill: var(--color-white);
}
section.event-navigation-menu button.event-nav-mobile-toggle.active svg.icon-plus {
  transform: rotate(45deg);
}
@media (min-width: 1024px) {
  section.event-navigation-menu button.event-nav-mobile-toggle {
    display: none;
  }
}
section.event-navigation-menu .event-nav-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 120vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999;
  display: none;
}
@media (min-width: 1024px) {
  section.event-navigation-menu .event-nav-mobile-overlay {
    display: none !important;
  }
}