.navbar {
  position: fixed;
  top: 0;
  display: flex;
  z-index: 1000 !important;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  box-shadow: 0px 0px 50px 1px rgba(0, 0, 0, 0.45);
  min-width: 100%;
  background: var(--accent);
}

.nav-links a {
  color: var(--text-light);
}

.nav-links a:hover {
  color: var(--text-alt);
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 30%;
  font-weight: bolder;
  list-style: none;
}

@media screen and (max-width: 1150px) {
  .nav-links {
    width: 40%;
  }
}

@media screen and (max-width: 850px) {
  .nav-links {
    width: 50%;
  }
}

.burger {
  display: none;
  align-items: center;
  cursor: pointer;
}

.nav-title {
  display: none;
}

.burger div {
  width: 17px;
  height: 3px;
  margin: 2px;
  border-radius: 1px;
  background-color: var(--background-light);
  transition: all 0.3s ease;
}

@media screen and (max-width: 700px) {
  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: var(--accent-alt);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }
  .nav-links li {
    opacity: 0;
  }
  .burger {
    display: block;
  }
  .nav-title {
    display: block;
    color: var(--text-light);
    padding-right: 3px;
    padding-left: 3px;
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(45deg) translateY(7px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(-45deg) translateY(-7px);
}
