/* Menu */
._nav {
  position: fixed;
  inset: 0;
  bottom: 0;
  clip-path: inset(0);
  color: #333;
  display: flex;
  z-index: 1111;
  opacity: 0;
  pointer-events: none;
  transition: all 0.1s ease-in-out;
  transform: translateZ(0);
  filter: blur(0px) !important;
}

._nav._active {
  opacity: 1;
  pointer-events: all;
}

._nav._inactive {
  opacity: 1;
  pointer-events: none;
}

/* Nav All */

._nav-all {
  background: #fff;
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

._nav._active ._nav-all {
  animation: translateNav 0.5s ease-in-out 1 forwards;
}

._nav._inactive ._nav-all {
  animation: hideNav 0.5s ease-in-out 1 forwards;
}

/* Nav Animations */

@keyframes translateNav {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes hideNav {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

/* Nav Content */

._nav-contain {
  position: relative;
  width: 70%;
  padding: 4vh 0px;
  z-index: 1;
  overflow: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

._nav-contain::-webkit-scrollbar {
  display: none;
}

/* Nav Close Button */

._nav-close {
  padding-bottom: 2vh;
  display: flex;
  justify-content: flex-end;
}

._nav-close button {
  width: auto;
  height: auto;
  border: none;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  color: #333;
  background: transparent;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  opacity: 0;
}

._nav._active ._nav-close button {
  animation: buttonContent 0.5s 0.5s ease-in-out 1 forwards;
}

@keyframes buttonContent {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

._nav._inactive ._nav-close button {
  opacity: 1;
  animation: buttonHideContent 0.5s 0.2s ease-in-out 1 forwards;
}

@keyframes buttonHideContent {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

._nav-close button:hover {
  color: #f35163;
}

/* Nav Options */

._nav-content {
  display: flex;
  flex-direction: column;
  gap: 2vh;
}

._nav-option {
  position: relative;
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  font-weight: 200;
  line-height: 0.7em;
  letter-spacing: 0.03vw;
  color: #333;
  transition: all 0.4s ease-in-out;
  opacity: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

._nav-option ._nav-option-header,
._nav-option a {
  min-width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

._nav-option a:hover {
  color: #f35163;
}

._nav-option.active .fa-caret-down {
  transform: rotate(180deg);
  transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.navDropDown {
  width: 95%;
  display: none;
  flex-direction: column;
}

.navDropDown a {
  width: 100%;
  padding: 15px;
  font-size: clamp(1.2rem, 3vw, 3rem);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
}

.navDropDown a:hover {
  color: #f35163;
}

.mobileProject {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

._nav._active ._nav-option {
  animation: optionContent 0.2s ease-in-out 1 forwards;
}

._nav._active ._nav-option:nth-child(2) {
  animation-delay: 0.2s;
}

._nav._active ._nav-option:nth-child(3) {
  animation-delay: 0.3s;
}

._nav._active ._nav-option:nth-child(4) {
  animation-delay: 0.4s;
}

._nav._active ._nav-option:nth-child(5) {
  animation-delay: 0.5s;
}

._nav._active ._nav-option:nth-child(6) {
  animation-delay: 0.6s;
}

._nav._active ._nav-option:nth-child(7) {
  animation-delay: 0.7s;
}

@keyframes optionContent {
  from {
    transform: translateY(-30px);
    filter: blur(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}

._nav._inactive ._nav-option {
  opacity: 1;
  animation: optionHide 0.5s 1.2s ease-in-out 1 forwards;
}

._nav._inactive ._nav-option:nth-child(2) {
  animation-delay: 1s;
}

._nav._inactive ._nav-option:nth-child(3) {
  animation-delay: 0.8s;
}

._nav._inactive ._nav-option:nth-child(4) {
  animation-delay: 0.6s;
}

._nav._inactive ._nav-option:nth-child(5) {
  animation-delay: 0.4s;
}

._nav._inactive ._nav-option:nth-child(6) {
  animation-delay: 0.2s;
}

._nav._inactive ._nav-option:nth-child(7) {
  animation-delay: 0s;
}

@keyframes optionHide {
  from {
    transform: translateY(0);
    filter: blur(0px);
    opacity: 1;
  }
  to {
    transform: translateY(-30px);
    filter: blur(10px);
    opacity: 0;
  }
}

/* extras */

/* ._nav-pane {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 1;
}

._nav-box {
  flex: 1;
  box-shadow: 0 0 0 1px #ebebeb;
  background: #fff;
  opacity: 0;
}

._nav._inactive ._nav-box {
  opacity: 1;
  animation: hideContent 0.5s 1.8s ease-in-out 1 forwards;
}

._nav._inactive ._nav-box:nth-child(2) {
  animation-delay: 1.6s;
}

._nav._inactive ._nav-box:nth-child(3) {
  animation-delay: 1.4s;
}

._nav._inactive ._nav-box:nth-child(4) {
  animation-delay: 1.2s;
}

._nav._inactive ._nav-box:nth-child(5) {
  animation-delay: 1s;
}

._nav._inactive ._nav-box:nth-child(6) {
  animation-delay: 0.8s;
}

._nav._inactive ._nav-box:nth-child(7) {
  animation-delay: 0.6s;
}

._nav._inactive ._nav-box:nth-child(8) {
  animation-delay: 0.4s;
}

@keyframes hideContent {
  from {
    transform: translateX(0%);
    opacity: 1;
  }
  to {
    transform: translateX(-30%);
    opacity: 0;
  }
}

._nav._active ._nav-box {
  animation: showContent 0.5s 0.2s ease-in-out 1 forwards;
}

._nav._active ._nav-box:nth-child(2) {
  animation-delay: 0.4s;
}

._nav._active ._nav-box:nth-child(3) {
  animation-delay: 0.6s;
}

._nav._active ._nav-box:nth-child(4) {
  animation-delay: 0.8s;
}

._nav._active ._nav-box:nth-child(5) {
  animation-delay: 1s;
}

._nav._active ._nav-box:nth-child(6) {
  animation-delay: 1.2s;
}

._nav._active ._nav-box:nth-child(7) {
  animation-delay: 1.4s;
}

._nav._active ._nav-box:nth-child(8) {
  animation-delay: 1.6s;
}

@keyframes showContent {
  from {
    transform: translateX(-30%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
} */
