@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

.header {
  background-color: rgb(178, 156, 200);
  width: 100%;
  top: 0;
  position: fixed;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.8rem;
  padding: 0.8em;
  min-height: 60px;
}

.logo {
  font-size: clamp(1.75rem, 4vw + 1rem, 3rem);
  font-weight: 100;
  color: rgb(255, 255, 255);
  letter-spacing: 0.2rem;
}

.logo span {
  font-size: clamp(1.75rem, 4vw + 1rem, 3rem);
}

.nav {
  transition: all 0.3s ease-in-out;
}

.nav__menu {
  display: flex;
  column-gap: 1.6rem;
  padding-right: .7em;
}

.logo span {
  font-weight: 900;
  text-transform: uppercase;
}

/* .nav__list{
      
      } */

.nav__link {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1vw + 0.75rem, 1.25rem);
}

.nav__link:hover,
.nav__link:focus {
  width: 100%;
  color: rgb(122, 116, 116);
  transition: all 250ms ease-in-out;
}

.mobile-icon {
  cursor: pointer;
}

.bar {
  height: 2px;
  width: 27px;
  background-color: rgb(158, 193, 255);
  margin: 0.4rem 0;
  opacity: 9;
  transition: all 0.3s ease-in-out;
}

.nav--open {
  transform: translate(0) !important;
}

.mobile--open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile--open .bar:nth-child(2) {
  opacity: 0;
}

.mobile--open .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-48deg);
}

@media screen and (min-width: 649px) {
  .bar {
    display: none;
  }
}
@media screen and (max-width: 650px) {
  .nav {
    position: fixed;
    top: 3.75rem;
    left: 0;
    background-color: rgb(68, 41, 73);
    width: 100%;
    padding: 10px 0 25px;
    transform: translateX(-100%);
    
  }
  .nav__menu {
    flex-direction: column;
    align-items: center;
    row-gap: 1.2rem;
  }

  .bar {
    background: #fff;
  }
}
