nav {
  position: fixed;
  display: flex;
  background-color: black;
  justify-content: space-around;
  min-height: 70px;
  width: 100vw;
  color: white;
  font-family: Lexend;
  align-items: center;
  z-index: 10;
}

.nav-ul {
  margin-right: 10%;
  display: flex;
  width: 30%;
  justify-content: space-between;
}

.nav-ul-li a {
  gap: 0px;
  padding: 5px 10px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}

.nav-ul-li a:hover {
  padding: 5px 10px;
  background-color: #3c2f4a;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

nav .logo {
  display: flex;
  align-items: center;
}

nav .logo h4 {
  font-size: 25px;
}

nav .logo .palorantLogo {
  width: 25px;
  height: 25px;
  padding: 0px;
  margin: 0px;
}

nav .logo .devLogo {
  height: 35px;
}

nav .logo p {
  padding: 0 5px;
  color: #9142ea;
}

nav .download {
  color: black;
  padding: 10px;
  background-image: linear-gradient(#9142ea, #b879ff);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  cursor: pointer;
}

nav .download:hover {
  color: white;
  padding: 10px;
  background-image: linear-gradient(#b879ff, #b879ff);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

/* Hamburger */
nav .hamburger {
  display: none;
  cursor: pointer;
}

nav .bar {
  display: block;
  width: 22px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  background-color: white;
}

/* Responsive */
@media screen and (max-width: 768px) {
  nav {
    gap: 25%;
  }

  nav .download {
    display: none;
  }

  nav .hamburger {
    display: block;
  }

  nav .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  nav .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    -webkit-transform: translateY(8px) rotate(45deg);
    -moz-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    -o-transform: translateY(8px) rotate(45deg);
  }
  nav .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -moz-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    -o-transform: translateY(-8px) rotate(-45deg);
  }

  .nav-ul {
    position: fixed;
    right: 200%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: black;
    width: 30%;
    text-align: center;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    z-index: 5;
    padding-bottom: 10px;
    border-radius: 0 0 0 20px;
    -webkit-border-radius: 0 0 0 20px;
    -moz-border-radius: 0 0 0 20px;
    -ms-border-radius: 0 0 0 20px;
    -o-border-radius: 0 0 0 20px;
  }

  .nav-ul-li {
    margin: 10px 0;
  }

  .nav-ul.active {
    left: 70%;
  }

  nav .logo h4 {
    font-size: 20px;
  }

  nav .logo .palorantLogo {
    width: 20px;
    height: 20px;
  }

  nav .logo .devLogo {
    height: 30px;
  }

  nav .logo p {
    padding: 0 5px;
    color: #9142ea;
  }
}
