/* Kate Kolody Pill Menu v1.0.0 */

.kk-pill-menu-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.kk-pill-menu {
  --kk-pill-duration: 380ms;
  --kk-pill-indicator-inset: 0px;

  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-style: solid;
  background: #1E1E1E;
  isolation: isolate;
}

.kk-pill-menu-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kk-pill-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 0;
}

.kk-pill-menu-link {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  color: #CDC9B9;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.kk-pill-menu-link:hover,
.kk-pill-menu-link:focus {
  text-decoration: none;
}

.kk-pill-menu-text {
  position: relative;
  z-index: 3;
  display: inline-block;
}

.kk-pill-menu-indicator {
  position: absolute;
  z-index: 1;
  left: 0;
  top: var(--kk-pill-indicator-inset);
  width: 0;
  height: calc(100% - (var(--kk-pill-indicator-inset) * 2));
  border-style: solid;
  background: #2A2A2A;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--kk-pill-duration) cubic-bezier(.22,.61,.36,1),
    width var(--kk-pill-duration) cubic-bezier(.22,.61,.36,1),
    opacity 160ms ease;
  will-change: transform, width;
}

.kk-pill-menu.is-ready .kk-pill-menu-indicator {
  opacity: 1;
}

.kk-pill-menu-empty {
  color: #CDC9B9;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
}

/* Mobile: one active word, swipe left/right */
@media (max-width: 767px) {
  .kk-pill-menu {
    touch-action: pan-y;
    user-select: none;
  }

  .kk-pill-menu-list {
    display: block;
    width: 100%;
  }

  .kk-pill-menu-item {
    display: none;
    width: 100%;
  }

  .kk-pill-menu-item.is-mobile-active {
    display: flex;
  }

  .kk-pill-menu-link {
    width: 100%;
  }

  .kk-pill-menu-indicator {
    inset: var(--kk-pill-indicator-inset);
    width: auto !important;
    height: auto;
    transform: none !important;
  }
}
