#work {
  scroll-margin-top: 90px;
}

.work-categories {
  display: flex;
  justify-content: center;
  align-items: center;
}

#work-container {
  margin-top: 25px;
}

#work-container #navbar {
  display: none;
}

.work-wrapper {
  flex-direction: column;
}

.work-wrapper p {
  width: 100%;
  margin-right: var(--spacer);
  margin-top: 0;
  margin-bottom: 0;
}

/* Vertical layouts */
@media (width <= 950px) {
  .work-wrapper p {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
    scroll-snap-type: x mandatory;
  }
  .work-wrapper p::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
  }
  .work-wrapper p .tag {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .work-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40px; /* adjust as needed */
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, transparent, white);
  }
}