.typed {
  overflow: hidden;
  border-right: .15em solid grey;
  white-space: nowrap;
  padding-right: 0px;
  width: 0;
  display: inline-block;
  animation: 
    typing 1.8s steps(40, end) forwards,
    blink-caret .75s step-end infinite;
}


.undo-typed {
  overflow: hidden;
  border-right: .15em solid grey;
  white-space: nowrap;
  width: 0px;
  animation: 
    untype 1.8s steps(40, end) backwards,
    blink-caret .75s step-end infinite;
}

.typed-container {
  display: inline-block;
}

@keyframes untype {
  from {
    width: 100%;
    padding-right: 5px;
  } to {
    width: 0%;
    padding-right: 0px;
    display: none;
  }
}

@keyframes typing {
  from { width: 0;
    }
  to { width: 100%;
  padding-right:5px; }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: grey; }
}

.show-none {
  display: none;
}

.show {
  display: inline-block;
}

/*.show-grid {
  display: grid;
}*/

.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: 1s;
}

.hidden.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

nav ul li.active {
  background-color: white;
  color: #252020;
}

/*.visible {
  opacity: 1;
}*/