.opacity-0 {
  opacity: 0;
}
.fivebar {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  z-index: 499;
  box-shadow: 0 6px 24px rgba(103, 111, 123, 0.06);
}

.fivebar a {
  display: block;
  position: relative;
  width: 20%;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 0.875em;
  height: 56px;
  line-height: 56px;
  background-image: linear-gradient(to right, #b1545c, #b1545c);
  text-align: center;
  box-shadow: 0 2px 5px #00000040;
  transition: all 0.3s ease-in-out;
}

.fivebar a:first-child {
  border-radius: 8px 0 0;
}

.fivebar a:last-child {
  border-radius: 0 8px 0 0;
}

.fivebar a:hover,
.fivebar a.active {
  background-image: linear-gradient(to right, #7e0014, #7e0014);
  color: #bd9f68;
  font-weight: 600;
  margin-right: 0;
  box-shadow: 0 5px 15px #0000004d;
}

.fivebar a.active {
  pointer-events: none;
}

@media (min-width: 768px) {
  .fivebar {
    position: fixed;
    bottom: unset;
    top: 50%;
    right: 0;
    height: 216px;
    transform: translateY(-50%);
    width: 56px;
    z-index: 499;
    box-shadow: var(--nvm-box-shadow-sm);
  }

  .fivebar a {
    position: absolute;
    right: -20px;
    display: block;
    margin: 0;
    color: #fff;
    font-size: 14px;
    height: 36px;
    line-height: 36px;
    background-color: #b1545c;
    width: 76px;
    padding: 0 10px;
    text-align: left;
    transition: all 0.5s ease-in-out;
  }

  .fivebar a:first-child {
    border-radius: 8px 0 0;
  }

  .fivebar a:last-child {
    border-radius: 0 0 0 8px;
  }

  .fivebar a:nth-child(1) {
    top: 0;
  }

  .fivebar a:nth-child(2) {
    top: 36px;
  }

  .fivebar a:nth-child(3) {
    top: 72px;
  }

  .fivebar a:nth-child(4) {
    top: 108px;
  }

  .fivebar a:nth-child(5) {
    top: 144px;
  }

  .fivebar a:nth-child(6) {
    top: 180px;
  }

  .fivebar a:hover {
    background: #7e0014;
    margin-right: 0;
    right: 0;
    border-radius: 8px 0 0 8px;
  }
}

@media (min-width: 1600px) {
  .fivebar {
    right: calc((100vw - 1540px) / 2);
    width: 56px;
  }

  .fivebar a {
    right: 0;
    width: 56px;
  }

  .fivebar a:first-child {
    border-radius: 8px 8px 0 0;
  }

  .fivebar a:last-child {
    border-radius: 0 0 8px 8px;
  }

  .fivebar a:nth-child(1):hover {
    border-top-left-radius: 8px !important
    ;
  }

  .fivebar a:nth-child(5):hover {
    border-bottom-left-radius: 8px !important
    ;
  }

  .fivebar a:hover {
    background: #7e0014;
    margin-right: 0;
    width: 76px;
    right: -20px;
    border-radius: 0 8px 8px 0;
  }
}

@media (min-width: 1720px) {
  .fivebar {
    right: calc((100vw - 1700px) / 2);
  }
}