.ribbonnav {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  padding: 2px 40px 5px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 700px) {
  .ribbonnav {
    padding: 2px 24px 5px;
  }
}

.ribbonnav-text {
  font-family: Satoshi-Regular, sans-serif;
  font-variant-alternates: styleset(singlestory);
  font-size: 14pt;
  font-weight: 400;
  font-style: normal;
  line-height: 16pt;
  word-wrap: break-word;
  margin: 0;
  padding: 0;
  position: relative;
  top: var(--navtext-fix, 0px);
  z-index: 1;
}

.ribbonnav a {
  display: inline-block;
  white-space: nowrap;
}

:root {
  --navhl-top: -1.5px;
  --navhl-height: 27.33px;
}

.navitem {
  position: relative;
  display: inline-block;
}

.navitem::before {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  top: var(--navhl-top);
  height: var(--navhl-height);
  background: #fce535;
  z-index: -1;
  pointer-events: none;
  display: none;
}

.navitem:hover::before,
.navitem:active::before {
  display: block;
}

.navitem:hover,
.navitem:active {
  background-color: transparent;
}

.navline {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
}

.navstar {
  color: inherit;
  position: relative;
  top: 1.2px;
  margin: 0 1.5px;
}

.navfill {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
  color: inherit;
  font-size: 0.85em;
  position: relative;
  top: calc(0.0467em + var(--navfill-fix, 0px));
}

.navribbon {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.navribbon svg {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1px;
  stroke-linecap: square;
  stroke-linejoin: round;
}

.ribbon-left {
  left: 0;
  width: 12px;
}

.ribbon-right {
  right: 0;
  width: 12px;
}

.ribbon-mid {
  left: 12px;
  width: calc(100% - 24px);
}
