nav {
  width: 100vw;
  display: flex;
  position: fixed;
  z-index: 100;
  justify-content: space-between;
  top: 0;
  left: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  box-shadow: 20px 20px 50px rgb(0, 0, 0, 0.4);
}

.logo {
  padding: 3vh 3vw;
}

.logo a {
  text-decoration: none;
}

.logo-title {
  font-family: "Barrio", cursive;
  color: white;
  font-size: 30px;
}

.logo-title:hover {
  background-color: var(--color);
  color: var(--background);
}

.nav-links {
  display: flex;
  padding: 0 0.7vw;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
}

.nav-links li a {
  margin: 0 0.7vw;
  text-decoration: none;
  transition: all ease-in-out 350ms;
  padding: 10px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-family: "Oswald", sans-serif;
  position: relative;
}

.nav-links li {
  position: relative;
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}

.nav-links li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: var(--color);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

.nav-links li a:hover::after {
  width: 100%;
}

.hamburger div {
  width: 30px;
  height: 3px;
  background: whitesmoke;
  margin: 5px;
  transition: all 0.3s ease;
}

.hamburger {
  display: none;
}

@media screen and (max-width: 1050px) {
  .hamburger {
    display: block;
    position: absolute;
    cursor: pointer;
    right: 5%;
    top: 50%;
    transform: translate(-5%, -50%);
    z-index: 10000;
    transition: all 0.7s ease;
  }

  .nav-links {
    background: var(--background);
    position: fixed;
    opacity: 1;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    clip-path: circle(50px at 90% -20%);
    -webkit-clip-path: circle(50px at 90% -10%);
    transition: all 1s ease-out;
    pointer-events: none;
  }

  .nav-links.open {
    clip-path: circle(1000px at 90% -10%);
    -webkit-clip-path: circle(1000px at 90% -10%);
    pointer-events: all;
  }

  .nav-links li {
    opacity: 0;
  }

  .nav-links li:nth-child(1) {
    transition: all 0.5s ease 0.16s;
  }

  .nav-links li:nth-child(2) {
    transition: all 0.5s ease 0.33s;
  }

  .nav-links li:nth-child(3) {
    transition: all 0.5s ease 0.48s;
  }

  .nav-links li:nth-child(4) {
    transition: all 0.5s ease 0.66s;
  }

  .nav-links li:nth-child(5) {
    transition: all 0.5s ease 0.8s;
  }

  .nav-links li:nth-child(6) {
    transition: all 0.5s ease 1s;
  }

  li.fade {
    opacity: 1;
  }

  .toggle .bars1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .toggle .bars2 {
    transition: all 0s ease;
    width: 0;
  }

  .toggle .bars3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}
