

nav {
  background-color: var(--sec-color);
  height: 10vh;
  min-height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  width: 40%;
  margin-left: auto;
}

.nav-links a {
  font-size: 1em;
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width:768px) {

  .nav {
      position: relative;
  }

  .nav-links {
      flex-direction: column; 
      position: fixed;
      background-color: var(--sec-color);
      width: 100%;;
      height: 100vh;
      transition: all 0.8s ease-out;
      clip-path: circle(0px at 90% 10px);
      -moz-clip-path: circle(0px at 90% 10px);
      -webkit-clip-path: circle(0px at 90% 10px);
  }

  .nav-links.open {
      clip-path: circle(1000px at 90% 10px);
      -moz-clip-path: circle(1000px at 90% 10px);
      -webkit-clip-path: circle(1000px at 90% 10px);
  }

  .hamburger {
      width: 30px;
      position: absolute;
      left: 87%;
      top: 15px;
      cursor: pointer;


  }

  .hamburger .line {
      height: 3px;
      background-color: #fff;
      margin: 5px 0;
      transition: all .5s ease-out;
  }

  .hamburger.close .line {
      height: 3px;
      background-color: #fff;
      margin: 5px 0;
  }

  .hamburger.close .line:nth-child(1) {

      transform: rotate(45deg);
      transform-origin: top left;
      top: 3px;
      position: relative;

  }

  .hamburger.close .line:nth-child(2) {
      visibility: hidden;
  }

  .hamburger.close .line:nth-child(3) {

      transform: rotate(-45deg) translate(-5px, 1px);
      transform-origin: top left;
      top: 3px;
      position: relative;

  }


}