/* burger menu */
.nav-bar {
  position: fixed;
  background: rgba(242, 242, 242, 0.9);
  top: 0;
  right: -120%;
  height: 100vh;
  width: 100vw;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: position 2.9s;
  -webkit-transition: position 2.9s;
  -moz-transition: position 2.9s;
  -ms-transition: position 2.9s;
  -o-transition: position 2.9s;
  transition: all 1s ease;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.toggle {
  right: 0;
  /* box-shadow: 1px 0 15px 2px rgba(0, 0, 0, 0.4); */
}

.toggle-menu {
  /* position: fixed;
    top: 45px; */
  position: absolute;
  top: 37px;
  right: 44px;
  width: 24px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 3px;
  /* padding: 2px 2px 2px 2px; */
  border-radius: 5px;
  cursor: pointer;
  z-index: 8;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.line {
  width: 100%;
  height: 1px;
  border-radius: 5px;
  background-color: #000;
  transition: transform 0.2s ease-out;
  -webkit-transition: transform 0.2s ease-out;
  -moz-transition: transform 0.2s ease-out;
  -ms-transition: transform 0.2s ease-out;
  -o-transition: transform 0.2s ease-out;
  z-index: 9;
}

.toggle .line1 {
  transform: scale(0.9) rotateZ(-45deg) translate(-6px, 2px);
}

.toggle .line2 {
  display: none;
}

.toggle .line3 {
  transform: scale(0.9) rotateZ(45deg) translate(-5px, -1px);
}

/* .toggle .toggle-menu {} */

.nav-list {
  margin: 0;
  padding: 0;
  width: 100vw;
  position: relative;
  /* top: 7%; */
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.nav-list li {
  height: 90vh;
  text-align: center;
  color: #000;
  flex-grow: 1;
  position: relative;
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(to top, #b3b3b3 57.24%, rgba(179, 179, 179, 0)) 1 93.44%;
  border-left: none;
}

.nav-list li a {
  position: absolute;
  bottom: 48%;
  right: 0;
  left: 0;
  text-decoration: none;
  text-transform: lowercase;
  font-weight: 200;
  font-size: 30px;
  line-height: 40px;
  letter-spacing: 3px;
  color: #000;
}

.nav-list li > a::after {
  content: "";
  display: block;
  margin: auto;
  height: 1px;
  width: 0;
  /* top: 5px; */
  margin-top: 10px;
  background: transparent;
  transition: all 0.3s;
}

.nav-list li > a:hover::after,
.nav-list li > a.active-nav::after {
  width: 50px;
  background: #000;
}

.nav-list-item {
  text-align: center;
  padding: 10px 0;
}

.nav-link {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.4s ease-in-out;
  transform-origin: left;
  -webkit-transition: transform 0.4s ease-in-out;
  -moz-transition: transform 0.4s ease-in-out;
  -ms-transition: transform 0.4s ease-in-out;
  -o-transition: transform 0.4s ease-in-out;
}

.nav-link:hover::before {
  transform: scaleX(1);
}

@media (max-width: 767px) {
  .toggle-menu {
    top: 30px;
    right: 20px;
  }

  .nav-list {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 84px;
  }

  .nav-list li {
    border: none;
    height: 20px;
    flex-grow: 0;
    text-align: center;
    width: 100vw;
  }

  .nav-list li a {
    bottom: 0;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 3px;
  }
}
