@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

ul.nav-list {
  padding-top: 200px;
}

.hideScroll {
  overflow: hidden;
}

.nav-bar {
  position: absolute;
  background-color: #122;
  top: 0;
  overflow: hidden;
  right: 0rem;
  /* display: none; */
  z-index: 9;
  height: 100%;
  width: 0rem;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease-out;
}
.toggle {
  display: unset;
  right: 0;
  width: 23rem;
  box-shadow: 1px 0 15px 2px rgba(0, 0, 0, 0.4);
}
/* .toggle-menu {
  background-color: rgba(0, 0, 0, 0.2);
  top: 2rem;
  right: 2rem;
  color: white;
  width: 4rem;
  height: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
} */
.line {
  width: 100%;
  height: 4px;
  border-radius: 5px;
  background-color: #fff;
  transition: 0.2s ease-out;
}

.toggle .toggle-menu {
  background-color: white;
}
.nav-list {
  list-style: none;
}
.nav-list-item {
  text-align: center;
  padding: 1rem 0;
}
/* .nav-link {
  color: #fff;
  font-size: 2.2rem;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.4rem;
}
.nav-link::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transform: scaleX(0);
  transition: 0.4s ease-in-out;
  transform-origin: left;
}
.nav-link:hover::before {
  transform: scaleX(1);
} */
@media (max-width: 450px) {
  .toggle {
    width: 15rem;
  }
  /* .nav-link {
    font-size: 1.6rem;
  } */
  .nav-list-item {
    padding: 0.3rem 0;
  }
  .nav-list {
    width: 15rem;
  }
}
