.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 65px;
  padding: 120px 60px;
  z-index: 1;
}

.navmenu {
  display: flex;
  position: fixed;
  top: 0;
  width: 100%;
  right: 0px;
  height: 75px;
  gap: 50px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-weight: bold;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  transition: background-color 0.3s, color 0.3s;
  background-color: white;
}

#nav-title {
  font-size: 25px;
  margin-right: 250px;
  font-weight: bold;
  color: rgb(37, 37, 37);
}

#nav-title:hover {
  color: rgb(129, 129, 129);
  transition: all 0.2s ease-in-out;
  transform: scale(1.1);
}

.nav-link {
  color: rgb(58, 58, 58);
  transition: all 0.2s;
  position: relative;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
  color: rgb(129, 129, 129);
  transition: all 0.2s ease-in-out;
  transform: scale(1.1);
}

.nav-link::after {
  content: "";
  height: 2px;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  bottom: -7px;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
}

.hamburguer {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  margin: 5px auto;
  background: rgb(24, 24, 24);
  transition: all 0.3s ease-in-out;
}

@media (max-width: 1400px) {
  .navbar {
    right: 0px;
  }
  
  .hamburguer {
    display: block;
    position: fixed;
    margin-left: 5px;
    background: white;
    padding: 8px;
    border-radius: 10px;
  }

  .hamburguer.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburguer.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburguer.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navmenu {
    position: fixed;
    display: flex;
    justify-content: center;
    left: -100%;
    right: 0;
    top: 0px;
    color: rgb(58, 58, 58);
    border-radius: 0 0 20px 20px;
    background-color: white;
    flex-direction: column;
    width: 100%;
    transition: 0.3s;
    align-items: flex-start;
    padding-left: 60px;
    gap: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
  }

  .nav-item {
    right: 0;
    left: auto;
  }

  .navmenu.active {
    left: 0;
  }

  .center {
    top: 0%;
  } 
}