.off-screen-menu {
    background-color:rgb(238, 238, 238);
    font-family: CreatoDisplay-regular;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    top: 0;
    position: fixed;
    right: -500px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    transition: .3 ease;
    box-shadow: 5px 0px 10px 0px rgba(0, 0, 0, 0.5);
    padding-top: 50px;
    padding-right: 50px;
    right: -500px;
    opacity: 0;
    transform: translateX(20px);
    transition:
        right .35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity .35s ease,
        transform .35s cubic-bezier(0.22, 1, 0.36, 1);

    &::-webkit-scrollbar {
      display: none;
    }
  }
.off-screen-menu a {
  color: black;
}
.off-screen-menu link {
  color: black;
}
.off-screen-menu.active {
    right: 0;
    opacity: 1;
    transform: translateX(0);
}

.ham-menu {
    height: 50px;
    width: 50px;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    cursor: pointer;
    right: 0;
    top: 10;
}
.ham-menu span {
    height: 0.5px;
    width: 70%;
    background-color: black;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3 ease;
}
.ham-menu, 
.ham-menu span,
.off-screen-menu a,
.off-screen-menu,
.nav-item {
    -webkit-tap-highlight-color: transparent;
}
.ham-menu span:nth-child(1) {
top: 30%;
}
.ham-menu span:nth-child(3) {
    top: 70%;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0%;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
/* MAKE OTHER ITEMS DISAPPEAR ON MOBILE SCREEN, ONLY HAMBURGER SHOWS */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .header-nav.open {
    display: flex;
    flex-direction: row;
  }
  .ham-menu {
    display: flex;
  }
}
@media (max-width: 768px) {
  .nav-header {
    display: flex;
    justify-content: space-between; /* ensures logo left, hamburger right */
    align-items: center;
  }
}
@media (min-width: 768px) {
  .ham-menu {
    display: none;
  }

  .nav-item {
    display: flex !important;
    gap: 30px;
  }
}
