/* Navigation Styles */
.nav {
  position: absolute;
  top: 0;
  transition: all 0.3s ease-in-out; /* Use of standard transition */
}

.nav-shrink {
  position: fixed;
  transition: all 0.3s ease-in-out; /* Use of standard transition */
}

.nav-shrink .nav-wrap {
  margin: 14.29px auto;
}

/* Media Queries */
@media all and (max-width: 40em) {
  .nav-list {
    font-size: 1rem;
  }
}

/* Animation Styles */
.nav-list:nth-child(1) {
  animation: ohMy 0.5s ease-in-out;
}

.nav-list:nth-child(2) {
  animation: ohMy 0.6s ease-in-out;
}

.nav-list:nth-child(3) {
  animation: ohMy 0.7s ease-in-out;
}

.nav-list:nth-child(4) {
  animation: ohMy 0.8s ease-in-out;
}

/* Keyframes for Animation */
@keyframes ohMy {
  0% {
    opacity: 0;
    transform: translate3d(0, -100px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Vendor Prefixes for Keyframes */
@-webkit-keyframes ohMy {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100px, 0);
    transform: translate3d(0, -100px, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
