.hover-link {
    position: relative;
    text-transform: uppercase;

    cursor: pointer;
    display: inline-block;
    padding-bottom: 0.5rem;
  }
  
  .hover-link span {
    display: block;
    position: relative;
    overflow: hidden;
  }
  
  .hover-link span span {
    display: inline-block;
    transition: 0.3s ease all;
  }
  
  .hover-link span span:nth-of-type(1) {
    transform: translateY(0%);
  }
  
  .hover-link span span:nth-of-type(2) {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(150%);
    transition: 0.3s ease all;
  }
  
  .hover-link:hover span span:nth-of-type(1) {
    transform: translateY(-150%);
  }
  
  .hover-link:hover span span:nth-of-type(2) {
    transform: translateY(0%);
  }
  
  .hover-h2 {
    position: relative;
    overflow: hidden;
  }
  
  .hover-h2 span {
    display: block;
    position: relative;
    overflow: hidden;
  }
  
  .hover-h2 span span {
    display: inline-block;
    transition: 0.4s ease all;
  }
  
  .hover-h2 span span:nth-of-type(1) {
    transform: translateY(0%);
  }
  
  .hover-h2 span span:nth-of-type(2) {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(200%);
    transition: 0.4s ease all;
  }
  
  .hover-h2:hover span span:nth-of-type(1) {
    transform: translateY(-200%);
  }
  
  .hover-h2:hover span span:nth-of-type(2) {
    transform: translateY(0%);
  }

  .slide-in {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #0f0f0f;
    transform-origin: bottom;
  }
  
  .slide-out {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #0f0f0f;
    transform-origin: top;
  }
  
