

.nav{
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid black;
}

.nav-link{
  margin-top: 1.5vw;
  margin-bottom: 1.5vw;
  text-decoration: none;
  color: #000000;
  font-size: 200%;
  font-family: gotham-htf;
}

/* .nav-link:hover{
  color: var(--accent);
} */

.hover-underline-animation-nav {
  display: inline-block;
  position: relative;
  padding-bottom: 3px;
}

.hover-underline-animation-nav::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: black;
  transform-origin: bottom left;
  transition: transform 0.2s ease-out;
}

.hover-underline-animation-nav:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

#menu-toggle{
  display: none;
}

.menu-toggle{
  display: none;
}

@media all and (max-width: 1200px) {
  .nav{
    flex-direction: column;
  }

  .nav-link{
    font-size: 250%;
    display: none;
  }

  .menu-toggle{
    width: 70px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 1vh;
    margin-bottom: 1vh;
  }

  .bar{
    height: 5px;
    width: 100%;
    background-color: black;
    border-radius: 100px;
  }

  .top-bar{
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .middle-bar{
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
  }

  .bottom-bar{
    transform-origin: 0% 50%;
    transition: transform 0.4s ease-in-out;
  }


  #menu-toggle:checked ~ .nav-link{
    display: block;
  }

  #menu-toggle:checked ~ .menu-toggle > .top-bar{
    transform: rotate(45deg) scaleX(1.1);
  }

  #menu-toggle:checked ~ .menu-toggle > .middle-bar{
    opacity: 0;
  }

  #menu-toggle:checked ~ .menu-toggle > .bottom-bar{
    transform: rotate(-45deg) scaleX(1.1);
  }

}
